From c9a1266d219a83882735a3a8304f3824e0219cdb Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Mon, 15 Jan 2024 15:44:20 -0500 Subject: redo application paging and system calls, rename mercury to hilbert --- documentation/memory.txt | 10 +++++----- documentation/syscalls.txt | 5 ----- 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'documentation') 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.) -- cgit v1.2.3