]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - kernel/arch/x86/thread.cc
Lots of stuff.
[polintos/scott/priv.git] / kernel / arch / x86 / thread.cc
index b530d7c3d0e7d354c9df4c7b5b6e305c6a9b6650..f3923f57cc8f769eb4de49da8db97adc54d10623 100644 (file)
@@ -17,7 +17,7 @@
 #include <kern/pagetable.h>
 
 namespace Arch {
-       void set_aspace(Mem::AddrSpace *aspace)
+       void set_aspace(Mem::ProcAddrSpace *aspace)
        {
                u32 cr3 = Mem::kvirt_to_phys(aspace->page_table->toplevel);
                asm volatile("movl %0, %%cr3" : : "r" (cr3) : "memory");