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)
11 lines
209 B
C
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
|