|
SSBM Decomp
|
#include <dolphin/types.h>Go to the source code of this file.
Data Structures | |
| struct | DVDDiskID |
| struct | DVDCommandBlock |
| struct | DVDFileInfo |
| struct | DVDDir |
| struct | DVDDirEntry |
| struct | DVDBB2 |
| struct | DVDDriveInfo |
Typedefs | |
| typedef void(* | DVDCBCallback) (s32 result, DVDCommandBlock *block) |
| typedef void(* | DVDCallback) (s32 result, DVDFileInfo *fileInfo) |
Functions | |
| void | DVDDumpWaitingQueue (void) |
| int | DVDLowRead (void *addr, unsigned long length, unsigned long offset, void(*callback)(unsigned long)) |
| 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 () |
| void | DVDInit () |
| int | DVDReadAbsAsyncPrio (struct DVDCommandBlock *block, void *addr, long length, long offset, void(*callback)(long, struct DVDCommandBlock *), long prio) |
| int | DVDSeekAbsAsyncPrio (struct DVDCommandBlock *block, long offset, void(*callback)(long, struct DVDCommandBlock *), long prio) |
| int | DVDReadAbsAsyncForBS (struct DVDCommandBlock *block, void *addr, long length, long offset, void(*callback)(long, struct DVDCommandBlock *)) |
| int | DVDReadDiskID (struct DVDCommandBlock *block, struct DVDDiskID *diskID, void(*callback)(long, struct DVDCommandBlock *)) |
| int | DVDPrepareStreamAbsAsync (struct DVDCommandBlock *block, unsigned long length, unsigned long offset, void(*callback)(long, struct DVDCommandBlock *)) |
| int | DVDCancelStreamAsync (struct DVDCommandBlock *block, void(*callback)(long, struct DVDCommandBlock *)) |
| long | DVDCancelStream (struct DVDCommandBlock *block) |
| int | DVDStopStreamAtEndAsync (struct DVDCommandBlock *block, void(*callback)(long, struct DVDCommandBlock *)) |
| long | DVDStopStreamAtEnd (struct DVDCommandBlock *block) |
| int | DVDGetStreamErrorStatusAsync (struct DVDCommandBlock *block, void(*callback)(long, struct DVDCommandBlock *)) |
| long | DVDGetStreamErrorStatus (struct DVDCommandBlock *block) |
| int | DVDGetStreamPlayAddrAsync (struct DVDCommandBlock *block, void(*callback)(long, struct DVDCommandBlock *)) |
| long | DVDGetStreamPlayAddr (struct DVDCommandBlock *block) |
| int | DVDGetStreamStartAddrAsync (struct DVDCommandBlock *block, void(*callback)(long, struct DVDCommandBlock *)) |
| long | DVDGetStreamStartAddr (struct DVDCommandBlock *block) |
| int | DVDGetStreamLengthAsync (struct DVDCommandBlock *block, void(*callback)(long, struct DVDCommandBlock *)) |
| long | DVDGetStreamLength (struct DVDCommandBlock *block) |
| int | DVDChangeDiskAsyncForBS (struct DVDCommandBlock *block, void(*callback)(long, struct DVDCommandBlock *)) |
| int | DVDChangeDiskAsync (struct DVDCommandBlock *block, struct DVDDiskID *id, void(*callback)(long, struct DVDCommandBlock *)) |
| long | DVDChangeDisk (struct DVDCommandBlock *block, struct DVDDiskID *id) |
| int | DVDInquiryAsync (struct DVDCommandBlock *block, struct DVDDriveInfo *info, void(*callback)(long, struct DVDCommandBlock *)) |
| long | DVDInquiry (struct DVDCommandBlock *block, struct DVDDriveInfo *info) |
| void | DVDReset () |
| int | DVDResetRequired () |
| long | DVDGetCommandBlockStatus (struct DVDCommandBlock *block) |
| long | DVDGetDriveStatus () |
| int | DVDSetAutoInvalidation (int autoInval) |
| void | DVDPause () |
| void | DVDResume () |
| int | DVDCancelAsync (struct DVDCommandBlock *block, void(*callback)(long, struct DVDCommandBlock *)) |
| long | DVDCancel (volatile struct DVDCommandBlock *block) |
| int | DVDCancelAllAsync (DVDCBCallback callback) |
| long | DVDCancelAll (void) |
| struct DVDDiskID * | DVDGetCurrentDiskID (void) |
| BOOL | DVDCheckDisk (void) |
| s32 | DVDConvertPathToEntrynum (const char *pathPtr) |
| BOOL | DVDFastOpen (s32 entrynum, DVDFileInfo *fileInfo) |
| BOOL | DVDOpen (char *fileName, DVDFileInfo *fileInfo) |
| BOOL | DVDClose (DVDFileInfo *fileInfo) |
| BOOL | DVDGetCurrentDir (char *path, u32 maxlen) |
| BOOL | DVDChangeDir (char *dirName) |
| BOOL | DVDReadAsyncPrio (DVDFileInfo *fileInfo, void *addr, s32 length, s32 offset, DVDCallback callback, s32 prio) |
| long | DVDReadPrio (struct DVDFileInfo *fileInfo, void *addr, long length, long offset, long prio) |
| int | DVDSeekAsyncPrio (struct DVDFileInfo *fileInfo, long offset, void(*callback)(long, struct DVDFileInfo *), long prio) |
| long | DVDSeekPrio (struct DVDFileInfo *fileInfo, long offset, long prio) |
| long | DVDGetFileInfoStatus (struct DVDFileInfo *fileInfo) |
| int | DVDOpenDir (char *dirName, DVDDir *dir) |
| int | DVDReadDir (DVDDir *dir, DVDDirEntry *dirent) |
| int | DVDCloseDir (DVDDir *dir) |
| void * | DVDGetFSTLocation () |
| BOOL | DVDPrepareStreamAsync (DVDFileInfo *fileInfo, u32 length, u32 offset, DVDCallback callback) |
| s32 | DVDPrepareStream (DVDFileInfo *fileInfo, u32 length, u32 offset) |
| s32 | DVDGetTransferredSize (DVDFileInfo *fileinfo) |
| void | __DVDStoreErrorCode (u32 error) |
Variables | |
| void(*)(unsigned long) | DVDLowSetResetCoverCallback (void(*callback)(unsigned long)) |
| void(*)(unsigned long) | DVDLowClearCallback () |
| #define DVDReadAsync | ( | fileInfo, | |
| addr, | |||
| length, | |||
| offset, | |||
| callback ) |
| #define DVD_RESULT_GOOD 0 |
| #define DVD_RESULT_FATAL_ERROR -1 |
| #define DVD_RESULT_IGNORED -2 |
| #define DVD_RESULT_CANCELED -6 |
| #define DVD_STATE_FATAL_ERROR -1 |
| #define DVD_STATE_END 0 |
| #define DVD_STATE_BUSY 1 |
| #define DVD_STATE_WAITING 2 |
| #define DVD_STATE_COVER_CLOSED 3 |
| #define DVD_STATE_NO_DISK 4 |
| #define DVD_STATE_COVER_OPEN 5 |
| #define DVD_STATE_WRONG_DISK 6 |
| #define DVD_STATE_MOTOR_STOPPED 7 |
| #define DVD_STATE_PAUSING 8 |
| #define DVD_STATE_IGNORED 9 |
| #define DVD_STATE_CANCELED 10 |
| #define DVD_STATE_RETRY 11 |
| #define DVD_MIN_TRANSFER_SIZE 32 |
| #define DVD_INTTYPE_TC 1 |
| #define DVD_INTTYPE_DE 2 |
| #define DVD_INTTYPE_CVR 4 |
| #define DVD_COMMAND_NONE 0 |
| #define DVD_COMMAND_READ 1 |
| #define DVD_COMMAND_SEEK 2 |
| #define DVD_COMMAND_CHANGE_DISK 3 |
| #define DVD_COMMAND_BSREAD 4 |
| #define DVD_COMMAND_READID 5 |
| #define DVD_COMMAND_INITSTREAM 6 |
| #define DVD_COMMAND_CANCELSTREAM 7 |
| #define DVD_COMMAND_STOP_STREAM_AT_END 8 |
| #define DVD_COMMAND_REQUEST_AUDIO_ERROR 9 |
| #define DVD_COMMAND_REQUEST_PLAY_ADDR 10 |
| #define DVD_COMMAND_REQUEST_START_ADDR 11 |
| #define DVD_COMMAND_REQUEST_LENGTH 12 |
| #define DVD_COMMAND_AUDIO_BUFFER_CONFIG 13 |
| #define DVD_COMMAND_INQUIRY 14 |
| #define DVD_COMMAND_BS_CHANGE_DISK 15 |
| typedef void(* DVDCBCallback) (s32 result, DVDCommandBlock *block) |
| typedef void(* DVDCallback) (s32 result, DVDFileInfo *fileInfo) |
| void DVDDumpWaitingQueue | ( | void | ) |
| int DVDLowRead | ( | void * | addr, |
| unsigned long | length, | ||
| unsigned long | offset, | ||
| void(* | callback )(unsigned long) ) |
| 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 | ( | ) |
| void DVDInit | ( | ) |
| int DVDReadAbsAsyncPrio | ( | struct DVDCommandBlock * | block, |
| void * | addr, | ||
| long | length, | ||
| long | offset, | ||
| void(* | callback )(long, struct DVDCommandBlock *), | ||
| long | prio ) |
| int DVDSeekAbsAsyncPrio | ( | struct DVDCommandBlock * | block, |
| long | offset, | ||
| void(* | callback )(long, struct DVDCommandBlock *), | ||
| long | prio ) |
| int DVDReadAbsAsyncForBS | ( | struct DVDCommandBlock * | block, |
| void * | addr, | ||
| long | length, | ||
| long | offset, | ||
| void(* | callback )(long, struct DVDCommandBlock *) ) |
| int DVDReadDiskID | ( | struct DVDCommandBlock * | block, |
| struct DVDDiskID * | diskID, | ||
| void(* | callback )(long, struct DVDCommandBlock *) ) |
| int DVDPrepareStreamAbsAsync | ( | struct DVDCommandBlock * | block, |
| unsigned long | length, | ||
| unsigned long | offset, | ||
| void(* | callback )(long, struct DVDCommandBlock *) ) |
| int DVDCancelStreamAsync | ( | struct DVDCommandBlock * | block, |
| void(* | callback )(long, struct DVDCommandBlock *) ) |
| long DVDCancelStream | ( | struct DVDCommandBlock * | block | ) |
| int DVDStopStreamAtEndAsync | ( | struct DVDCommandBlock * | block, |
| void(* | callback )(long, struct DVDCommandBlock *) ) |
| long DVDStopStreamAtEnd | ( | struct DVDCommandBlock * | block | ) |
| int DVDGetStreamErrorStatusAsync | ( | struct DVDCommandBlock * | block, |
| void(* | callback )(long, struct DVDCommandBlock *) ) |
| long DVDGetStreamErrorStatus | ( | struct DVDCommandBlock * | block | ) |
| int DVDGetStreamPlayAddrAsync | ( | struct DVDCommandBlock * | block, |
| void(* | callback )(long, struct DVDCommandBlock *) ) |
| long DVDGetStreamPlayAddr | ( | struct DVDCommandBlock * | block | ) |
| int DVDGetStreamStartAddrAsync | ( | struct DVDCommandBlock * | block, |
| void(* | callback )(long, struct DVDCommandBlock *) ) |
| long DVDGetStreamStartAddr | ( | struct DVDCommandBlock * | block | ) |
| int DVDGetStreamLengthAsync | ( | struct DVDCommandBlock * | block, |
| void(* | callback )(long, struct DVDCommandBlock *) ) |
| long DVDGetStreamLength | ( | struct DVDCommandBlock * | block | ) |
| int DVDChangeDiskAsyncForBS | ( | struct DVDCommandBlock * | block, |
| void(* | callback )(long, struct DVDCommandBlock *) ) |
| int DVDChangeDiskAsync | ( | struct DVDCommandBlock * | block, |
| struct DVDDiskID * | id, | ||
| void(* | callback )(long, struct DVDCommandBlock *) ) |
| long DVDChangeDisk | ( | struct DVDCommandBlock * | block, |
| struct DVDDiskID * | id ) |
| int DVDInquiryAsync | ( | struct DVDCommandBlock * | block, |
| struct DVDDriveInfo * | info, | ||
| void(* | callback )(long, struct DVDCommandBlock *) ) |
| long DVDInquiry | ( | struct DVDCommandBlock * | block, |
| struct DVDDriveInfo * | info ) |
| void DVDReset | ( | ) |
| int DVDResetRequired | ( | ) |
| long DVDGetCommandBlockStatus | ( | struct DVDCommandBlock * | block | ) |
| long DVDGetDriveStatus | ( | ) |
| int DVDSetAutoInvalidation | ( | int | autoInval | ) |
| void DVDPause | ( | ) |
| void DVDResume | ( | ) |
| int DVDCancelAsync | ( | struct DVDCommandBlock * | block, |
| void(* | callback )(long, struct DVDCommandBlock *) ) |
| long DVDCancel | ( | volatile struct DVDCommandBlock * | block | ) |
| int DVDCancelAllAsync | ( | DVDCBCallback | callback | ) |
| long DVDCancelAll | ( | void | ) |
| struct DVDDiskID * DVDGetCurrentDiskID | ( | void | ) |
| BOOL DVDCheckDisk | ( | void | ) |
| s32 DVDConvertPathToEntrynum | ( | const char * | pathPtr | ) |
| BOOL DVDFastOpen | ( | s32 | entrynum, |
| DVDFileInfo * | fileInfo ) |
| BOOL DVDOpen | ( | char * | fileName, |
| DVDFileInfo * | fileInfo ) |
| BOOL DVDClose | ( | DVDFileInfo * | fileInfo | ) |
| BOOL DVDChangeDir | ( | char * | dirName | ) |
| BOOL DVDReadAsyncPrio | ( | DVDFileInfo * | fileInfo, |
| void * | addr, | ||
| s32 | length, | ||
| s32 | offset, | ||
| DVDCallback | callback, | ||
| s32 | prio ) |
| long DVDReadPrio | ( | struct DVDFileInfo * | fileInfo, |
| void * | addr, | ||
| long | length, | ||
| long | offset, | ||
| long | prio ) |
| int DVDSeekAsyncPrio | ( | struct DVDFileInfo * | fileInfo, |
| long | offset, | ||
| void(* | callback )(long, struct DVDFileInfo *), | ||
| long | prio ) |
| long DVDSeekPrio | ( | struct DVDFileInfo * | fileInfo, |
| long | offset, | ||
| long | prio ) |
| long DVDGetFileInfoStatus | ( | struct DVDFileInfo * | fileInfo | ) |
| int DVDOpenDir | ( | char * | dirName, |
| DVDDir * | dir ) |
| int DVDReadDir | ( | DVDDir * | dir, |
| DVDDirEntry * | dirent ) |
| int DVDCloseDir | ( | DVDDir * | dir | ) |
| void * DVDGetFSTLocation | ( | ) |
| BOOL DVDPrepareStreamAsync | ( | DVDFileInfo * | fileInfo, |
| u32 | length, | ||
| u32 | offset, | ||
| DVDCallback | callback ) |
| s32 DVDPrepareStream | ( | DVDFileInfo * | fileInfo, |
| u32 | length, | ||
| u32 | offset ) |
| s32 DVDGetTransferredSize | ( | DVDFileInfo * | fileinfo | ) |
| void __DVDStoreErrorCode | ( | u32 | error | ) |
| void(*)(unsigned long) DVDLowSetResetCoverCallback(void(*callback)(unsigned long)) | ( | void(* | callback )(unsigned long) | ) |
| void(*)(unsigned long) DVDLowClearCallback() | ( | ) |