Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-25 | style: typedef structs, shorter namespaces | dzwdz | |
I've wanted to do this for a while, and since I've just had a relatively large refactor commit (pcpy), this is as good of a time as any. Typedefing structs was mostly inspired by Plan 9's coding style. It makes some lines of code much shorter at basically no expense. Everything related to userland kept old-style struct definitions, so as not to force that style onto other people. I also considered changing SCREAMING_ENUM_FIELDS to NicerLookingCamelcase, but I didn't, just in case that'd be confusing. | |||
2023-01-25 | kernel/virt: replace the virt_cpy api with a more foolproof one | dzwdz | |
2022-07-17 | kernel/virt_cpy: error struct, better error handling | 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-21 | implement (safe) min/max macros | dzwdz | |
2021-09-21 | add `__force` for marking casts across adress spaces | dzwdz | |
2021-09-11 | add some helper functions for copying between virtual and physical memory | dzwdz | |
this was already possible, but now it's slightly safer | |||
2021-09-11 | replace `user_ptr` with a linux-style `__user` annotation | dzwdz | |
2021-09-05 | fix some warnings | dzwdz | |
2021-09-05 | rename virt_user_cpy to virt_cpy, since it's no longer limited to virtual memory | dzwdz | |
2021-09-05 | make virt_iter support iterating over physical memory too | dzwdz | |
2021-09-05 | move most of the memory stuff to kernel/mem/ | dzwdz | |