]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg-paging/traps.c
Don't necessarily wait for data.
[netwatch.git] / aseg-paging / traps.c
index 8184bdb74dcfd39520c825dcb950508a88139cbf..f41068fd0604f7cc060ca971ec69cc2e8ca75586 100644 (file)
@@ -92,7 +92,7 @@ void traps_install(void) {
 
         struct pseudo_descriptor pdesc;
        pdesc.limit = sizeof(idt) - 1;
-       pdesc.linear_base = memory_v2p(&idt);
+       pdesc.linear_base = v2p(&idt);
 
        WRAPPER_INSTALL(idt, TRAP, fault_divide, T_DIVIDE_ERROR);
        WRAPPER_INSTALL(idt, TRAP, fault_gp, T_GENERAL_PROTECTION);
This page took 0.022627 seconds and 4 git commands to generate.