Make CHECK_PAGE_ALIGNED use expect() instead of check()

This commit is contained in:
apio 2022-12-05 13:26:50 +01:00
parent 55a30ac487
commit ea7893ba71
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -22,7 +22,7 @@ static u64 start_index = 0;
static Bitmap g_frame_bitmap; 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() static usize get_physical_address_space_size()
{ {