diff options
author | Benji Dial <benji@benjidial.net> | 2024-01-15 15:44:20 -0500 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-01-15 15:44:20 -0500 |
commit | c9a1266d219a83882735a3a8304f3824e0219cdb (patch) | |
tree | fea71a0b5b0de8f3a8962dc6ed417273f231e2a9 /documentation | |
parent | 7c6a18d77a81f232ad2e1d3a311bb21ea8f1f5b4 (diff) | |
download | hilbert-os-c9a1266d219a83882735a3a8304f3824e0219cdb.tar.gz |
redo application paging and system calls, rename mercury to hilbert
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/memory.txt | 10 | ||||
-rw-r--r-- | documentation/syscalls.txt | 5 |
2 files changed, 5 insertions, 10 deletions
diff --git a/documentation/memory.txt b/documentation/memory.txt index 581bd71..c000fa7 100644 --- a/documentation/memory.txt +++ b/documentation/memory.txt @@ -1,11 +1,11 @@ only the first 32GiB of physical memory are considered. this can be changed with pram_pages in paging.cpp. vram layout is as follows: -0x0000.0000.0000 - 0x0000.001f.ffff: always unmapped -0x0000.0020.0000 - 0x0000.3fbf.ffff: available to user process -0x0000.3fc0.0000 - 0x0000.3fdf.ffff: always unmapped -0x0000.3fe0.0000 - 0x0000.3fff.ffff: user stack -0x0000.4000.0000 - 0xffff.bfff.ffff: always unmapped +0x0000.0000.0000 - 0x0000.0000.0fff: always unmapped +0x0000.0000.1000 - 0x0000.001f.efff: user stack +0x0000.001f.f000 - 0x0000.001f.ffff: always unmapped +0x0000.0020.0000 - 0x007f.ffff.ffff: available to user process +0x0080.0000.0000 - 0xffff.bfff.ffff: always unmapped 0xffff.c000.0000 - 0xffff.ffdf.ffff: available to kernel 0xffff.ffe0.0000 - 0xffff.ffe0.0fff: always unmapped 0xffff.ffe0.1000 - 0xffff.ffef.efff: interrupt stack diff --git a/documentation/syscalls.txt b/documentation/syscalls.txt index cbba5e3..463f815 100644 --- a/documentation/syscalls.txt +++ b/documentation/syscalls.txt @@ -20,8 +20,3 @@ get framebuffer: esi out: pitch framebuffer is always 32 bpp. use the encode color syscall to encode colors. pitch is in dwords, not in bytes. - -draw framebuffer: - rax in: 2 - this draws changes to the framebuffer gotten by the get framebuffer - system call. (currently, the entire thing is copied, not just changes.) |