SSBM Decomp
|
#include <dolphin/os.h>
#include <dolphin/os/OSCache.h>
#include <dolphin/os/OSContext.h>
#include <dolphin/os/OSExi.h>
#include <dolphin/os/OSInterrupt.h>
#include <dolphin/os/OSRtc.h>
Data Structures | |
struct | SramControlBlock |
Macros | |
#define | RTC_CMD_READ 0x20000000 |
#define | RTC_CMD_WRITE 0xA0000000 |
#define | RTC_SRAM_ADDR 0x00000100 |
#define | RTC_SRAM_SIZE 64 |
#define | RTC_CHAN 0 |
#define | RTC_DEV 1 |
#define | RTC_FREQ 3 |
Functions | |
static SramControlBlock Scb | ATTRIBUTE_ALIGN (32) |
bool | WriteSram (void *buffer, u32 offset, u32 size) |
void | WriteSramCallback (s32 unused0, OSContext *unused1) |
static bool | ReadSram (void *buffer) |
void | __OSInitSram (void) |
static void * | LockSram (u32 offset) |
OSSram * | __OSLockSram (void) |
OSSramEx * | __OSLockSramEx (void) |
static bool | UnlockSram (bool commit, u32 offset) |
void | __OSUnlockSram (bool commit) |
void | __OSUnlockSramEx (bool commit) |
bool | __OSSyncSram (void) |
static OSSram * | __OSLockSramHACK (void) |
u32 | OSGetSoundMode (void) |
void | OSSetSoundMode (u32 mode) |
u32 | OSGetProgressiveMode (void) |
void | OSSetProgressiveMode (u32 mode) |
u32 | OSGetWirelessID (u32 chan) |
void | OSSetWirelessID (u32 chan, u16 id) |
#define RTC_CMD_READ 0x20000000 |
#define RTC_CMD_WRITE 0xA0000000 |
#define RTC_SRAM_ADDR 0x00000100 |
#define RTC_SRAM_SIZE 64 |
#define RTC_CHAN 0 |
#define RTC_DEV 1 |
#define RTC_FREQ 3 |
|
static |
|
static |
void __OSInitSram | ( | void | ) |
|
static |
OSSram * __OSLockSram | ( | void | ) |
OSSramEx * __OSLockSramEx | ( | void | ) |
void __OSUnlockSram | ( | bool | commit | ) |
void __OSUnlockSramEx | ( | bool | commit | ) |
bool __OSSyncSram | ( | void | ) |
|
inlinestatic |
u32 OSGetSoundMode | ( | void | ) |
void OSSetSoundMode | ( | u32 | mode | ) |
u32 OSGetProgressiveMode | ( | void | ) |
void OSSetProgressiveMode | ( | u32 | mode | ) |