...
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
#include "mmap.h"
|
||||
#include "../../api.h"
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define USABLE_REGION_SIZE 32
|
||||
|
||||
@@ -13,8 +10,7 @@ void map_memory(multiboot_info_t* info)
|
||||
{
|
||||
if (!(info->flags & (1 << 6)))
|
||||
{
|
||||
printf("Invalid memory map given by bootloader\n");
|
||||
panic();
|
||||
arch_panic("Invalid memory map given by bootloader\n");
|
||||
}
|
||||
|
||||
size_t num_regions = 0;
|
||||
|
||||
Reference in New Issue
Block a user