Files
kernel_common_drivers/include/linux/amlogic/freertos.h
T
qinglin.li b287e54ab6 freertos: C3 fix rtos lose frame [1/2]
PD#SWPL-175077

Problem:
C3 doorbell lose frame

Solution:
Optimize ISP and encoder processes

Verify:
c3

Change-Id: Ief888fb4d5e9a7e93af94487dc92eeadbe22c7e1
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-06-26 23:06:06 -07:00

26 lines
689 B
C

/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Copyright (c) 2021 Amlogic, Inc. All rights reserved.
*/
#ifndef _FREERTOS_H_
#define _FREERTOS_H_
#include <linux/amlogic/rtosinfo.h>
unsigned long freertos_is_run(void);
int freertos_finish(void);
int freertos_is_finished(void);
int freertos_is_irq_rsved(unsigned int irq);
u32 freertos_get_irqregval(u32 val, u32 oldval,
unsigned int irqbase,
unsigned int n);
struct xrtosinfo_t *freertos_get_info(void);
#if IS_ENABLED(CONFIG_AMLOGIC_FREERTOS_NOFITIER)
int call_freertos_notifiers(unsigned long val, void *v);
#endif
#if IS_ENABLED(CONFIG_AMLOGIC_FREERTOS_IPI_SEND)
void arch_send_ipi_rtos(int cpu);
#endif
#endif