SSBM Decomp
|
#include <platform.h>
#include <dolphin/os/OSAlarm.h>
#include <dolphin/os/OSAlloc.h>
#include <dolphin/os/OSArena.h>
#include <dolphin/os/OSCache.h>
#include <dolphin/os/OSContext.h>
#include <dolphin/os/OSError.h>
#include <dolphin/os/OSException.h>
#include <dolphin/os/OSExi.h>
#include <dolphin/os/OSFont.h>
#include <dolphin/os/OSInterrupt.h>
#include <dolphin/os/OSLink.h>
#include <dolphin/os/OSMemory.h>
#include <dolphin/os/OSMutex.h>
#include <dolphin/os/OSReset.h>
#include <dolphin/os/OSResetSW.h>
#include <dolphin/os/OSSerial.h>
#include <dolphin/os/OSSync.h>
#include <dolphin/os/OSThread.h>
#include <dolphin/os/OSTime.h>
Go to the source code of this file.
Macros | |
#define | OS_SOUND_MODE_MONO 0 |
#define | OS_SOUND_MODE_STEREO 1 |
#define | OSRoundUp32B(x) (((u32) (x) + 32 - 1) & ~(32 - 1)) |
#define | OSRoundDown32B(x) (((u32) (x)) & ~(32 - 1)) |
#define | OS_CACHED_REGION_PREFIX 0x8000 |
#define | OS_BASE_CACHED (OS_CACHED_REGION_PREFIX << 16) |
#define | OSPhysicalToCached(paddr) ((void*) ((u32) (paddr) + OS_BASE_CACHED)) |
#define | OSPhysicalToUncached(paddr) ((void*) ((u32) (paddr) - 0x40000000)) |
#define OS_SOUND_MODE_MONO 0 |
#define OS_SOUND_MODE_STEREO 1 |
#define OSRoundUp32B | ( | x | ) | (((u32) (x) + 32 - 1) & ~(32 - 1)) |
#define OSRoundDown32B | ( | x | ) | (((u32) (x)) & ~(32 - 1)) |
#define OS_CACHED_REGION_PREFIX 0x8000 |
#define OS_BASE_CACHED (OS_CACHED_REGION_PREFIX << 16) |
#define OSPhysicalToCached | ( | paddr | ) | ((void*) ((u32) (paddr) + OS_BASE_CACHED)) |
#define OSPhysicalToUncached | ( | paddr | ) | ((void*) ((u32) (paddr) - 0x40000000)) |