summaryrefslogtreecommitdiff
path: root/src/cmd
AgeCommit message (Collapse)Author
2024-07-26kernel: implement _sys_intr_returndzwdz
2024-07-25kernel: pass more information to user on interruptdzwdz
This is meant to facilitate a syscall for returning from interrupts, which will actually work in the general case as opposed to the current hack, which only works if the interrupt occured during a syscall (which is correct... for now).
2024-07-22tests: check if SSE registers are preserved on context switchesdzwdz
2024-07-20*: moving filesdzwdz
2024-07-11kernel: start cleaning up VfsRequestdzwdz
* I'm being more strict about the linked list state to hopefully ensure I'm not leaking any references. * vfsreq_create was renamed to vfsreq_dispatchcopy as that name feels more clear. It copies its argument, and dispatches it. * Requests for user backends are now handled more like requests for kernel backends - there's an accept() function that accepts a request.
2024-05-19cmd: implement timebenchdzwdz
2024-05-19kernel: implement /dev/bintimedzwdz
2024-05-11kernel: DUP_RDONLY and DUP_WRONLYdzwdz
I probably should've tested DUP_WRONLY too, now that I think about it. TODO?
2024-05-11kernel: remove HANDLE_NULLFSdzwdz
It was a dumb hack that wasn't even necessary - an error when mounting should shadow over the mountpoint anyways.
2024-05-11kernel: fix null dereference when delegating an nonexistent handledzwdz
2024-05-05net: expose the rtl mac to userland, make the netstack use itdzwdz
2024-05-05libc: implement asprintfdzwdz
2024-05-04kernel/rtl8139: prepare for /dev/eth/macdzwdz
2024-05-04user/ntpfs: implement a basic ntp clientdzwdz
time() will probably end up doing io. That sounded bad at first, but Plan 9 does that too (see /sys/src/libc/9sys/nsec.c), so it's probably fine. I might need better service management soon. Also, dunno what it should return before it makes contact with NTP. I could implement RTC support, but eh. Doesn't feel that necessary. I'll also need to remember how the hell threading works, so it can talk with the ntp daemon on another thread.
2024-04-14httpd: serve files out of /usr/wwwdzwdz
2024-02-23kernel: fix _sys_fs_wait in initdzwdz
2024-02-21cmd/socksfs: support connecting to ipv4dzwdz
2024-02-21user/*: remove some minor header-related TODOsdzwdz
pretty useless, but the list of all the TODOs is getting unwieldy, so I might as well cross some crap off that list
2023-12-25user/libc: reorganize net stuff, basic hosts-only gethostbyname()dzwdz
/usr/share/hosts because i don't have /etc/ yet and i don't feel like creating it.
2023-12-25kernel: _sys_getnull() (basically /dev/null)dzwdz
2023-09-30user: rework terminal handlingdzwdz
2023-09-29*: properly remove _sys_filicidedzwdz
not sure how that slipped by
2023-09-25kernel/intr: accept a message, allow killing processes via intrsdzwdz
2023-09-22build: support single file commandsdzwdz
2023-09-18kernel: implement _sys_time()dzwdz
After some consideration this seems like the most fitting way to handle timekeeping. Directly, the syscall is only useful for keeping time within a single process, but it is meant to be used for e.g. NTP clients, which will provide the real time through the VFS.
2023-09-17kernel/amd64: add HPET support, slightly rework time handlingdzwdz
2023-09-13*: clean up the filesystemdzwdz
moved keyboard and vtty to /dev/, removed some obsolete stuff
2023-09-13cmd/init: remove /initctl, use intr insteaddzwdz
2023-09-11*: rename /kdev/ to /dev/dzwdz
2023-09-07user: fix stdio stream pos; remove the shell pipe redir workarounddzwdz
2023-09-07shell: use waitpiddzwdz
2023-09-07shell: fix endless loop after redirectiondzwdz
2023-09-03misc: remove old debug printsdzwdz
the rtl8139 mac wasn't being read correctly anyways, and the init stuff wasn't revelant in ages. the rest is relatively useful
2023-09-03libc: split up large .c files, slimming down small binaries a bitdzwdz
2023-09-02netstack: only return from open() once the socket connectsdzwdz
2023-09-02cmd: add socksfsdzwdz
2023-09-02libc: opendir_f; make httpd use itdzwdz
2023-08-31cmd/ps: use dirent.hdzwdz
2023-08-31kernel: add _sys_getprocfs in place of HANDLE_PROCFSdzwdz
This makes the side-effects more explicit, and feels less hacky than `HANDLE_PROCFS`. I don't think accessing a handle alone should have side-effects, even if it's a "special" one.
2023-08-30style: get rid of eprintfdzwdz
2023-08-29kernel: remove _sys_await, emulate it in libcdzwdz
2023-08-29tests: fix everything broken by the pipe changedzwdz
god, those tests are a mess. so are esemaphores.
2023-08-15user: fix freeze if graphical shell was quitdzwdz
2023-08-14reorganization: first stepsdzwdz