HardwareManager Class Reference
#include <HardwareManager.h>
# Static Public Member Functions | |
| static void | initialize () |
| Initialize the basic hardware registries. | |
| static void | reset () |
| Reset the hardware managers. | |
| static void | halt () |
| Halt the CPU. | |
| static void | setInterruptLevel (uint8 level) |
| static void | enableInterrupts () |
| Enable interrupts. | |
| static void | disableInterrupts () |
| Disable interrupts. | |
| static void | resumeInterrupts () |
| Resume interrupts. | |
| static void | suspendInterrupts () |
| Suspend interrupts. | |
| static void | enableMultiplexedInterrupts () |
| Enable multiplexed interrupts. | |
| static void | disableMultiplexedInterrupts () |
| Disable multiplexed interrupts. | |
| static bool | areInterruptsSuspended () |
| static int32 | getStackPointer () |
| static int32 | getLinkPointer () |
| static int32 | getPSW () |
| static void | printStackStatus (int32 x, int32 y, bool resumed) |
| static void | print (int32 x, int32 y) |
# Additional Inherited Members | |
Private Member Functions inherited from Object | |
| void | constructor () |
| Class' constructor. | |
| const void * | getVTable () |
| bool | mutateTo (const void *targetClass) |
Static Private Member Functions inherited from Object | |
| static Object | getCast (void *object, ClassPointer targetClassGetClassMethod, ClassPointer baseClassGetClassMethod) |
Private Attributes inherited from Object | |
| void * | vTable |
| Pointer to the class's virtual table. | |
# Detailed Description
Class HardwareManager
Inherits from Object
Centralizes the management of the hardware.
Definition at line 59 of file HardwareManager.h.
# Member Function Documentation
# areInterruptsSuspended()
|
inlinestatic |
Check the status of the interrupts.
- Returns
- True if interrupts are not disabled nor suspended
Definition at line 251 of file HardwareManager.h.
# disableInterrupts()
|
inlinestatic |
Disable interrupts.
Definition at line 173 of file HardwareManager.h.
# disableMultiplexedInterrupts()
|
inlinestatic |
Disable multiplexed interrupts.
Definition at line 238 of file HardwareManager.h.
# enableInterrupts()
|
inlinestatic |
Enable interrupts.
Definition at line 159 of file HardwareManager.h.
# enableMultiplexedInterrupts()
|
inlinestatic |
Enable multiplexed interrupts.
Definition at line 214 of file HardwareManager.h.
# getLinkPointer()
|
inlinestatic |
Retrieve the Link Pointer's value.
- Returns
- Link pointer
Definition at line 273 of file HardwareManager.h.
# getPSW()
|
inlinestatic |
# getStackPointer()
|
inlinestatic |
Retrieve the Stack Pointer's value.
- Returns
- Stack pointer
Definition at line 258 of file HardwareManager.h.
# halt()
|
inlinestatic |
Halt the CPU.
# initialize()
|
static |
Initialize the basic hardware registries.
# print()
Print the status of the hardware registries.
- Parameters
-
x Screen x coordinate where to print y Screen y coordinate where to print
Definition at line 138 of file HardwareManager.c.
# printStackStatus()
Print the status of the stack.
- Parameters
-
x Screen x coordinate where to print y Screen y coordinate where to print resumed If true, print only minimum information
Definition at line 191 of file HardwareManager.c.
# reset()
|
static |
Reset the hardware managers.
Definition at line 119 of file HardwareManager.c.
# resumeInterrupts()
|
inlinestatic |
Resume interrupts.
Definition at line 187 of file HardwareManager.h.
# setInterruptLevel()
|
inlinestatic |
Set the interrupt level.
- Parameters
-
level Interrupt level
Definition at line 138 of file HardwareManager.h.
# suspendInterrupts()
|
inlinestatic |
Suspend interrupts.
Definition at line 202 of file HardwareManager.h.
The documentation for this class was generated from the following files:
- VUEngine-Core/source/Hardware/HardwareManager.h
- VUEngine-Core/source/Hardware/HardwareManager.c
Private Member Functions inherited from