mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-13 16:29:21 +00:00
Update kernel
This commit is contained in:
@ -112,14 +112,14 @@ __constructor void TestMacros()
|
||||
result = ROUND_UP(x, y);
|
||||
if (result != 0x200)
|
||||
{
|
||||
error("ERROR: ROUND_UP failed: %d != 0x200\n", result);
|
||||
error("ERROR: ROUND_UP failed: %d != 0x200", result);
|
||||
inf_loop;
|
||||
}
|
||||
|
||||
result = ROUND_DOWN(x, y);
|
||||
if (result != 0x100)
|
||||
{
|
||||
error("ERROR: ROUND_DOWN failed: %d != 0x100\n", result);
|
||||
error("ERROR: ROUND_DOWN failed: %d != 0x100", result);
|
||||
inf_loop;
|
||||
}
|
||||
}
|
||||
|
@ -178,7 +178,7 @@ void TestMemoryAllocation()
|
||||
uintptr_t prq2 = (uintptr_t)kmalloc(0x1000);
|
||||
kfree((void *)prq2);
|
||||
|
||||
debug(" Result:\t1-[%#lx]; 2-[%#lx]\n", (void *)prq1, (void *)prq2);
|
||||
debug(" Result:\t1-[%#lx]; 2-[%#lx]", (void *)prq1, (void *)prq2);
|
||||
assert(prq1 == prq2);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user