mem.h: remove incorrect HHDM_START macro
This commit is contained in:
parent
98c99b1780
commit
59509f4448
1 changed files with 2 additions and 2 deletions
|
|
@ -4,8 +4,6 @@
|
||||||
|
|
||||||
#include <kernel/common.h>
|
#include <kernel/common.h>
|
||||||
|
|
||||||
#define HHDM_START 0xffffffff80000000
|
|
||||||
|
|
||||||
#define PAGE_XD (1 << 64)
|
#define PAGE_XD (1 << 64)
|
||||||
#define PAGE_PRESENT (1 << 0)
|
#define PAGE_PRESENT (1 << 0)
|
||||||
#define PAGE_RW (1 << 1)
|
#define PAGE_RW (1 << 1)
|
||||||
|
|
@ -85,6 +83,8 @@ extern struct mem_region *regions;
|
||||||
extern size_t num_regions;
|
extern size_t num_regions;
|
||||||
extern size_t max_regions;
|
extern size_t max_regions;
|
||||||
|
|
||||||
|
extern struct page *pml4;
|
||||||
|
|
||||||
uint64_t cr3_read();
|
uint64_t cr3_read();
|
||||||
void cr3_write(uint64_t cr3);
|
void cr3_write(uint64_t cr3);
|
||||||
uint64_t rbp_read();
|
uint64_t rbp_read();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue