50 descendants of b2f129d7b9bea7fc
2019-08-26
| ||
20:03 | fix typo check-in: 9ea8c28897 user: lexi tags: trunk | |
20:02 | clarify error-handling check-in: c8e83b4bdf user: lexi tags: trunk | |
19:58 | fix typo check-in: 112ee76a31 user: lexi tags: trunk | |
19:50 | fix list formatting error check-in: 2aab529520 user: lexi tags: trunk | |
19:49 | minor tweaks; update docs to explain error handling check-in: 55dc614190 user: lexi tags: trunk | |
2019-08-25
| ||
04:15 | comment out non-standard use of enums pending rewrite with #defines :( check-in: 04ed009476 user: lexi tags: trunk | |
03:55 | remove useless script, delete junk files, credit contributors, add documentation for typesize.c check-in: 312e446cfc user: lexi tags: trunk | |
02:47 | fix check for 128-bit int type check-in: 1fba7a324a user: lexi tags: trunk | |
02:42 | arch: add script to generate linux syscall tables from generic headers; add arm.lin.64 (untested) check-in: c15c92895e user: lachs0r tags: trunk | |
01:47 | add /arch readme file check-in: 03d58c0419 user: lexi tags: trunk | |
01:10 | arch: add syscall table for x86.lin.32; rerun scripts check-in: fd97c8a737 user: lachs0r tags: trunk | |
01:05 | arch/mktbl.errno.linux.sh: simplify check-in: f45d66f6db user: lachs0r tags: trunk | |
00:29 | delete unnecessary scripts check-in: 76f1cf8037 user: lexi tags: trunk | |
00:16 | arch: add crude script to generate errno tables from Linux sources check-in: b9dd92f73e user: lachs0r tags: trunk | |
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 check-in: 81758652b5 user: lexi tags: trunk | |
23:07 | update license statement check-in: c36308ecd9 user: lexi tags: trunk | |
23:02 | stop attempting to auto-detect system constants during build process, and maintain os/arch-specific tables instead check-in: e42b590b45 user: lexi tags: trunk | |
00:20 | improve comments check-in: 858eba7607 user: lexi tags: trunk | |
2019-08-22
| ||
20:04 | fix another typo check-in: 8618103a4e user: lexi tags: trunk | |
20:04 | fix typo check-in: 957b5fa848 user: lexi tags: trunk | |
08:52 | add tests for linear allocators, fix dumb bug in kmheapf() that caused it to return an error on success check-in: f37ee769c9 user: lexi tags: trunk | |
08:45 | check in missing files check-in: 269baab90a user: lexi tags: trunk | |
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 check-in: acb4a9944e user: lexi tags: trunk | |
04:31 | 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 tags: trunk | |
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. check-in: e50a476efe user: lexi tags: trunk | |
01:37 | add first iteration of knum header check-in: 5560c2725b user: lexi tags: trunk | |
00:03 | insert explicit cast to hopefully silence compiler warnings on some systems check-in: 7c202a8b17 user: lexi tags: trunk | |
2019-08-21
| ||
23:35 | replace `.` with `source` in shell scripts for compatibility; change `sh` shebangs to use bash instead check-in: 34059b4bf6 user: lexi tags: trunk | |
06:43 | create dist folder for OS-specific supporting build files check-in: 49b6e9c7f6 user: lexi tags: trunk | |
06:00 | move modules to a subdirectory in order to keep the directory tree organized and make room for OS-specific build files check-in: 14172a910a user: lexi tags: trunk | |
04:50 | Add initial build setup for Nix check-in: a26e579866 user: glow tags: trunk | |
04:24 | modify build system to replace extremely fragile error code generation mechanism check-in: d77ef26adf user: lexi tags: trunk | |
03:44 | make crt behave as a C runtime launcher should; comment code thoroughly check-in: f0f16493ca user: lexi tags: trunk | |
03:10 | add assembly output flag to build.sh check-in: 06e32bd3b4 user: lexi tags: trunk | |
01:58 | enable debugging and add -ffreestanding to gcc cmd line to squash attempts to "optimize" functions by converting them to libc calls, e.g. turning kmzero() calls into memset() calls check-in: 49bf71fb47 user: lexi tags: trunk | |
01:20 | rename $out build var to $to for nixos compat; refactor announce command to choose a color automatically instead of forcing it to be specified on every command line check-in: b590aba21d user: lexi tags: trunk | |
00:28 | Switch to using command -v to check for commands instead of which check-in: fd95e5bc93 user: glow tags: trunk | |
00:16 | switch ansi "bold off" code to "reset" for terminals that interpret "bold off" as "double underline"; remove (incorrect) test code from kiosend check-in: cef83f0167 user: lexi tags: trunk | |
2019-08-20
| ||
22:54 | reorganize posix assembly code check-in: f85e6a07dd user: lexi tags: trunk | |
04:04 | improve syscall collection mechanism check-in: 9dd8bab2ac user: lexi tags: trunk | |
03:04 | address case where syscall numbers in header derive from deeper includes check-in: 09a1767049 user: lexi tags: trunk | |
02:03 | partially unfuck x86-32, correct major error in syscall ABI check-in: f9bf0d662b user: lexi tags: trunk | |
2019-08-19
| ||
23:57 | add detection loop for syscall headers check-in: c7732c41c9 user: lexi tags: trunk | |
22:40 | add documentation compilation check-in: 8d6d792515 user: lexi tags: trunk | |
05:42 | switch over to new build mechanism and formally deprecate makefiles check-in: 34c625a47b user: lexi tags: trunk | |
04:51 | begin move away from legacy build system check-in: 26c340d29e user: lexi tags: trunk | |
02:18 | clean out legacy code check-in: 724bbbbe91 user: lexi tags: trunk | |
02:13 | add missing script check-in: a6aed292a5 user: lexi tags: trunk | |
02:04 | add makerule, add include mode to typesize check-in: 8b84a67d85 user: lexi tags: trunk | |
01:46 | updates, begin putting together error-handling mechanism check-in: b5f6f19923 user: lexi tags: trunk | |
2019-08-18
| ||
18:29 | add error reporting to kiosend() check-in: b2f129d7b9 user: lexi tags: trunk | |