mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +00:00
Fix all current build warnings in the kernel.
This commit is contained in:
parent
e71cb1c56b
commit
47b7eeda44
10 changed files with 28 additions and 19 deletions
|
@ -47,7 +47,7 @@ bool is_kmalloc_address(void* ptr)
|
|||
return true;
|
||||
if (ptr >= (byte*)PAGE_ALIGNED_BASE_PHYSICAL && ptr < s_next_page_aligned_ptr)
|
||||
return true;
|
||||
return ptr >= (void*)BASE_PHYS && ptr <= ((void*)BASE_PHYS + POOL_SIZE);
|
||||
return (dword)ptr >= BASE_PHYS && (dword)ptr <= (BASE_PHYS + POOL_SIZE);
|
||||
}
|
||||
|
||||
void kmalloc_init()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue