[Add] laos base boot

This commit is contained in:
bLueriVerLHR
2023-05-21 00:48:04 +08:00
parent 5d31bf294c
commit 029a8823f4
34 changed files with 927 additions and 18 deletions

22
laos/include/latype.h Normal file
View File

@@ -0,0 +1,22 @@
#ifndef LATYPE_H__
#define LATYPE_H__
typedef char i8;
typedef unsigned char u8;
typedef unsigned char uchar;
typedef short i16;
typedef unsigned short u16;
typedef unsigned short ushort;
typedef int i32;
typedef unsigned int u32;
typedef unsigned int uint;
typedef unsigned int size_t;
typedef unsigned int intptr_t;
typedef u32 pte_t;
typedef u32 *pagetable_t;
#endif