Untitled_Kernel/include/physmem.h
lordtet 4ffc4692ae Page frame setup done, plus makefile changes.
Makefile now has VGA=2 to set the QEMU monitor to STDOUT. Nice for
things like memory dumps.

Can now parse the memory and create a bitmap of workable regions.
Allocation soon(tm)
2025-07-11 18:29:03 -04:00

11 lines
209 B
C

#ifndef PHYSMEM_H
#define PHYSMEM_H
#include <stdint.h>
#include "kmultiboot.h"
#define PAGE_SIZE 0x1000
extern uint8_t* pmem_bitmap;
unsigned int build_bitmap(mb_mmap_entry_t* mmap, int mmap_size);
#endif