28 lines
479 B
C
28 lines
479 B
C
#pragma once
|
|
|
|
typedef char c8;
|
|
|
|
typedef unsigned char u8;
|
|
typedef unsigned short u16;
|
|
typedef unsigned int u32;
|
|
typedef unsigned long u64;
|
|
|
|
typedef signed char i8;
|
|
typedef signed short i16;
|
|
typedef signed int i32;
|
|
typedef signed long i64;
|
|
|
|
typedef unsigned long int usize;
|
|
typedef signed long isize;
|
|
|
|
#define asm __asm__
|
|
|
|
#define null ((void*)0)
|
|
#define bool _Bool
|
|
#define false 0
|
|
#define true 1
|
|
|
|
#define COUNT(array) (sizeof(array) / sizeof(array[0]))
|
|
|
|
#define PAGE_SIZE 4096UL
|