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();
|
||||
|
||||
for(;;);
|
||||
Console::puts("WE TURNED ON PAGING!\n");
|
||||
Console::puts("If we see this message, the page tables have been\n");
|
||||
Console::puts("set up mostly correctly.\n");
|
||||
|
@ -176,7 +175,7 @@ int main() {
|
|||
}
|
||||
|
||||
Console::puts("DONE WRITING TO MEMORY. Now testing...\n");
|
||||
|
||||
|
||||
for (i=0; i<NACCESS; i++) {
|
||||
if(foo[i] != i) {
|
||||
Console::puts("TEST FAILED for access number:");
|
||||
|
|
|
@ -75,17 +75,13 @@ void PageTable::enable_paging()
|
|||
|
||||
void PageTable::handle_fault(REGS * _r)
|
||||
{
|
||||
/*
|
||||
unsigned long tempframe = process_mem_pool->get_frames(1);
|
||||
Console::puts("\nerror code: ");
|
||||
Console::puti(_r->err_code);
|
||||
|
||||
unsigned char mask = 0x00;
|
||||
|
||||
|
||||
read_cr2();
|
||||
*/
|
||||
assert(false);
|
||||
|
||||
Console::puts("\nhandled page fault\n");
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue