summaryrefslogtreecommitdiff
path: root/src/init
AgeCommit message (Collapse)Author
2021-10-10init/shell: implement a half-broken catdzwdz
2021-10-10init/shell: implement the echo commanddzwdz
2021-10-10init/stdlib: implement strcmpdzwdz
2021-10-10init/shell: basic argument splittingdzwdz
2021-10-10init/printf: allow passing a nullptr to %sdzwdz
2021-10-10init/shell: basic readline()dzwdz
2021-10-06init: use printf for outputdzwdz
2021-10-06init printf: implement %xdzwdz
2021-10-06init printf: implement %sdzwdz
2021-10-06init: implement strlendzwdz
2021-10-06init: printf basedzwdz
2021-10-05kill the process that caused an exception instead of panickingdzwdz
2021-10-04remove support for processes returning strings on exitdzwdz
This isn't really all that useful, it doesn't enable anything that wasn't possible before. With it removed I'll be able to implement process_exit() in a much simpler way.
2021-10-02implement serial/tty inputdzwdz
2021-09-23_syscall_mount(): ignore trailing slash in mount pathdzwdz
2021-09-22remove some old leftover code in tar_driverdzwdz
2021-09-21make await() fail gracefully when callee has no alive children alreadydzwdz
2021-09-21`init`: add a test for await()dzwdz
2021-09-20add an offset parameter to read() and write()dzwdz
2021-09-20remove some unused variablesdzwdz
2021-09-20use a single struct for all fs_wait return valuesdzwdz
2021-09-18init: fix off-by-one error in tar_sizedzwdz
2021-09-18implement NULL mountsdzwdz
2021-09-18`init`: implement a working tar driverdzwdz
2021-09-18create `init/stdlib`dzwdz
2021-09-18merge `kernel/types.h` and `init/types.h`dzwdz
2021-09-18`init`: start work on the tar driverdzwdz
2021-09-16scaffolding for the initrd: init can read files appended to itdzwdz
currently this is just a text file, but it will be a tar archive later on
2021-09-16implement output from vfs callsdzwdz
2021-09-16fs_read stub, basic implementation in userlanddzwdz
2021-09-15fs_wait: pass the file ID toodzwdz
2021-09-14merge the `syscall_handler` and `_syscall` declarationsdzwdz
i think that making the call a bit more "transparent" makes the code nicer
2021-09-14add support for 4-parameter syscallsdzwdz
2021-09-12simplify `fs_respond`'s signaturedzwdz
2021-09-12first working access function!dzwdz
2021-09-12reorganise init, againdzwdz
2021-09-12implement part of `fs_respond`dzwdz
2021-09-12force init's main to be in .text.startupdzwdz
for some reason it's only there by default if you compile with `-O2`. because of this, you couldn't compile camellia with `-O1`
2021-09-12init: allocate bss at runtimedzwdz
2021-09-12barebones `memflag()` implementation - letting the user allocate pagesdzwdz
2021-09-12remove some useless code from initdzwdz
2021-09-12implement most of fs_waitdzwdz
awaited_req is a garbage name but i couldn't come up with a better one. i also have no idea how to handle all the failure states
2021-09-11replace `user_ptr` with a linux-style `__user` annotationdzwdz
2021-09-09basic _syscall_fs_wait() impl, doesn't pass the req yetdzwdz
2021-09-07reimplement _syscall_mountdzwdz
2021-09-07implement fs_create(), front/back fs handlesdzwdz
2021-09-05error out when <*/types.h> isn't included in headers which need itdzwdz
2021-09-05remove the fd_ / fs_ prefixes from syscall namesdzwdz
2021-09-04rename file descriptors to handlesdzwdz
2021-08-27make vfs_mount_resolve pass all the testsdzwdz