History for mod/kmem/mem.h
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] | |