20 #ifndef KERNEL_PROCESSOR_X64_SYSCALLMANAGER_H 21 #define KERNEL_PROCESSOR_X64_SYSCALLMANAGER_H 23 #include "pedigree/kernel/Spinlock.h" 24 #include "pedigree/kernel/compiler.h" 25 #include "pedigree/kernel/processor/SyscallManager.h" 26 #include "pedigree/kernel/processor/Syscalls.h" 27 #include "pedigree/kernel/processor/state_forward.h" 28 #include "pedigree/kernel/processor/types.h" 58 Service_t service, uintptr_t
function, uintptr_t p1, uintptr_t p2,
59 uintptr_t p3, uintptr_t p4, uintptr_t p5);
65 static void syscall(SyscallState &syscallState)
USED;
static X64SyscallManager m_Instance
#define INITIALISATION_ONLY
X64SyscallManager & operator=(const X64SyscallManager &)
virtual bool registerSyscallHandler(Service_t Service, SyscallHandler *pHandler)
X64SyscallManager() INITIALISATION_ONLY
virtual ~X64SyscallManager()
SyscallHandler * m_pHandler[serviceEnd]
static X64SyscallManager & instance()
uintptr_t syscall(Service_t service, uintptr_t function, uintptr_t p1, uintptr_t p2, uintptr_t p3, uintptr_t p4, uintptr_t p5)
The exception was caused by a hardware task switch.
static void initialiseProcessor() INITIALISATION_ONLY