Started writing C headers
This commit is contained in:
9
include/types/physaddr.h
Normal file
9
include/types/physaddr.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#if defined __i386__ || __arm__
|
||||
typedef uint32_t physaddr_t;
|
||||
#elif defined __x86_64__ || __aarch64__
|
||||
typedef uint64_t physaddr_t;
|
||||
#else
|
||||
typedef uint64_t physaddr_t;
|
||||
#endif
|
||||
8
include/types/status.h
Normal file
8
include/types/status.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
enum status_t
|
||||
{
|
||||
S_OK = 0,
|
||||
S_BAD_SYSCALL,
|
||||
S_OUT_OF_MEMORY
|
||||
};
|
||||
Reference in New Issue
Block a user