Skip to main content

Module syscall

Module syscall 

Source
Expand description

x86_64 syscalls specifics

Authors: MarioS271

Re-exportsยง

use crate::arch::x86_64::cpu::tables::gdt::GdtSetupInfo; ๐Ÿ”’
use crate::lib::addr::VirtAddr; ๐Ÿ”’
use crate::lib::panic::kernel_panic; ๐Ÿ”’
use crate::lib::panic_codes::PanicCode; ๐Ÿ”’
use x86_64::registers::control::Efer; ๐Ÿ”’
use x86_64::registers::control::EferFlags; ๐Ÿ”’
use x86_64::registers::model_specific::LStar; ๐Ÿ”’
use x86_64::registers::model_specific::SFMask; ๐Ÿ”’
use x86_64::registers::model_specific::Star; ๐Ÿ”’
use x86_64::registers::rflags::RFlags; ๐Ÿ”’

Modulesยง

entry ๐Ÿ”’
Syscall entry handler
frame ๐Ÿ”’
Syscall Stack Frame

Functionsยง

init ๐Ÿ”’ โš 
Enable the syscall/sysret instructions for this CPU and set the syscall entry point