X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=kernel%2Farch%2Fx86%2Fmisc.cc;h=48bf24cffc7b8a558d4b854400b50039e7e21b1f;hp=9ec7ebcd5f52705def2b17d9eb26e4dda530d8f1;hb=db11b9a38323d994d42303c6149c9e06ff29b7d2;hpb=77bf9a95a836b14a243953e1fbd28c7c1106c59a diff --git a/kernel/arch/x86/misc.cc b/kernel/arch/x86/misc.cc index 9ec7ebc..48bf24c 100644 --- a/kernel/arch/x86/misc.cc +++ b/kernel/arch/x86/misc.cc @@ -19,6 +19,7 @@ #include #include #include +#include #include #include @@ -94,7 +95,7 @@ namespace Arch { Priv::tss.ss0 = 8; asm volatile("ltr %w0" : : "r" (0x18) : "memory"); - init_thread->addr_space = new Mem::AddrSpace(x86_init_ptbl_l2); + init_thread->addr_space = new Mem::ProcAddrSpace(x86_init_ptbl_l2); init_thread->active_addr_space = init_thread->addr_space; }