mmu.c (362B)
1 #include <os9/os9.h> 2 3 #include <libk.h> 4 5 int 6 vmap(phyaddr_t pa, uintptr_t va, int flags) 7 { 8 dbg("vmap %llx -> %llx\n", (long long) pa, (long long) va); 9 return 0; 10 } 11 12 int 13 vunmap(phyaddr_t pa, uintptr_t va) 14 { 15 dbg("vunmap %llx -> %llx\n", (long long) pa, (long long) va); 16 return 0; 17 } 18 19 Ptable * 20 initptable(Task *tp) 21 { 22 tp->ptable.assid = 0; 23 return &tp->ptable; 24 }