wip: vbe still not working but let us cook

This commit is contained in:
2024-12-06 14:25:03 +01:00
parent 2a281522cf
commit daf510687a
5 changed files with 15 additions and 11 deletions

View File

@ -46,9 +46,8 @@ static void add_frame_node(multiboot_memory_map_t *mmmt)
* this situation:
* --------###############
*/
if (KERNEL_START > start_addr && KERNEL_START <= end_addr) {
if (KERNEL_START > start_addr && KERNEL_START <= end_addr)
len = ROUND_FLOOR(KERNEL_START - start_addr, PAGE_SIZE);
}
/** Kernel code end on the block
* this situation:
* ###############--------