Skip to main content

Module entry

Module entry 

Source
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