mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
a4da10d080
PD#SWPL-94126 Problem: bring up freertos with t7c Solution: bring up freertos with t7c Verify: t7c Signed-off-by: qinglin.li <qinglin.li@amlogic.com> Change-Id: I49da1d2885baddf839f8229fe43dfd6f66055695
35 lines
529 B
C
35 lines
529 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2021 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _RTOSINFO_H_
|
|
#define _RTOSINFO_H_
|
|
|
|
#define VERSION_1_0 0x10
|
|
|
|
enum ertosstate {
|
|
ertosstat_off = 0,
|
|
ertosstat_initializing,
|
|
ertosstat_working,
|
|
ertosstat_done
|
|
};
|
|
|
|
struct xrtosinfo_t {
|
|
u32 version;
|
|
u32 status;
|
|
u32 cpumask;
|
|
u32 flags;
|
|
u32 logbuf_len;
|
|
u32 logbuf_phy;
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_FREERTOS_T7)
|
|
u32 rtos_run_flag;
|
|
u32 android_status;
|
|
u32 reserved0;
|
|
u32 reserved1;
|
|
#endif
|
|
};
|
|
|
|
#endif
|
|
|