9os

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f01e55c92973ecdc19da58b7f79e9243d74c27b4
parent 606be53e2ba7ce6707f91db1d79feba0f8131e2b
Author: Roberto E. Vargas Caballero <roberto.vargas@midokura.com>
Date:   Fri, 11 Nov 2022 16:49:31 +0100

hosted: Enable basic mmu support

Diffstat:
Msrc/os9/hosted/mmu.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/os9/hosted/mmu.c b/src/os9/hosted/mmu.c @@ -3,11 +3,12 @@ int vmap(phyaddr_t pa, uintptr_t va, int flags) { - return -1; + return 0; } Ptable * initptable(Task *tp) { - return NULL; + tp->ptable.assid = 0; + return &tp->ptable; }