Expand description
Syscall entry handler
Authors: MarioS271
Re-exportsยง
use crate::arch::x86_64::cpu::gs_info::GS_INFO_KERNEL_STACK_TOP;๐use crate::arch::x86_64::cpu::gs_info::GS_INFO_USER_RSP;๐use crate::arch::x86_64::syscall::frame::UserFrame;๐use crate::mm::layout::USER_MAX;๐use crate::state::kstate::KSTATE;๐use crate::syscall::args::SyscallArgs;๐use crate::kdebug;๐use core::arch::naked_asm;๐
Functionsยง
- syscall_
dispatch ๐ - Dispatches incoming syscalls to the correct handler
- syscall_
entry โ - Syscall entry point