Transferring changes.

This commit is contained in:
Alexander Huddleston 2017-06-27 02:46:52 -05:00
parent ff69383462
commit cc4ded85a8
2 changed files with 2 additions and 7 deletions

View file

@ -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");

View file

@ -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");
} }