|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
#include <stdio.h>#include <tamtypes.h>#include <kernel.h>#include <sifrpc.h>#include <string.h>#include <libcdvd.h>#include <stdarg.h>#include <iopcontrol.h>#include "internal.h"Go to the source code of this file.
Classes | |
| struct | CdInitPkt |
| struct | SearchFilePkt |
Macros | |
| #define | CD_SERVER_INIT 0x80000592 |
| #define | CD_SERVER_SEARCHFILE 0x80000597 |
| #define | CD_SERVER_DISKREADY 0x8000059A |
| #define | CD_SERVER_POFF 0x80000596 |
Functions | |
| void | _CdSemaExit (void) |
| SifRpcClientData_t clientInit | __attribute__ ((aligned(64))) |
| s32 | sceCdInit (s32 mode) |
| sceCdlLOCCD * | sceCdIntToPos (u32 i, sceCdlLOCCD *p) |
| u32 | sceCdPosToInt (sceCdlLOCCD *p) |
| s32 | sceCdSearchFile (sceCdlFILE *file, const char *name) |
| s32 | sceCdDiskReady (s32 mode) |
| void | _CdSemaInit (void) |
| s32 | sceCdInitEeCB (s32 priority, void *stackAddr, s32 stackSize) |
| sceCdCBFunc | sceCdCallback (sceCdCBFunc newFunc) |
| void | _CdGenericCallbackFunction (void *funcNum) |
Variables | |
| void * | _gp |
| int | initVersionCdvdfsv |
| int | initVersionCdvdman |
| int | CdDebug = 0 |
| int | callbackSemaId |
| volatile int | cbSema = 0 |
| volatile int | CdCallbackNum |
| volatile sceCdCBFunc | sceCdCallbackFunc |
| int | callbackThreadId = 0 |
| ee_thread_t | callbackThreadParam |
| SifRpcClientData_t | clientInit |
| SifRpcClientData_t | clientDiskReady |
| SifRpcClientData_t | clientSearchFile |
| s32 | diskReadyMode |
| u32 | initMode |
| CdInitPkt | cdInitRecvBuff |
| SearchFilePkt | searchFileSendBuff |
Function definitions for libsceCdvd (EE side calls to the iop module sceCdvdfsv).
NOTE: These functions will work with the CDVDMAN/CDVDFSV or XCDVDMAN/XCDVDFSV modules stored in rom0.
NOTE: not all functions work with each set of modules!
Definition in file libcdvd.c.
| SifRpcClientData_t clientInit __attribute__ | ( | (aligned(64)) | ) |
| void _CdGenericCallbackFunction | ( | void * | funcNum | ) |
| sceCdCBFunc sceCdCallback | ( | sceCdCBFunc | function | ) |
| s32 sceCdInitEeCB | ( | s32 | priority, |
| void * | stackAddr, | ||
| s32 | stackSize ) |
| sceCdlLOCCD * sceCdIntToPos | ( | u32 | i, |
| sceCdlLOCCD * | p ) |
| u32 sceCdPosToInt | ( | sceCdlLOCCD * | p | ) |
| s32 sceCdSearchFile | ( | sceCdlFILE * | file, |
| const char * | name ) |
|
extern |
allows access to gp reg value from linker script
| volatile int cbSema = 0 |
| int CdDebug = 0 |
| volatile sceCdCBFunc sceCdCallbackFunc |