Merge branch 'lab3' into lab4
This commit is contained in:
commit
46e7d21fbf
|
@ -213,11 +213,6 @@ mem_init(void)
|
||||||
boot_map_region(kern_pgdir,
|
boot_map_region(kern_pgdir,
|
||||||
KSTACKTOP-KSTKSIZE, KSTKSIZE,
|
KSTACKTOP-KSTKSIZE, KSTKSIZE,
|
||||||
PADDR(bootstack), PTE_W);
|
PADDR(bootstack), PTE_W);
|
||||||
<<<<<<< HEAD
|
|
||||||
kern_pgdir[PDX(KSTACKTOP-KSTKSIZE)] |= PTE_W;
|
|
||||||
kern_pgdir[PDX(KSTACKTOP-KSTKSIZE)] &= ~PTE_U;
|
|
||||||
=======
|
|
||||||
>>>>>>> lab2
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
// Map all of physical memory at KERNBASE.
|
// Map all of physical memory at KERNBASE.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user