QoL improvements

This commit is contained in:
Alex
2023-03-27 20:11:32 +03:00
parent 3eb6923374
commit 93afcd2210
59 changed files with 612 additions and 424 deletions

View File

@ -29,13 +29,13 @@ __constructor void TestMacros()
debug("-------------------------");
{
uintptr_t actual = PAGE_SIZE;
int expected = 1;
uint64_t actual = PAGE_SIZE;
uint64_t expected = 1;
for (int i = 0; i < 128; i++)
{
int a = TO_PAGES(actual);
uintptr_t b = FROM_PAGES(expected);
uint64_t a = TO_PAGES(actual);
uint64_t b = FROM_PAGES(expected);
/* TODO: This is a workaround for now. */
if (a != expected + 1)