Make CHECK_PAGE_ALIGNED use expect() instead of check()
This commit is contained in:
parent
55a30ac487
commit
ea7893ba71
@ -22,7 +22,7 @@ static u64 start_index = 0;
|
||||
|
||||
static Bitmap g_frame_bitmap;
|
||||
|
||||
#define CHECK_PAGE_ALIGNED(address) expect(is_aligned(address, ARCH_PAGE_SIZE), "Address is not page-aligned");
|
||||
#define CHECK_PAGE_ALIGNED(address) expect(is_aligned(address, ARCH_PAGE_SIZE), "Address is not page-aligned")
|
||||
|
||||
static usize get_physical_address_space_size()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user