|
SSBM Decomp
|
#include <dolphin/types.h>#include <dolphin/os/OSContext.h>#include <dolphin/os/OSAlarm.h>#include <dolphin/os/OSAlloc.h>#include <dolphin/os/OSCache.h>#include <dolphin/os/OSDC.h>#include <dolphin/os/OSError.h>#include <dolphin/os/OSException.h>#include <dolphin/os/OSFont.h>#include <dolphin/os/OSIC.h>#include <dolphin/os/OSInterrupt.h>#include <dolphin/os/OSL2.h>#include <dolphin/os/OSLC.h>#include <dolphin/os/OSMessage.h>#include <dolphin/os/OSModule.h>#include <dolphin/os/OSMutex.h>#include <dolphin/os/OSReboot.h>#include <dolphin/os/OSReset.h>#include <dolphin/os/OSResetSW.h>#include <dolphin/os/OSRtc.h>#include <dolphin/os/OSSerial.h>#include <dolphin/os/OSStopwatch.h>#include <dolphin/os/OSThread.h>#include <dolphin/os/OSTime.h>#include <dolphin/dvd.h>Go to the source code of this file.
Data Structures | |
| struct | OSCalendarTime |
| struct | OSBootInfo |
Typedefs | |
| typedef s64 | OSTime |
| typedef u32 | OSTick |
| typedef s16 | __OSInterrupt |
| typedef u32 | OSInterruptMask |
| typedef void(* | __OSInterruptHandler) (__OSInterrupt interrupt, OSContext *context) |
| #define OFFSET | ( | addr, | |
| align ) |
| #define OS_CACHED_REGION_PREFIX 0x8000 |
| #define OS_UNCACHED_REGION_PREFIX 0xC000 |
| #define OS_PHYSICAL_MASK 0x3FFF |
| #define OS_BASE_CACHED (OS_CACHED_REGION_PREFIX << 16) |
| #define OS_BASE_UNCACHED (OS_UNCACHED_REGION_PREFIX << 16) |
| #define __OSBusClock (*(u32*) (OS_BASE_CACHED | 0x00F8)) |
| #define __OSCoreClock (*(u32*) (OS_BASE_CACHED | 0x00FC)) |
| #define OS_BUS_CLOCK __OSBusClock |
| #define OS_CORE_CLOCK __OSCoreClock |
| #define OS_TIMER_CLOCK (OS_BUS_CLOCK / 4) |
| #define OSTicksToSeconds | ( | ticks | ) |
| #define OSTicksToMilliseconds | ( | ticks | ) |
| #define OSTicksToMicroseconds | ( | ticks | ) |
| #define OSSecondsToTicks | ( | sec | ) |
| #define OSMillisecondsToTicks | ( | msec | ) |
| #define OSNanosecondsToTicks | ( | nsec | ) |
| #define OSMicrosecondsToTicks | ( | usec | ) |
| #define OS_CONSOLE_MASK 0xf0000000 |
| #define OS_CONSOLE_RETAIL 0x00000000 |
| #define OS_CONSOLE_DEVELOPMENT 0x10000000 |
| #define OS_CONSOLE_TDEV 0x20000000 |
| #define OS_CONSOLE_RETAIL4 0x00000004 |
| #define OS_CONSOLE_RETAIL3 0x00000003 |
| #define OS_CONSOLE_RETAIL2 0x00000002 |
| #define OS_CONSOLE_RETAIL1 0x00000001 |
| #define OS_CONSOLE_TDEVHW4 0x20000007 |
| #define OS_CONSOLE_TDEVHW3 0x20000006 |
| #define OS_CONSOLE_TDEVHW2 0x20000005 |
| #define OS_CONSOLE_TDEVHW1 0x20000004 |
| #define OS_CONSOLE_DEVHW4 0x10000007 |
| #define OS_CONSOLE_DEVHW3 0x10000006 |
| #define OS_CONSOLE_DEVHW2 0x10000005 |
| #define OS_CONSOLE_DEVHW1 0x10000004 |
| #define OS_CONSOLE_MINNOW 0x10000003 |
| #define OS_CONSOLE_ARTHUR 0x10000002 |
| #define OS_CONSOLE_PC_EMULATOR 0x10000001 |
| #define OS_CONSOLE_EMULATOR 0x10000000 |
| #define OS_SOUND_MODE_MONO 0 |
| #define OS_SOUND_MODE_STEREO 1 |
| #define DOLPHIN_ATTRIBUTE_NORETURN |
| #define OSRoundUp32B | ( | x | ) |
| #define OSRoundDown32B | ( | x | ) |
| #define OSPhysicalToCached | ( | paddr | ) |
| #define OSPhysicalToUncached | ( | paddr | ) |
| #define OSCachedToPhysical | ( | caddr | ) |
| #define OSUncachedToPhysical | ( | ucaddr | ) |
| #define OSCachedToUncached | ( | caddr | ) |
| #define OSUncachedToCached | ( | ucaddr | ) |
| typedef s16 __OSInterrupt |
| typedef u32 OSInterruptMask |
| typedef void(* __OSInterruptHandler) (__OSInterrupt interrupt, OSContext *context) |
| u32 OSGetPhysicalMemSize | ( | void | ) |
| u32 OSGetConsoleSimulatedMemSize | ( | void | ) |
| unsigned long OSGetConsoleType | ( | void | ) |
| void OSInit | ( | void | ) |
| void * OSGetArenaHi | ( | void | ) |
| void * OSGetArenaLo | ( | void | ) |
| void OSSetArenaHi | ( | void * | ) |
| void OSSetArenaLo | ( | void * | ) |
| void __OSPSInit | ( | ) |
| u32 __OSGetDIConfig | ( | void | ) |
| OSTick OSGetTick | ( | void | ) |
| OSTime OSGetTime | ( | void | ) |
| void OSTicksToCalendarTime | ( | OSTime | ticks, |
| OSCalendarTime * | td ) |
| OSTime OSCalendarTimeToTicks | ( | OSCalendarTime * | td | ) |
| BOOL OSEnableInterrupts | ( | void | ) |
| BOOL OSDisableInterrupts | ( | void | ) |
| u32 OSGetSoundMode | ( | void | ) |
| void OSSetSoundMode | ( | u32 | mode | ) |
| void OSReport | ( | char * | , |
| ... ) |
| DOLPHIN_ATTRIBUTE_NORETURN void OSPanic | ( | char * | file, |
| int | line, | ||
| char * | msg, | ||
| ... ) |
| void * OSPhysicalToCached | ( | u32 | paddr | ) |
| void * OSPhysicalToUncached | ( | u32 | paddr | ) |
| u32 OSCachedToPhysical | ( | void * | caddr | ) |
| u32 OSUncachedToPhysical | ( | void * | ucaddr | ) |
| void * OSCachedToUncached | ( | void * | caddr | ) |
| void * OSUncachedToCached | ( | void * | ucaddr | ) |