libk  History of mod/kcore/testbin.exe.c of 12a51d9c50923691

History of the file that is called mod/kcore/testbin.exe.c at checkin 12a51d9c50923691

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]
2019-08-18
13:42
add functions, generate C syscall table file: [c4d82c1a4a] check-in: [a8d93823f1] user: lexi, branch: trunk, size: 529 [annotate] [blame] [check-ins using] [diff]
11:34
add memory functions file: [a4a4905883] check-in: [5393623a84] user: lexi, branch: trunk, size: 661 [annotate] [blame] [check-ins using] [diff]
10:20
fix kmheapa() and add kmheapf() file: [8406c82300] check-in: [5279674525] user: lexi, branch: trunk, size: 551 [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: [5796abefa5] check-in: [6479e060a3] user: lexi, branch: trunk, size: 515 [annotate] [blame] [check-ins using] [diff]
2019-06-29
09:31
Added: add a bunch of code, port the header mechanism to gpp; add a fuckton of definitions and compatibility header code; notably, add core function kstop and x86.lin.{32,64} impl. update docs accordingly file: [f1bdb07ea2] check-in: [e794c5edef] user: lexi, branch: trunk, size: 308 [annotate] [blame] [check-ins using]