46#define OS_STRING(x) #x
47#define X_STRING(x) OS_STRING(x)
61typedef long unsigned int UINT64;
62typedef long signed int INT64;
65typedef __uint128_t UINT128;
67#ifndef LOSCFG_LIB_LIBC
76#ifndef LOSCFG_LIB_LIBC
102#define NULL ((VOID *)0)
115#define OS_NULL_BYTE ((UINT8)0xFF)
116#define OS_NULL_SHORT ((UINT16)0xFFFF)
117#define OS_NULL_INT ((UINT32)0xFFFFFFFF)
119#define OS_HEX_ADDR_WIDTH (sizeof(UINTPTR) * 2)
138#define OS_ERROR (UINT32)(-1)
139#define OS_INVALID (UINT32)(-1)
145#define typeof __typeof__
147#ifndef LOS_LABEL_DEFN
148#define LOS_LABEL_DEFN(label) label
151#ifndef LOSARC_ALIGNMENT
152#define LOSARC_ALIGNMENT 8
155#ifndef LOSARC_P2ALIGNMENT
157#define LOSARC_P2ALIGNMENT 3
159#define LOSARC_P2ALIGNMENT 2
164#if !defined(LOSBLD_ATTRIB_ALIGN)
165#define LOSBLD_ATTRIB_ALIGN(__align__) __attribute__((aligned(__align__)))
169#if !defined(LOSBLD_ATTRIB_SECTION)
170#define LOSBLD_ATTRIB_SECTION(__sect__) __attribute__((section(__sect__)))
178#define LOSBLD_ATTRIB_USED __attribute__((used))
unsigned short UINT16
Definition los_typedef.h:51
signed int INT32
Definition los_typedef.h:55
UINT32 size_t
Definition los_typedef.h:78
signed short INT16
Definition los_typedef.h:54
unsigned long long UINT64
Definition los_typedef.h:72
volatile INT64 Atomic64
Definition los_typedef.h:86
signed char INT8
Definition los_typedef.h:53
float FLOAT
Definition los_typedef.h:56
UINTPTR AARCHPTR
Definition los_typedef.h:82
volatile INT32 Atomic
Definition los_typedef.h:85
unsigned char UINT8
Definition los_typedef.h:50
unsigned int UINTPTR
Definition los_typedef.h:74
unsigned int UINT32
Definition los_typedef.h:52
double DOUBLE
Definition los_typedef.h:57
char CHAR
Definition los_typedef.h:58
size_t BOOL
Definition los_typedef.h:83
INT32 ssize_t
Definition los_typedef.h:77
signed long long INT64
Definition los_typedef.h:73
signed int INTPTR
Definition los_typedef.h:75