Added physical memory file lol

This commit is contained in:
Jake Holtham 2025-07-09 17:44:59 -04:00
parent 472f91fe14
commit 0c6e42f713
2 changed files with 10 additions and 1 deletions

5
include/physmem.h Normal file
View file

@ -0,0 +1,5 @@
#ifndef PHYSMEM_H
#define PHYSMEM_H
#endif

View file

@ -62,6 +62,10 @@ void kern_main(uint32_t multiboot_magic, mb_info_t* multiboot_info)
entry = (mb_mmap_entry_t*)((int)entry + entry->entry_size + sizeof(entry->entry_size))) {
printf(default_output,"__MMAP_ENTRY__:\nSTART_ADDR:%X\nSIZE:%X\nTYPE:%u\n",(uint32_t)entry->addr, (uint32_t)entry->mem_size, entry->type);
if(entry->type != 1)
continue;
}