The Pedigree Project
0.1
|
#include <SyscallHandler.h>
Public Member Functions | |
virtual uintptr_t | syscall (SyscallState &State)=0 |
Protected Member Functions | |
virtual | ~SyscallHandler () |
Abstract base class for all syscall-handlers. All syscall-handlers mustbe derived from this class
Definition at line 32 of file SyscallHandler.h.
|
protectedvirtualdefault |
Virtual destructor
|
pure virtual |
Called when the handler is registered with the syscall manager and a syscall occurred
[in] | State | reference to the state before the syscall |
Implemented in KernelCoreSyscallManager, NativeSyscallManager, PosixSyscallManager, and PedigreeCSyscallManager.
Referenced by X86InterruptManager::interrupt(), HostedSyscallManager::syscall(), and X64SyscallManager::syscall().