Commit Graph

22 Commits

Author SHA1 Message Date
K. Lange
98bcb40671 nproc: Expose processor count and use it to pick between yielding and non-yielding spin locks 2021-09-02 17:27:21 +09:00
K. Lange
b35f7ac8c9 misaka: initial merge 2021-05-31 10:54:11 +09:00
K. Lange
4bcab10836 libc: flush and close buffers on exit 2021-04-07 19:08:06 +09:00
K. Lange
230870ad7b kernel, linker, libc: Initial, probably horribly broken, support for some TLS situations 2021-02-16 18:49:34 +09:00
K. Lange
54e9044161 libc: add more toaru-specific syscall wrappers 2018-12-10 18:47:18 +09:00
K. Lange
c9c18f70ad libc: move syscall defs; consistently use SYS_ macros 2018-12-10 10:09:27 +09:00
K. Lange
0df12ea064 libc: loud debugging options 2018-10-12 15:03:22 +09:00
K. Lange
6a76b257f4 add atexit() 2018-09-15 16:26:45 +09:00
K. Lange
64ae8d07bd fixup environ handling 2018-08-14 14:39:48 +09:00
K. Lange
ae6532607a Add libc wrappers for some syscalls, remove unused syscall.h imports 2018-08-02 13:13:27 +09:00
K. Lange
bd3f1b0334 get/sethostname 2018-08-02 03:40:43 +09:00
K. Lange
1ecdb29e51 chown in libc 2018-07-18 12:37:21 +09:00
K. Lange
22a3321c25 More libc 2018-06-25 16:34:07 +09:00
K. Lange
a283332be6 At least define a bunch of libc stuff 2018-06-25 12:11:33 +09:00
K. Lange
e5d5921526 symlink support in migrate 2018-05-21 21:45:18 +09:00
K. Lange
ffa4bd7360 Add login, sudo, user session, auth lib, etc. 2018-05-10 22:33:32 +09:00
K. Lange
8ccbcb001c Allow switching rendering mode in terminal on the fly 2018-05-08 17:16:58 +09:00
K. Lange
b42bec5b70 Make some fixes to libc and linker to allow environ to be set before initializers run 2018-05-08 17:03:04 +09:00
K. Lange
a3b1b253d7 stdio fgets and stuff that actually kinda work correctly 2018-05-04 17:53:31 +09:00
K. Lange
8f2025864c Break up unistd into separate files for each function 2018-05-02 12:20:06 +09:00
K. Lange
8cd1bd4b8a just gobs of stuff 2018-02-25 17:14:43 +09:00
K. Lange
a1f60853ed init 2018-02-25 14:13:54 +09:00