|
SSBM Decomp
|
Data Structures | |
| struct | DVDCommand |
Typedefs | |
| typedef void(* | DVDLowCallback) (u32) |
Functions | |
| static void | __DVDLowSetWAType (u32, u32) |
| void | __DVDInitWA (void) |
| static void | Read (void *addr, u32 length, u32 offset, DVDLowCallback callback) |
| static BOOL | ProcessNextCommand (void) |
| void | __DVDInterruptHandler (short unused, struct OSContext *context) |
| static void | AlarmHandler (OSAlarm *alarm, OSContext *context) |
| static void | AlarmHandlerForTimeout (OSAlarm *alarm, OSContext *context) |
| static void | SetTimeoutAlarm (OSTime timeout) |
| static BOOL | HitCache (void) |
| static void | DoJustRead (void *addr, u32 length, u32 offset, DVDLowCallback callback) |
| static void | SeekTwiceBeforeRead (void *addr, u32 length, u32 offset, DVDLowCallback callback) |
| static void | WaitBeforeRead (void *addr, u32 length, u32 offset, DVDLowCallback callback, OSTime timeout) |
| BOOL | DVDLowRead (void *addr, u32 length, u32 offset, DVDLowCallback callback) |
| int | DVDLowSeek (unsigned long offset, void(*callback)(unsigned long)) |
| int | DVDLowWaitCoverClose (void(*callback)(unsigned long)) |
| int | DVDLowReadDiskID (struct DVDDiskID *diskID, void(*callback)(unsigned long)) |
| int | DVDLowStopMotor (void(*callback)(unsigned long)) |
| int | DVDLowRequestError (void(*callback)(unsigned long)) |
| int | DVDLowInquiry (struct DVDDriveInfo *info, void(*callback)(unsigned long)) |
| int | DVDLowAudioStream (unsigned long subcmd, unsigned long length, unsigned long offset, void(*callback)(unsigned long)) |
| int | DVDLowRequestAudioStatus (unsigned long subcmd, void(*callback)(unsigned long)) |
| int | DVDLowAudioBufferConfig (int enable, unsigned long size, void(*callback)(unsigned long)) |
| void | DVDLowReset () |
| int | DVDLowBreak () |
| unsigned long | DVDLowGetCoverStatus () |
Variables | |
| static DVDCommand | CommandList [3] |
| static OSAlarm | AlarmForWA |
| static OSAlarm | AlarmForTimeout |
| static OSAlarm | AlarmForBreak |
| struct { | |
| void * bootFilePosition | |
| u32 FSTPosition | |
| u32 FSTLength | |
| } | Prev |
| struct { | |
| void * bootFilePosition | |
| u32 FSTPosition | |
| u32 FSTLength | |
| } | Curr |
| static volatile BOOL | StopAtNextInt |
| static int | LastLength |
| static void(* | Callback )(unsigned long) |
| static void(* | ResetCoverCallback )(unsigned long) |
| static volatile long long | LastResetEnd |
| static volatile unsigned long | ResetOccurred |
| static volatile int | WaitingCoverClose |
| static volatile int | Breaking |
| static volatile u32 | WorkAroundType |
| static u32 | WorkAroundSeekLocation |
| static volatile OSTime | LastReadFinished |
| static volatile OSTime | LastReadIssued |
| static volatile BOOL | LastCommandWasRead |
| static volatile int | NextCommandNumber |
| static BOOL | FirstRead = TRUE |
| void(*)(unsigned long) | DVDLowSetResetCoverCallback (void(*callback)(unsigned long)) |
| void(*)(unsigned long) | DVDLowClearCallback () |
| typedef void(* DVDLowCallback) (u32) |
| void __DVDInitWA | ( | void | ) |
|
static |
|
static |
| void __DVDInterruptHandler | ( | short | unused, |
| struct OSContext * | context ) |
|
static |
|
static |
|
static |
|
static |
|
static |
| BOOL DVDLowRead | ( | void * | addr, |
| u32 | length, | ||
| u32 | offset, | ||
| DVDLowCallback | callback ) |
| int DVDLowSeek | ( | unsigned long | offset, |
| void(* | callback )(unsigned long) ) |
| int DVDLowWaitCoverClose | ( | void(* | callback )(unsigned long) | ) |
| int DVDLowReadDiskID | ( | struct DVDDiskID * | diskID, |
| void(* | callback )(unsigned long) ) |
| int DVDLowStopMotor | ( | void(* | callback )(unsigned long) | ) |
| int DVDLowRequestError | ( | void(* | callback )(unsigned long) | ) |
| int DVDLowInquiry | ( | struct DVDDriveInfo * | info, |
| void(* | callback )(unsigned long) ) |
| int DVDLowAudioStream | ( | unsigned long | subcmd, |
| unsigned long | length, | ||
| unsigned long | offset, | ||
| void(* | callback )(unsigned long) ) |
| int DVDLowRequestAudioStatus | ( | unsigned long | subcmd, |
| void(* | callback )(unsigned long) ) |
| int DVDLowAudioBufferConfig | ( | int | enable, |
| unsigned long | size, | ||
| void(* | callback )(unsigned long) ) |
| void DVDLowReset | ( | ) |
| int DVDLowBreak | ( | ) |
| unsigned long DVDLowGetCoverStatus | ( | ) |
|
static |
|
static |
|
static |
|
static |
| void* bootFilePosition |
| u32 FSTPosition |
| u32 FSTLength |
| struct { ... } Prev |
| struct { ... } Curr |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| void(*)(unsigned long) DVDLowSetResetCoverCallback(void(*callback)(unsigned long)) | ( | void(* | callback )(unsigned long) | ) |
| void(*)(unsigned long) DVDLowClearCallback() | ( | ) |