Commit Graph

65 Commits

Author SHA1 Message Date
4lDO2 fbbb27b0e5 Tmp disable kill and wrap Process in Rc. 2025-04-19 12:50:44 +02:00
4lDO2 a7df1a1734 progress. 2025-04-19 12:50:44 +02:00
4lDO2 19cb1c0512 WIP: start implementing kill. 2025-04-19 12:50:44 +02:00
4lDO2 fd3a9f9a94 Add stub for kill and sigq. 2025-04-19 12:50:43 +02:00
4lDO2 443c49f6c5 Implement most of getpgid and setpgid. 2025-04-19 12:50:43 +02:00
4lDO2 0a1e1b2f9c Implement new-thread. 2025-04-19 12:50:43 +02:00
4lDO2 80ed3c47d1 Use inner loop to handle multiple reqs per event. 2025-04-19 12:50:43 +02:00
4lDO2 e5a97a68c9 Use log crate. 2025-04-19 12:50:43 +02:00
4lDO2 fdbc00b0fc Pass status in waitpid. 2025-04-19 12:50:43 +02:00
4lDO2 bdb665d897 Ensure new_awoken are handled before event queue wait. 2025-04-19 12:50:43 +02:00
4lDO2 ddc47a7e43 Fix incorrect waitpid request pid. 2025-04-19 12:50:43 +02:00
4lDO2 7e8b8d7183 Make it compile. 2025-04-19 12:50:43 +02:00
4lDO2 016c60c11f Fix most errors. 2025-04-19 12:50:42 +02:00
4lDO2 cbe00a9be8 Impl waitpid further, still does not compile. 2025-04-19 12:50:42 +02:00
4lDO2 82d59302c8 Impl basic state machine for proc exit. 2025-04-19 12:50:42 +02:00
4lDO2 edb8d80d43 Add lookup event id => (thread, pid). 2025-04-19 12:50:42 +02:00
4lDO2 547b50e4b0 Successfully await thread death in exit impl. 2025-04-19 12:50:42 +02:00
4lDO2 910c714b46 Rename procmngr => procmgr. 2025-04-19 12:50:42 +02:00
4lDO2 5fba53023e Add event queue. 2025-04-19 12:50:42 +02:00
4lDO2 2293828906 WIP: waitpid handler. 2025-04-19 12:50:42 +02:00
4lDO2 84b4d1f274 Implement basic state machines, add setrens. 2025-04-19 12:50:42 +02:00
4lDO2 063430f7ac Sync kernel ctxt attrs in fork. 2025-04-19 12:49:35 +02:00
4lDO2 737d87cf9d Reach init fork. 2025-04-19 12:49:35 +02:00
4lDO2 3dbd606086 Reach init with proc manager. 2025-04-19 12:49:35 +02:00
4lDO2 b4a7992074 Support reading metadata from process. 2025-04-19 12:49:35 +02:00
4lDO2 9f0ddc83f4 WIP: write skeleton for fork, new-thread 2025-04-19 12:49:35 +02:00
4lDO2 eecd046709 TODO: start writing proc manager 2025-04-19 12:49:35 +02:00
Andrey Turkin 508f566fea RISC-V target 2024-10-16 19:35:44 +03:00
Kamil Koczurek e0c153a5ed Switch to newest redox-rt 2024-09-23 17:02:42 +02:00
4lDO2 0fe6bbcee2 Implement getdents 2024-09-12 10:30:13 +02:00
Jacob Lorentzon c695af7674 Switch to redox-rt. 2024-07-15 15:43:34 +00:00
bjorn3 88338f36f2 Use the new scheme format 2024-07-11 21:02:40 +02:00
4lDO2 54f4a76238 Use positioned IO scheme interface. 2024-06-12 17:44:47 +02:00
4lDO2 74fd559f6e Update redox_scheme. 2024-06-11 18:37:32 +02:00
4lDO2 d9bc645185 Switch to v2 scheme format. 2024-06-10 19:59:01 +02:00
Jacob Lorentzon cc7ee6ce49 Signals 2024-03-17 17:01:43 +00:00
bjorn3 02fd768c9f Fix building for AArch64 2024-03-15 12:03:04 +01:00
bjorn3 70700df944 Update redox-initfs and use the initfs_size header field instead of INITFS_LENGTH 2024-03-12 21:49:53 +01:00
bjorn3 b50d6fad52 Support embedding bootstrap blob into the initfs 2024-03-10 19:31:33 +01:00
bjorn3 626a5af3a4 Use HashMap instead of BTreeMap
This reduces the file size from 87KiB to 79KiB.
2024-03-10 14:39:29 +01:00
bjorn3 8e11205784 Rename entrypoint to _start
This matches the default.
2024-03-10 13:59:44 +01:00
bjorn3 0111bcfd48 Remove unused __end global 2024-03-10 13:57:30 +01:00
bjorn3 57c1bf94b6 Use default alloc error handler in liballoc 2024-03-10 13:46:43 +01:00
bjorn3 c15c6e1dd2 Use the Display impl of PanicInfo 2024-03-10 13:41:53 +01:00
bjorn3 89e0a71d10 Remove unnecessary definition of eh_personality
All crates are compiled with panic=abort and no extern "C-unwind" is
used, so the personality function is referenced by rustc.
2024-03-10 13:40:47 +01:00
bjorn3 2860c0bdfb Remove usage of naked functions 2024-03-10 13:39:11 +01:00
Jeremy Soller f33e8b54af Update path for initfs 2024-01-18 15:05:38 -07:00
4lDO2 39baa59693 Update dependencies. 2023-10-14 17:08:10 +02:00
4lDO2 c3e2f0eca2 Ensure stack does not remain as RWX! 2023-08-01 16:23:30 +02:00
4lDO2 d7fd637ca3 Fix warnings. 2023-06-27 16:40:31 +02:00