Function syscall_handler

Source
pub fn syscall_handler(trapframe: &mut Trapframe) -> Result<usize, &'static str>
Expand description

Syscall handler

§Arguments

  • trapframe - The trapframe

§Returns

The result of the syscall handler

§Errors

Returns an error if the syscall number is invalid