Make CHECK_PAGE_ALIGNED use expect() instead of check()
This commit is contained in:
parent
bfd4647467
commit
55a30ac487
@ -22,7 +22,7 @@ static u64 start_index = 0;
|
||||
|
||||
static Bitmap g_frame_bitmap;
|
||||
|
||||
#define CHECK_PAGE_ALIGNED(address) check(is_aligned(address, ARCH_PAGE_SIZE))
|
||||
#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