aboutsummaryrefslogtreecommitdiff
path: root/apps/test.c
diff options
context:
space:
mode:
authorMarvin Borner2021-03-14 16:12:44 +0100
committerGitHub2021-03-14 16:12:44 +0100
commit268f3ccdb90ab4b9bd70ca176478797aae97ca05 (patch)
tree2dbc3e52d90dab4aae8021773f09b6b72a74b8cb /apps/test.c
parent4309322f9d2b3e31421a3cc5399ab1f4368e0652 (diff)
parent6dec7db5158447b66f31a3f786ce2916cab83cec (diff)
Added memory management using paging
This was quite a roller-coaster and most things are slower now, but it works and is way more secure. I still need to implement things like shared memory for the WM/GUI system but other than that everything is supported.
Diffstat (limited to 'apps/test.c')
-rw-r--r--apps/test.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/test.c b/apps/test.c
index 80f24ad..d64e224 100644
--- a/apps/test.c
+++ b/apps/test.c
@@ -82,11 +82,7 @@ int main(void)
else
log("All tests passed\n");
- // Try emulator shutdown
- outw(0xB004, 0x2000);
- outw(0x604, 0x2000);
- outw(0x4004, 0x3400);
+ boot(SYS_BOOT_SHUTDOWN);
- loop();
return 0;
}