diff --git a/include/physmem.h b/include/physmem.h new file mode 100644 index 0000000..0af995f --- /dev/null +++ b/include/physmem.h @@ -0,0 +1,5 @@ +#ifndef PHYSMEM_H +#define PHYSMEM_H + + +#endif diff --git a/src/main.c b/src/main.c index 9035a4f..2d1b93f 100644 --- a/src/main.c +++ b/src/main.c @@ -62,7 +62,11 @@ 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; + + + } }