Started writing C headers

This commit is contained in:
2021-04-10 17:37:05 -05:00
parent 8faf353425
commit 505213b7dc
5 changed files with 90 additions and 0 deletions

9
include/types/physaddr.h Normal file
View 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