Voxia OS
v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
exit_group.c
Go to the documentation of this file.
1
#include "
hal/cpu/core.h
"
2
#include "
libk/serial.h
"
3
#include <
sys/syscall.h
>
4
5
void
syscall_exit_group
(
int
status
) {
6
auto
thr =
get_current_core_data
()->active_thread;
7
if
(!thr) {
8
return
;
9
}
10
11
serial2_printf
(
"exit_group: status code %d\n"
,
status
);
12
13
auto
procc = thr->process;
14
if
(!procc) {
15
return
;
16
}
17
18
19
}
get_current_core_data
each_core_data * get_current_core_data(void)
Definition
core.c:54
status
volatile uint8_t status
Definition
e1000.hpp:3
syscall_exit_group
void syscall_exit_group(int status)
Definition
exit_group.c:5
serial2_printf
void serial2_printf(const char *fmt,...)
core.h
serial.h
syscall.h
kernel
sys
syscall
exit_group.c
Generated on Sat May 30 2026 11:09:57 for Voxia OS by
1.13.2