The Pedigree Project  0.1
Public Member Functions | Protected Member Functions | List of all members
SyscallHandler Class Referenceabstract

#include <SyscallHandler.h>

+ Inheritance diagram for SyscallHandler:
+ Collaboration diagram for SyscallHandler:

Public Member Functions

virtual uintptr_t syscall (SyscallState &State)=0
 

Protected Member Functions

virtual ~SyscallHandler ()
 

Detailed Description

Abstract base class for all syscall-handlers. All syscall-handlers mustbe derived from this class

Definition at line 32 of file SyscallHandler.h.

Constructor & Destructor Documentation

SyscallHandler::~SyscallHandler ( )
protectedvirtualdefault

Virtual destructor

Member Function Documentation

virtual uintptr_t SyscallHandler::syscall ( SyscallState &  State)
pure virtual

Called when the handler is registered with the syscall manager and a syscall occurred

Parameters
[in]Statereference to the state before the syscall

Implemented in KernelCoreSyscallManager, NativeSyscallManager, PosixSyscallManager, and PedigreeCSyscallManager.

Referenced by X86InterruptManager::interrupt(), HostedSyscallManager::syscall(), and X64SyscallManager::syscall().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: