blob: a085d1795280f6e0648049e81974e2871750ce31 [file] [log] [blame]
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Copyright (c) 2019 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;
u32 status_buf_len;
u32 status_buf_phy;
};
struct CvRoCali {
u16 size;
u32 rg_ratio;
u32 bg_ratio;
u8 crc8;
} __packed;
#endif