Transferring changes.
This commit is contained in:
parent
ff69383462
commit
cc4ded85a8
2 changed files with 2 additions and 7 deletions
|
@ -157,7 +157,6 @@ int main() {
|
||||||
|
|
||||||
PageTable::enable_paging();
|
PageTable::enable_paging();
|
||||||
|
|
||||||
for(;;);
|
|
||||||
Console::puts("WE TURNED ON PAGING!\n");
|
Console::puts("WE TURNED ON PAGING!\n");
|
||||||
Console::puts("If we see this message, the page tables have been\n");
|
Console::puts("If we see this message, the page tables have been\n");
|
||||||
Console::puts("set up mostly correctly.\n");
|
Console::puts("set up mostly correctly.\n");
|
||||||
|
|
|
@ -75,17 +75,13 @@ void PageTable::enable_paging()
|
||||||
|
|
||||||
void PageTable::handle_fault(REGS * _r)
|
void PageTable::handle_fault(REGS * _r)
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
unsigned long tempframe = process_mem_pool->get_frames(1);
|
unsigned long tempframe = process_mem_pool->get_frames(1);
|
||||||
Console::puts("\nerror code: ");
|
Console::puts("\nerror code: ");
|
||||||
Console::puti(_r->err_code);
|
Console::puti(_r->err_code);
|
||||||
|
|
||||||
unsigned char mask = 0x00;
|
unsigned char mask = 0x00;
|
||||||
|
|
||||||
|
|
||||||
read_cr2();
|
read_cr2();
|
||||||
*/
|
|
||||||
assert(false);
|
|
||||||
Console::puts("\nhandled page fault\n");
|
Console::puts("\nhandled page fault\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue