libk  All files named "mod/kmem/heapao.fn.c"

History for mod/kmem/heapao.fn.c

2019-08-22
04:31
Renamed to mod/kmem/heapo.fn.c. finish moving heap allocation/free functions to the posix syscall apparatus and deprecate the direct assembly implementations of platform_mmap; update the kmem docs to match new function signatures (and remove typos) check-in: [709ffb094d] user: lexi, branch: trunk, size: 0
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: [e98ef79662] check-in: [e50a476efe] user: lexi, branch: trunk, size: 500 [annotate] [blame] [check-ins using] [diff]
2019-08-21
06:00
Renamed kmem/heapao.fn.c → mod/kmem/heapao.fn.c. move modules to a subdirectory in order to keep the directory tree organized and make room for OS-specific build files file: [930b5d7379] check-in: [14172a910a] user: lexi, branch: trunk, size: 415 [annotate] [blame] [check-ins using] [diff]