Map kernel high

Very important to give qemu memory through PHYSTOP :(
This commit is contained in:
Frans Kaashoek 2011-07-29 07:31:27 -04:00
parent dccb915282
commit 9aa0337dc1
20 changed files with 208 additions and 71 deletions

2
defs.h
View file

@ -62,6 +62,7 @@ extern uchar ioapicid;
void ioapicinit(void);
// kalloc.c
char* pgalloc(void);
char* kalloc(void);
void kfree(char*);
void kinit(void);
@ -160,6 +161,7 @@ void uartintr(void);
void uartputc(int);
// vm.c
void pginit(char* (*alloc)());
void seginit(void);
void kvmalloc(void);
void vmenable(void);