|
SSBM Decomp
|
#include <dolphin.h>#include <macros.h>#include <dolphin/db.h>#include <dolphin/exi.h>#include <dolphin/os.h>#include "__os.h"Macros | |
| #define | OS_BI2_DEBUG_ADDRESS 0x800000F4 |
| #define | DEBUGFLAG_ADDR 0x800030E8 |
| #define | OS_DEBUG_ADDRESS_2 0x800030E9 |
| #define | OS_CURRENTCONTEXT_PADDR 0x00C0 |
| #define | OS_EXCEPTIONTABLE_ADDR 0x3000 |
| #define | OS_DBJUMPPOINT_ADDR 0x60 |
| #define | OS_CACHED_REGION_PREFIX 0x8000 |
| #define | OS_BI2_DEBUG_ADDRESS 0x800000F4 |
| #define | OS_BI2_DEBUGFLAG_OFFSET 0xC |
| #define | PAD3_BUTTON_ADDR 0x800030E4 |
| #define | OS_DVD_DEVICECODE 0x800030E6 |
| #define | DEBUGFLAG_ADDR 0x800030E8 |
| #define | OS_DEBUG_ADDRESS_2 0x800030E9 |
| #define | DB_EXCEPTIONRET_OFFSET 0xC |
| #define | DB_EXCEPTIONDEST_OFFSET 0x8 |
| #define | NOP 0x60000000 |
| #define | BOOT_REGION_START (*(u32*) 0x812FDFF0) |
| #define | BOOT_REGION_END (*(u32*) 0x812FDFEC) |
Variables | |
| unsigned long | __DVDLongFileNameFlag |
| unsigned long | __PADSpec |
| unsigned char | __ArenaLo [] |
| char | _stack_addr [] |
| unsigned char | __ArenaHi [] |
| u64 | __OSStartTime |
| static struct OSBootInfo_s * | BootInfo |
| static unsigned long * | BI2DebugFlag |
| static u32 | BI2DebugFlagHolder |
| static double | ZeroF |
| static int | AreWeInitialized |
| static void(** | OSExceptionTable )(unsigned char, struct OSContext *) |
| static u32 | __OSExceptionLocations [] |
| #define OS_BI2_DEBUG_ADDRESS 0x800000F4 |
| #define DEBUGFLAG_ADDR 0x800030E8 |
| #define OS_DEBUG_ADDRESS_2 0x800030E9 |
| #define OS_CURRENTCONTEXT_PADDR 0x00C0 |
| #define OS_EXCEPTIONTABLE_ADDR 0x3000 |
| #define OS_DBJUMPPOINT_ADDR 0x60 |
| #define OS_CACHED_REGION_PREFIX 0x8000 |
| #define OS_BI2_DEBUG_ADDRESS 0x800000F4 |
| #define OS_BI2_DEBUGFLAG_OFFSET 0xC |
| #define PAD3_BUTTON_ADDR 0x800030E4 |
| #define OS_DVD_DEVICECODE 0x800030E6 |
| #define DEBUGFLAG_ADDR 0x800030E8 |
| #define OS_DEBUG_ADDRESS_2 0x800030E9 |
| #define DB_EXCEPTIONRET_OFFSET 0xC |
| #define DB_EXCEPTIONDEST_OFFSET 0x8 |
| #define NOP 0x60000000 |
| #define BOOT_REGION_START (*(u32*) 0x812FDFF0) |
| #define BOOT_REGION_END (*(u32*) 0x812FDFEC) |
|
extern |
| void __OSEVStart | ( | void | ) |
| void __OSEVEnd | ( | void | ) |
| void __OSEVSetNumber | ( | void | ) |
| void __OSExceptionVector | ( | void | ) |
| void __DBVECTOR | ( | void | ) |
| void __OSDBINTSTART | ( | void | ) |
| void __OSDBINTEND | ( | void | ) |
| void __OSDBJUMPSTART | ( | void | ) |
| void __OSDBJUMPEND | ( | void | ) |
|
static |
|
static |
|
static |
| unsigned long __OSIsDebuggerPresent | ( | void | ) |
| unsigned long OSGetConsoleType | ( | void | ) |
|
static |
| void OSInit | ( | void | ) |
|
static |
|
static |
| __OSExceptionHandler __OSSetExceptionHandler | ( | __OSException | exception, |
| __OSExceptionHandler | handler ) |
| __OSExceptionHandler __OSGetExceptionHandler | ( | __OSException | exception | ) |
|
static |
| void __OSUnhandledException | ( | __OSException | exception, |
| OSContext * | context, | ||
| u32 | dsisr, | ||
| u32 | dar ) |
| asm void OSDefaultExceptionHandler | ( | register __OSException | exception, |
| register OSContext * | context ) |
| void __OSPSInit | ( | void | ) |
| u32 __OSGetDIConfig | ( | void | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
| u64 __OSStartTime |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |