13typedef signed char s8;
14typedef signed short s16;
15typedef signed int s32;
17typedef signed long long int s64;
19typedef unsigned char u8;
20typedef unsigned short u16;
21typedef unsigned int u32;
23typedef unsigned long long u64;
33#define PTR_FMT "0x%16.16lx"
34#define PTR_VLFMT "0x%lx"
36#define PTR_RANGE "[" PTR_FMT " - " PTR_FMT "]"
37#define PTR_VLRANGE "[" PTR_VLFMT " - " PTR_VLFMT "]"
38#define PTR_RANGE64 "[0x%.16llx - 0x%.16llx]"
41typedef unsigned long long pfn_t;
43#define PFN_RANGE "[" PFN_FMT " - " PFN_FMT "]"
44#define PFNADDR_RANGE "[" PTR_FMT " - " PTR_FMT "] (PFN " PFN_FMT " - " PFN_FMT ")"
46#define PFNADDR(pfn, end) (((ptr_t) (pfn)) * MOS_PAGE_SIZE), ((((ptr_t) end) * MOS_PAGE_SIZE) - 1), (pfn), (end)
88#define new_named_opaque_type(base, name, type) \
94#define new_opaque_type(type, name) new_named_opaque_type(type, name, name##_t)
95#define new_opaque_ptr_type(name) new_named_opaque_type(ptr_t, ptr, name)
102#define __atomic(type) _Atomic(type)
106typedef std::atomic<size_t> atomic_t;
MOSAPI void(1, 2) fatal_abort(const char *fmt
#define MOS_STATIC_ASSERT
void(* thread_entry_t)(void *arg)
#define new_opaque_type(type, name)
unsigned long long ptr64_t