RetroArch
|
OS functions and initialization. More...
#include <gctypes.h>
#include <gcutil.h>
#include <time.h>
#include <ogc/lwp_queue.h>
#include "gx_struct.h"
Go to the source code of this file.
Classes | |
struct | _syssram |
struct | _syssramex |
struct | _sys_fontheader |
struct | _sys_resetinfo |
Typedefs | |
typedef u32 | syswd_t |
handle typedef for the alarm context More... | |
typedef struct _syssram | syssram |
holds the stored configuration value from the system SRAM area More... | |
typedef struct _syssramex | syssramex |
holds the stored configuration value from the extended SRAM area More... | |
typedef void(* | alarmcallback) (syswd_t alarm, void *cb_arg) |
typedef struct _sys_fontheader | sys_fontheader |
typedef void(* | resetcallback) (void) |
typedef void(* | powercallback) (void) |
typedef s32(* | resetfunction) (s32 final) |
typedef struct _sys_resetinfo | sys_resetinfo |
Variables | |
struct _syssram | ATTRIBUTE_PACKED |
OS functions and initialization.
#define SYS_BASE_CACHED (0x80000000) |
#define SYS_BASE_UNCACHED (0xC0000000) |
#define SYS_FONTSIZE_ANSI (288 + 131072) |
#define SYS_FONTSIZE_SJIS (3840 + 1179648) |
#define SYS_GetArenaHi SYS_GetArena1Hi |
#define SYS_GetArenaLo SYS_GetArena1Lo |
#define SYS_GetArenaSize SYS_GetArena1Size |
#define SYS_SetArenaHi SYS_SetArena1Hi |
#define SYS_SetArenaLo SYS_SetArena1Lo |
#define SYS_WD_NULL 0xffffffff |
typedef struct _sys_fontheader sys_fontheader |
typedef struct _sys_resetinfo sys_resetinfo |
holds the stored configuration value from the system SRAM area
checksum | holds the block checksum. |
checksum_in | holds the inverse block checksum |
ead0 | unknown attribute |
ead1 | unknown attribute |
counter_bias | bias value for the realtime clock |
display_offsetH | pixel offset for the VI |
ntd | unknown attribute |
lang | language of system |
flags | device and operations flag |
struct _syssramex syssramex |
holds the stored configuration value from the extended SRAM area
flash_id[2][12] | 96bit memorycard unlock flash ID |
wirelessKbd_id | Device ID of last connected wireless keyboard |
wirelessPad_id[4] | 16bit device ID of last connected pad. |
dvderr_code | last non-recoverable error from DVD interface |
void * SYS_AllocateFramebuffer | ( | GXRModeObj * | rmode | ) |
Allocate cacheline aligned memory for the external framebuffer based on the rendermode object.
[in] | rmode | pointer to the video/render mode configuration |
Cancel the alarm, but do not remove from the list of contexts.
[in] | thealarm | identifier to the alram context to be canceled |
Create/initialize sysalarm structure.
[in] | thealarm | pointer to the handle to store the created alarm context identifier |
void SYS_DumpPMC | ( | ) |
void* SYS_GetArena1Hi | ( | ) |
void* SYS_GetArena1Lo | ( | ) |
u32 SYS_GetArena1Size | ( | ) |
u32 SYS_GetFontEncoding | ( | ) |
void SYS_Init | ( | ) |
u32 SYS_InitFont | ( | sys_fontheader * | font_data | ) |
void SYS_RegisterResetFunc | ( | sys_resetinfo * | info | ) |
Remove the given alarm context from the list of contexts and destroy it.
[in] | thealarm | identifier to the alarm context to be removed and destroyed |
u32 SYS_ResetButtonDown | ( | ) |
s32 SYS_SetAlarm | ( | syswd_t | thealarm, |
const struct timespec * | tp, | ||
alarmcallback | cb, | ||
void * | cbarg | ||
) |
s32 SYS_SetPeriodicAlarm | ( | syswd_t | thealarm, |
const struct timespec * | tp_start, | ||
const struct timespec * | tp_period, | ||
alarmcallback | cb, | ||
void * | cbarg | ||
) |
resetcallback SYS_SetResetCallback | ( | resetcallback | cb | ) |
void SYS_StopPMC | ( | ) |
u64 SYS_Time | ( | ) |
void SYS_UnregisterResetFunc | ( | sys_resetinfo * | info | ) |
struct _sys_fontheader ATTRIBUTE_PACKED |