diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-25 11:20:08 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-25 11:20:08 -0400 |
commit | 228366dcf517266097a77b846efe2c2364a10fa3 (patch) | |
tree | 619fba7611f01326a51bf9cb874a8d5459ce51f1 /kernel/include | |
parent | fix physalloc edge case (diff) | |
download | comus-228366dcf517266097a77b846efe2c2364a10fa3.tar.gz comus-228366dcf517266097a77b846efe2c2364a10fa3.tar.bz2 comus-228366dcf517266097a77b846efe2c2364a10fa3.zip |
syscall_return fn
Diffstat (limited to 'kernel/include')
-rw-r--r-- | kernel/include/comus/cpu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/include/comus/cpu.h b/kernel/include/comus/cpu.h index ffc1782..8f485be 100644 --- a/kernel/include/comus/cpu.h +++ b/kernel/include/comus/cpu.h @@ -89,4 +89,10 @@ void cpu_feats(struct cpu_feat *feats); */ void cpu_print_regs(struct cpu_regs *regs); +/** + * Return from a syscall handler back into userspace + */ +__attribute__((noreturn)) +void syscall_return(void); + #endif /* cpu.h */ |