SSBM Decomp
Loading...
Searching...
No Matches
OSRtc.c File Reference
#include <macros.h>
#include <dolphin/exi.h>
#include <dolphin/os.h>
#include <dolphin/os/OSRtc.h>
#include "__os.h"

Functions

static struct SramControl Scb ATTRIBUTE_ALIGN (32)
static int GetRTC (unsigned long *rtc)
static int ReadSram (void *buffer)
static void WriteSramCallback ()
static int WriteSram (void *buffer, unsigned long offset, unsigned long size)
static void * LockSram (unsigned long offset)
static int UnlockSram (int commit, unsigned long offset)
static void __OSReadROMCallback (long chan)
int __OSGetRTC (unsigned long *rtc)
int __OSSetRTC (unsigned long rtc)
void __OSInitSram ()
struct OSSram__OSLockSram ()
struct OSSramEx__OSLockSramEx (void)
int __OSUnlockSram (int commit)
int __OSUnlockSramEx (int commit)
int __OSSyncSram ()
int __OSCheckSram ()
int __OSReadROM (void *buffer, long length, long offset)
int __OSReadROMAsync (void *buffer, long length, long offset, void(*callback)())
u32 OSGetSoundMode ()
void OSSetSoundMode (u32 mode)
u32 OSGetProgressiveMode (void)
void OSSetProgressiveMode (u32 mode)
u16 OSGetWirelessID (s32 arg0)
u32 OSGetVideoMode ()
void OSSetVideoMode (u32 mode)
unsigned char OSGetLanguage ()
void OSSetLanguage (unsigned char language)
unsigned char __OSGetBootMode ()
void __OSSetBootMode (unsigned char ntd)
void OSSetWirelessID (long chan, u16 id)

Function Documentation

◆ ATTRIBUTE_ALIGN()

struct SramControl Scb ATTRIBUTE_ALIGN ( 32 )
static

◆ GetRTC()

int GetRTC ( unsigned long * rtc)
static

◆ ReadSram()

int ReadSram ( void * buffer)
static

◆ WriteSramCallback()

void WriteSramCallback ( )
static

◆ WriteSram()

int WriteSram ( void * buffer,
unsigned long offset,
unsigned long size )
static

◆ LockSram()

void * LockSram ( unsigned long offset)
static

◆ UnlockSram()

int UnlockSram ( int commit,
unsigned long offset )
static

◆ __OSReadROMCallback()

void __OSReadROMCallback ( long chan)
static

◆ __OSGetRTC()

int __OSGetRTC ( unsigned long * rtc)

◆ __OSSetRTC()

int __OSSetRTC ( unsigned long rtc)

◆ __OSInitSram()

void __OSInitSram ( )

◆ __OSLockSram()

struct OSSram * __OSLockSram ( void )

◆ __OSLockSramEx()

struct OSSramEx * __OSLockSramEx ( void )

◆ __OSUnlockSram()

int __OSUnlockSram ( int commit)

◆ __OSUnlockSramEx()

int __OSUnlockSramEx ( int commit)

◆ __OSSyncSram()

int __OSSyncSram ( void )

◆ __OSCheckSram()

int __OSCheckSram ( void )

◆ __OSReadROM()

int __OSReadROM ( void * buffer,
long length,
long offset )

◆ __OSReadROMAsync()

int __OSReadROMAsync ( void * buffer,
long length,
long offset,
void(* callback )() )

◆ OSGetSoundMode()

u32 OSGetSoundMode ( void )

◆ OSSetSoundMode()

void OSSetSoundMode ( u32 mode)

◆ OSGetProgressiveMode()

u32 OSGetProgressiveMode ( void )

◆ OSSetProgressiveMode()

void OSSetProgressiveMode ( u32 mode)

◆ OSGetWirelessID()

u16 OSGetWirelessID ( s32 arg0)

◆ OSGetVideoMode()

u32 OSGetVideoMode ( )

◆ OSSetVideoMode()

void OSSetVideoMode ( u32 mode)

◆ OSGetLanguage()

unsigned char OSGetLanguage ( )

◆ OSSetLanguage()

void OSSetLanguage ( unsigned char language)

◆ __OSGetBootMode()

unsigned char __OSGetBootMode ( void )

◆ __OSSetBootMode()

void __OSSetBootMode ( unsigned char ntd)

◆ OSSetWirelessID()

void OSSetWirelessID ( long chan,
u16 id )