Epok Engine

PSYQO SDK

Kernel

kernel.hh · PSX kernel ownership, interrupts and low-level services

Module

PSX kernel ownership, interrupts and low-level services.

Header
kernel.hh
Include
#include "psyqo/kernel.hh"
Stability
Pinned PsyQo API

Include this module

C++ include
#include "psyqo/kernel.hh"

Types

Functions and methods

abortStops the execution of the application.FunctionabortPerforms `abort` as part of PSX kernel ownership, interrupts and low-level services.FunctionaddInitializerAdds initializer as part of PSX kernel ownership, interrupts and low-level services.FunctionaddOnFrameAdds on frame as part of PSX kernel ownership, interrupts and low-level services.FunctionassertA simple `assert` macro.FunctionbeginFrameBegins frame as part of PSX kernel ownership, interrupts and low-level services.FunctioncrashHandlerPerforms `crash handler` as part of PSX kernel ownership, interrupts and low-level services.FunctiondisableDmaDisables the given DMA channel.FunctionenableDmaEnables the given DMA channel.FunctionfastEnterCriticalSectionA faster version of `enterCriticalSection`.FunctionfastLeaveCriticalSectionA faster version of `leaveCriticalSection`.FunctionflushCacheFlushes the i-cache.FunctiongetCop0StatusReturns cop0 status as part of PSX kernel ownership, interrupts and low-level services.FunctioninstallCrashHandlerInstalls a crash handler for the application.FunctionisKernelTakenOverReturns whether the kernel has been taken over.FunctionopenEventA C++ wrapper around the `openEvent` syscall.FunctionpreparePerforms `prepare` as part of PSX kernel ownership, interrupts and low-level services.FunctionpumpCallbacksPerforms `pump callbacks` as part of PSX kernel ownership, interrupts and low-level services.FunctionqueueCallbackQueues a callback to be called from the main thead.FunctionqueueCallbackFromISRQueues a callback to be called from the main thead.FunctionqueueIRQHandlerQueues an IRQ handler to be called from the exception handler.FunctionqueuePsyqoBreakHandlerQueues a break handler for psyqo's reserved category.FunctionregisterDmaEventSets an ISR callback for a given DMA channel.FunctionsetBreakHandlerSets a break handler for a given category.FunctionsetCop0StatusSets cop0 status as part of PSX kernel ownership, interrupts and low-level services.FunctiontakeOverKernelTakes over the kernel. Can only be called once inside the main function.FunctionunregisterDmaEventFrees the given DMA callback slot.FunctionwaitForStatusWaits for a specific status to be set in a register.Function template

Fields, variables and values