Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-26 | syscalls/memflag: FINDFREE flag | dzwdz | |
2022-05-21 | syscall/memflag: implement freeing memory | dzwdz | |
2022-05-21 | kernel/pagedir: explicitly mark the pagedir user/write fields as unused | dzwdz | |
2022-04-14 | kernel: basic page allocator, `process_free` | dzwdz | |
2021-11-14 | shared: use a single implementation of mem* functions everywhere | dzwdz | |
2021-09-21 | start 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-11 | replace `user_ptr` with a linux-style `__user` annotation | dzwdz | |
2021-09-05 | move most of the memory stuff to kernel/mem/ | dzwdz | |
2021-08-24 | switch to using user_ptr for pointers coming from userland | dzwdz | |
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-24 | replace () with (void) in function definitions | dzwdz | |
`()` means that any amt of arguments will be accepted, which isn't what i want | |||
2021-07-26 | fork() pt 1: cloning process memory | dzwdz | |
2021-07-22 | implement the debuglog() syscall | dzwdz | |
2021-07-20 | rename pagedir_use() to pagedir_switch() | dzwdz | |
imo "use" was slightly misleading | |||
2021-07-20 | only enable paging when jumping into ring 0 | dzwdz | |
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-19 | very basic paging | dzwdz | |