mem: adjust MMIO addresses

This commit is contained in:
Michael Shaw 2023-05-10 01:14:33 -04:00
commit b90946e1f8
5 changed files with 8 additions and 4 deletions

View file

@ -17,9 +17,9 @@
#define PACKED __attribute__((packed))
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#define KB 1024
#define MB (1024 * KB)
#define GB (1024 * MB)
#define KB (1024ull)
#define MB (KB * KB)
#define GB (KB * MB)
void yield();