bjorn3
2a2139c46e
Fix a couple of warnings
2025-06-28 19:37:56 +02:00
4lDO2
9be617132a
Fix 'sys:exe' as required by libstd.
2025-04-20 14:09:31 +02:00
4lDO2
1e3e961b78
Simplify context debug names.
2025-04-19 16:30:49 +02:00
4lDO2
2e6122bc7e
Allow procmgr to recognize unhandled exceptions.
2025-04-19 16:30:48 +02:00
4lDO2
f3af1be69f
Never return from ForceKill caller.
2025-04-19 16:30:48 +02:00
4lDO2
3a17f50ea8
Remove ContextHandle::Signal.
2025-04-19 16:30:47 +02:00
4lDO2
fa6dee36da
Report all being_sigkilled contexts as Dead.
2025-04-19 16:30:47 +02:00
4lDO2
5df7031eb1
Add Interrupt ContextVerb.
2025-04-19 16:30:47 +02:00
4lDO2
ab11e6b346
Support stopping contexts, by procmgr.
2025-04-19 16:30:47 +02:00
4lDO2
2f977bbc52
Support getting intra-page off and mapping sig [tp]ctl.
2025-04-19 16:30:47 +02:00
4lDO2
e002d0be33
Remove commented-out syscalls and SigState.rtqs
2025-04-19 16:30:47 +02:00
4lDO2
b4b2ac312b
Add interface for setting iopl.
2025-04-19 16:30:46 +02:00
4lDO2
2815800164
Support reading context status.
2025-04-19 16:30:46 +02:00
4lDO2
7b06ca16b1
Make thread kill API async.
2025-04-19 16:30:46 +02:00
4lDO2
f40ec48b3e
Send event on thread death.
2025-04-19 16:30:46 +02:00
4lDO2
ce77a018ec
Reach init again, with proc mgr.
2025-04-19 16:30:46 +02:00
4lDO2
a9fb2dcb93
Simplify proc scheme security.
2025-04-19 16:30:46 +02:00
4lDO2
a78d36f7f2
Reach init in userspace.
2025-04-19 16:30:46 +02:00
4lDO2
6d1a3e9a4c
Convert Handle::Context -> Handle.
2025-04-19 16:30:45 +02:00
4lDO2
2a5bd36899
Reimplement context creation.
2025-04-19 16:30:45 +02:00
4lDO2
8883818501
Make kernel compile.
2025-04-19 16:30:45 +02:00
4lDO2
1d5f8fd46d
Move proc code to userspace.
2025-04-19 16:30:42 +02:00
Majoneza
06f2c93140
chore: validate_region return PageSpan
...
Changed validate_region function to return PageSpan instead of a tuple. All the code
using validate_region function was updated to use PageSpan as well.
2025-02-25 23:38:38 +01:00
Arthur Paulino
ea0356b26a
Address minor warts
...
* Mention the need to have `nasm` available on the PATH in the README
* Replace the deprecated `hide_parse_errors` by `show_parse_errors` in `rustfmt.toml`
* Mark unused variables in `src/scheme/proc.rs`
2024-10-27 18:14:12 -03:00
Andrey Turkin
db32f5f7a3
Move some conditionally compiled code from common files into arch-gated files
2024-10-19 21:59:14 +03:00
Andrey Turkin
55041e2eeb
Use a custom config flag to conditionally compile DTB-specific areas
...
Would be great if we could use a feature instead, but Cargo can't do target-specific defaults features
2024-10-19 21:03:43 +03:00
4lDO2
71538efc06
Allow thread exit to optionally deallocate stack.
2024-09-24 19:18:23 +02:00
4lDO2
fcb2e2be3a
Pass si_uid and si_pid to kill signals.
2024-09-24 19:18:23 +02:00
4lDO2
54b1fbe453
Implement queued signals.
...
This currently needs to be done in the kernel for synchronization
reasons, but it's possible all delivery parts can later be moved to
userspace.
2024-09-24 19:18:22 +02:00
4lDO2
6d9cf30445
WIP: realtime signals
2024-09-24 19:18:20 +02:00
4lDO2
49b94047a8
Fix significant memory leak.
2024-07-24 22:48:56 +02:00
4lDO2
005635083d
Fix thread cleanup during active file ops.
...
This fixes a bug where the window of `viewer` does not exit, due to a
leaked file descriptor.
2024-07-20 22:14:54 +02:00
4lDO2
3c540efb00
Support sending signals to individual threads.
2024-07-16 22:06:21 +02:00
4lDO2
79bbf79656
Fix some proc scheme FIXMEs.
2024-07-16 20:28:17 +02:00
4lDO2
cde108439c
Fix kill deadlock.
2024-07-16 13:05:42 +02:00
4lDO2
6bd01513c5
Simplify and improve thread/process cleanup.
2024-07-15 18:08:43 +02:00
4lDO2
a3dedb0639
Do proper resource cleanup for thread exit too.
2024-07-15 18:08:43 +02:00
4lDO2
8259ed281c
Boot to desktop with process/context changes.
2024-07-15 18:08:43 +02:00
4lDO2
e67c040f69
WIP: Separate process status from context status.
2024-07-15 18:08:43 +02:00
4lDO2
80fe891c6e
WIP: Replace ContextId with direct Arcs.
2024-07-15 18:08:42 +02:00
4lDO2
0de23a1141
Use correct context for proc scheme 'new-thread'.
2024-07-15 18:08:42 +02:00
4lDO2
4202bc3ba0
WIP: add new-thread
2024-07-15 18:08:42 +02:00
4lDO2
208d74899a
Fix fork & process creation, now boots to desktop.
2024-07-15 18:08:42 +02:00
4lDO2
25974bec6e
It compiles.
2024-07-15 18:08:42 +02:00
4lDO2
de1bd46c84
Make proc scheme almost compile.
2024-07-15 18:08:42 +02:00
4lDO2
89d532a267
Fix half of proc scheme errors.
2024-07-15 18:08:42 +02:00
4lDO2
0da2fce64a
Separate context and process IDs.
2024-07-15 18:08:41 +02:00
4lDO2
d94baa2712
Run rustfmt.
2024-07-15 17:50:18 +02:00
4lDO2
5e7db80285
Fix a bunch of warnings.
2024-07-15 17:48:45 +02:00
4lDO2
5abbcd8e34
Send SIGCHLD to parent after child stop/exit.
2024-07-15 17:20:57 +02:00