The Pedigree Project 0.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PedigreeCSyscallManager Class Reference
+ Inheritance diagram for PedigreeCSyscallManager:
+ Collaboration diagram for PedigreeCSyscallManager:

Public Member Functions

bool initialise ()
 
bool shutdown ()
 
uintptr_t call (uintptr_t function, uintptr_t p1=0, uintptr_t p2=0, uintptr_t p3=0, uintptr_t p4=0, uintptr_t p5=0)
 
virtual uintptr_t syscall (SyscallState &state)
 
 PedigreeCSyscallManager ()
 
virtual ~PedigreeCSyscallManager ()
 

Private Member Functions

 PedigreeCSyscallManager (const PedigreeCSyscallManager &)
 
PedigreeCSyscallManager & operator= (const PedigreeCSyscallManager &)
 

Private Attributes

SyscallManager::Registration m_Registration
 

Additional Inherited Members

- Protected Member Functions inherited from SyscallHandler
virtual ~SyscallHandler ()
 

Detailed Description

Definition at line 27 of file PedigreeCSyscallManager.h.

Constructor & Destructor Documentation

◆ PedigreeCSyscallManager() [1/2]

PedigreeCSyscallManager::PedigreeCSyscallManager ( )

The constructor

Definition at line 31 of file PedigreeCSyscallManager.cc.

◆ ~PedigreeCSyscallManager()

PedigreeCSyscallManager::~PedigreeCSyscallManager ( )
virtual

The destructor

Definition at line 33 of file PedigreeCSyscallManager.cc.

◆ PedigreeCSyscallManager() [2/2]

PedigreeCSyscallManager::PedigreeCSyscallManager ( const PedigreeCSyscallManager &  )
private

The copy-constructor

Note
Not implemented (singleton)

Member Function Documentation

◆ call()

uintptr_t PedigreeCSyscallManager::call ( uintptr_t  function,
uintptr_t  p1 = 0,
uintptr_t  p2 = 0,
uintptr_t  p3 = 0,
uintptr_t  p4 = 0,
uintptr_t  p5 = 0 
)

Calls a syscall.

Definition at line 46 of file PedigreeCSyscallManager.cc.

References Dec, SyscallManager::instance(), and SyscallManager::syscall().

◆ initialise()

bool PedigreeCSyscallManager::initialise ( )

Definition at line 35 of file PedigreeCSyscallManager.cc.

◆ operator=()

PedigreeCSyscallManager & PedigreeCSyscallManager::operator= ( const PedigreeCSyscallManager &  )
private

The copy-constructor

Note
Not implemented (singleton)

◆ shutdown()

bool PedigreeCSyscallManager::shutdown ( )

Definition at line 42 of file PedigreeCSyscallManager.cc.

◆ syscall()

uintptr_t PedigreeCSyscallManager::syscall ( SyscallState &  state)
virtual

Called when a syscall arrives.

Implements SyscallHandler.

Definition at line 56 of file PedigreeCSyscallManager.cc.

References String::compare(), Dec, and ProcessorBase::setInterrupts().

Member Data Documentation

◆ m_Registration

SyscallManager::Registration PedigreeCSyscallManager::m_Registration
private

Definition at line 52 of file PedigreeCSyscallManager.h.


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