summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/pagedir.c
AgeCommit message (Collapse)Author
2022-05-26syscalls/memflag: FINDFREE flagdzwdz
2022-05-21syscall/memflag: implement freeing memorydzwdz
2022-05-21kernel/pagedir: explicitly mark the pagedir user/write fields as unuseddzwdz
2022-04-14kernel: basic page allocator, `process_free`dzwdz
2021-11-14shared: use a single implementation of mem* functions everywheredzwdz
2021-09-21start using sparse's `-Wnon-pointer-null`dzwdz
While I personally don't see a reason to use NULL instead of 0, I assume that whoever made that a sparse default knew what they were doing.
2021-09-11replace `user_ptr` with a linux-style `__user` annotationdzwdz
2021-09-05move most of the memory stuff to kernel/mem/dzwdz
2021-08-24switch to using user_ptr for pointers coming from userlanddzwdz
this avoid accidental dereferences, and now it's easy to tell apart which pointers are safe to directly read and which aren't. cons: - const is completely discarded
2021-08-24replace () with (void) in function definitionsdzwdz
`()` means that any amt of arguments will be accepted, which isn't what i want
2021-07-26fork() pt 1: cloning process memorydzwdz
2021-07-22implement the debuglog() syscalldzwdz
2021-07-20rename pagedir_use() to pagedir_switch()dzwdz
imo "use" was slightly misleading
2021-07-20only enable paging when jumping into ring 0dzwdz
The kernel can't use the limited paging tables of user processes. Alternatively, sysenter could accept a parameter with a new cr3. That would allow/require using paging in the kernel - so I'll switch to it later, but I want to get other stuff done first.
2021-07-19very basic pagingdzwdz