History of the file that is called mod/kmem/mem.h at checkin 12a51d9c50923691
2019-08-22
| ||
08:44 | add kmlini() and kmlina() functions; restructure allocation functions to work more reasonably (returning a tuple struct instead of making a user pass in a void**); update docs accordingly file: [0dc09a3b20] check-in: [acb4a9944e] user: lexi, branch: trunk, size: 1472 [annotate] [blame] [check-ins using] [diff] | |
02:52 | removed sneaky segfault in x86-64 syscall fn where %r8 (the register that contains the pointer to the syscall arguments from the C syscall wrapper, which need to be copied into the correct registers before the kernel is invoked) gets overwritten if the syscall valency > 5, because of overlapping ccall and syscall ABI argument registers - r8 is clobbered by argument 5 and any further attempts to use it as a ptr segfault at best. also modified the report function so that it immediate cancels compilation if a sub-process reports failure. changed allocator function signatures so they can return a condition code if the kernel reports an error; updated example code so it compiles and runs without fault. file: [d8d36f64f5] check-in: [e50a476efe] user: lexi, branch: trunk, size: 1288 [annotate] [blame] [check-ins using] [diff] | |
2019-08-21
| ||
06:00 | Renamed kmem/mem.h → mod/kmem/mem.h. move modules to a subdirectory in order to keep the directory tree organized and make room for OS-specific build files file: [bec7e80543] check-in: [14172a910a] user: lexi, branch: trunk, size: 1081 [annotate] [blame] [check-ins using] [diff] | |
2019-08-18
| ||
11:34 | add memory functions file: [bec7e80543] check-in: [5393623a84] user: lexi, branch: trunk, size: 1081 [annotate] [blame] [check-ins using] [diff] | |
10:20 | fix kmheapa() and add kmheapf() file: [09be45a2b3] check-in: [5279674525] user: lexi, branch: trunk, size: 688 [annotate] [blame] [check-ins using] [diff] | |
2019-07-27
| ||
03:55 | add docs/manifesto for kfile; add initial kfile headers and function prototypes; update headers to include c++ extern guards so libk functions can be used from c++ file: [e8670496c8] check-in: [926d05a4ce] user: lexi, branch: trunk, size: 634 [annotate] [blame] [check-ins using] [diff] | |
2019-07-26
| ||
09:51 | major update. fix ridiculous old type size determination mechanism. mmap is still broken and i'm not sure why; the syscall does not appear to be going through correctly - see posix_mmap, kmheapa, and kcore/testbin.exe.fn file: [ace4d63e01] check-in: [6479e060a3] user: lexi, branch: trunk, size: 565 [annotate] [blame] [check-ins using] [diff] | |
2019-06-28
| ||
04:48 | add Kmsz macro file: [551899b415] check-in: [51af496851] user: lexi, branch: trunk, size: 501 [annotate] [blame] [check-ins using] [diff] | |
2019-06-27
| ||
21:39 | development milestone file: [4d62b7403b] check-in: [a14ceee056] user: lexi, branch: trunk, size: 428 [annotate] [blame] [check-ins using] [diff] | |
05:52 | Added: updates file: [dc631dc568] check-in: [f5b7fa5762] user: lexi, branch: trunk, size: 36 [annotate] [blame] [check-ins using] | |