libk  All files named "mod/kcore/testbin.exe.c"

History for mod/kcore/testbin.exe.c

2019-10-21
01:03
change testbin to pass appropriate string lengths to kiosend file: [b799b010e3] check-in: [3626b335f2] user: lexi, branch: trunk, size: 1076 [annotate] [blame] [check-ins using] [diff]
2019-08-26
19:49
minor tweaks; update docs to explain error handling file: [aec04b5f97] check-in: [55dc614190] user: lexi, branch: trunk, size: 1068 [annotate] [blame] [check-ins using] [diff]
2019-08-24
23:40
parse environment and add env variables to the kenv struct passed to the entry function; add example code to testbin showing use of kvars file: [ba38860055] check-in: [81758652b5] user: lexi, branch: trunk, size: 1138 [annotate] [blame] [check-ins using] [diff]
2019-08-22
08:52
add tests for linear allocators, fix dumb bug in kmheapf() that caused it to return an error on success file: [175e42b805] check-in: [f37ee769c9] user: lexi, branch: trunk, size: 733 [annotate] [blame] [check-ins using] [diff]
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: [2c9c964882] check-in: [acb4a9944e] user: lexi, branch: trunk, size: 565 [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: [ae0ed8cd11] check-in: [e50a476efe] user: lexi, branch: trunk, size: 557 [annotate] [blame] [check-ins using] [diff]
2019-08-21
06:00
Renamed kcore/testbin.exe.c → mod/kcore/testbin.exe.c. move modules to a subdirectory in order to keep the directory tree organized and make room for OS-specific build files file: [c4d82c1a4a] check-in: [14172a910a] user: lexi, branch: trunk, size: 529 [annotate] [blame] [check-ins using] [diff]