Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
CARDPriv.h File Reference

Go to the source code of this file.

Classes

struct  CARDDir
 
struct  CARDDirCheck
 
struct  CARDControl
 
struct  CARDID
 

Typedefs

typedef struct DVDDiskID DVDDiskID
 
typedef struct CARDDir CARDDir
 
typedef struct CARDDirCheck CARDDirCheck
 
typedef struct CARDControl CARDControl
 
typedef struct CARDID CARDID
 

Functions

void __CARDDefaultApiCallback (s32 chan, s32 result)
 
s32 __CARDEraseSector (s32 chan, u32 addr, CARDCallback callback)
 
s32 __CARDPutControlBlock (struct CARDControl *card, s32 result)
 
void __CARDSyncCallback (s32 chan, s32 result)
 
u16__CARDGetFatBlock (CARDControl *card)
 
void __CARDExtHandler (s32 chan, OSContext *context)
 
void __CARDExiHandler (s32 chan, OSContext *context)
 
void __CARDTxHandler (s32 chan, OSContext *context)
 
void __CARDUnlockedHandler (s32 chan, OSContext *context)
 
s32 __CARDEnableInterrupt (s32 chan, BOOL enable)
 
s32 __CARDReadStatus (s32 chan, u8 *status)
 
s32 __CARDReadVendorID (s32 chan, u16 *vendorId)
 
s32 __CARDClearStatus (s32 chan)
 
s32 __CARDStart (s32 chan, CARDCallback txCallback, CARDCallback exiCallback)
 
s32 __CARDReadSegment (s32 chan, CARDCallback callback)
 
s32 __CARDWritePage (s32 chan, CARDCallback callback)
 
u16 __CARDGetFontEncode (void)
 
void __CARDSetDiskID (const DVDDiskID *id)
 
s32 __CARDGetControlBlock (s32 chan, struct CARDControl **pcard)
 
s32 __CARDSync (s32 chan)
 
s32 __CARDAllocBlock (s32 chan, u32 cBlock, CARDCallback callback)
 
s32 __CARDUpdateFatBlock (s32 chan, u16 *fat, CARDCallback callback)
 
void __CARDCheckSum (void *ptr, int length, u16 *checksum, u16 *checksumInv)
 
s32 __CARDVerify (CARDControl *card)
 
CARDDir__CARDGetDirBlock (CARDControl *card)
 
s32 __CARDUpdateDir (s32 chan, CARDCallback callback)
 
s32 __CARDFormatRegionAsync (s32 chan, u16 encode, CARDCallback callback)
 
void __CARDMountCallback (s32 chan, s32 result)
 
BOOL __CARDCompareFileName (CARDDir *ent, const char *fileName)
 
s32 __CARDAccess (CARDControl *card, CARDDir *ent)
 
s32 __CARDIsWritable (CARDControl *card, CARDDir *ent)
 
s32 __CARDIsReadable (CARDControl *card, CARDDir *ent)
 
s32 __CARDRead (s32 chan, u32 addr, s32 length, void *dst, CARDCallback callback)
 
s32 __CARDWrite (s32 chan, u32 addr, s32 length, void *dst, CARDCallback callback)
 
s32 __CARDSeek (CARDFileInfo *fileInfo, s32 length, s32 offset, CARDControl **pcard)
 
s32 __CARDUnlock (s32 chan, u8 flashID[12])
 

Variables

CARDControl __CARDBlock [2]
 
DVDDiskID __CARDDiskNone
 
u16 __CARDVendorID
 
u8 data_80450A72
 

Typedef Documentation

◆ CARDControl

◆ CARDDir

◆ CARDDirCheck

◆ CARDID

◆ DVDDiskID

Function Documentation

◆ __CARDAccess()

s32 __CARDAccess ( CARDControl card,
CARDDir ent 
)

◆ __CARDAllocBlock()

s32 __CARDAllocBlock ( s32  chan,
u32  cBlock,
CARDCallback  callback 
)

◆ __CARDCheckSum()

void __CARDCheckSum ( void ptr,
int  length,
u16 checksum,
u16 checksumInv 
)

◆ __CARDClearStatus()

s32 __CARDClearStatus ( s32  chan)

◆ __CARDCompareFileName()

BOOL __CARDCompareFileName ( CARDDir ent,
const char fileName 
)

◆ __CARDDefaultApiCallback()

void __CARDDefaultApiCallback ( s32  chan,
s32  result 
)

◆ __CARDEnableInterrupt()

s32 __CARDEnableInterrupt ( s32  chan,
BOOL  enable 
)

◆ __CARDEraseSector()

s32 __CARDEraseSector ( s32  chan,
u32  addr,
CARDCallback  callback 
)

◆ __CARDExiHandler()

void __CARDExiHandler ( s32  chan,
OSContext context 
)

◆ __CARDExtHandler()

void __CARDExtHandler ( s32  chan,
OSContext context 
)

◆ __CARDFormatRegionAsync()

s32 __CARDFormatRegionAsync ( s32  chan,
u16  encode,
CARDCallback  callback 
)

◆ __CARDGetControlBlock()

s32 __CARDGetControlBlock ( s32  chan,
struct CARDControl **  pcard 
)

◆ __CARDGetDirBlock()

CARDDir * __CARDGetDirBlock ( CARDControl card)

◆ __CARDGetFatBlock()

u16 * __CARDGetFatBlock ( CARDControl card)

◆ __CARDGetFontEncode()

u16 __CARDGetFontEncode ( void  )

◆ __CARDIsReadable()

s32 __CARDIsReadable ( CARDControl card,
CARDDir ent 
)

◆ __CARDIsWritable()

s32 __CARDIsWritable ( CARDControl card,
CARDDir ent 
)

◆ __CARDMountCallback()

void __CARDMountCallback ( s32  chan,
s32  result 
)

◆ __CARDPutControlBlock()

s32 __CARDPutControlBlock ( struct CARDControl card,
s32  result 
)

◆ __CARDRead()

s32 __CARDRead ( s32  chan,
u32  addr,
s32  length,
void dst,
CARDCallback  callback 
)

◆ __CARDReadSegment()

s32 __CARDReadSegment ( s32  chan,
CARDCallback  callback 
)

◆ __CARDReadStatus()

s32 __CARDReadStatus ( s32  chan,
u8 status 
)

◆ __CARDReadVendorID()

s32 __CARDReadVendorID ( s32  chan,
u16 vendorId 
)

◆ __CARDSeek()

s32 __CARDSeek ( CARDFileInfo fileInfo,
s32  length,
s32  offset,
CARDControl **  pcard 
)

◆ __CARDSetDiskID()

void __CARDSetDiskID ( const DVDDiskID id)

◆ __CARDStart()

s32 __CARDStart ( s32  chan,
CARDCallback  txCallback,
CARDCallback  exiCallback 
)

◆ __CARDSync()

s32 __CARDSync ( s32  chan)

◆ __CARDSyncCallback()

void __CARDSyncCallback ( s32  chan,
s32  result 
)

◆ __CARDTxHandler()

void __CARDTxHandler ( s32  chan,
OSContext context 
)

◆ __CARDUnlock()

s32 __CARDUnlock ( s32  chan,
u8  flashID[12] 
)

◆ __CARDUnlockedHandler()

void __CARDUnlockedHandler ( s32  chan,
OSContext context 
)

◆ __CARDUpdateDir()

s32 __CARDUpdateDir ( s32  chan,
CARDCallback  callback 
)

◆ __CARDUpdateFatBlock()

s32 __CARDUpdateFatBlock ( s32  chan,
u16 fat,
CARDCallback  callback 
)

◆ __CARDVerify()

s32 __CARDVerify ( CARDControl card)

◆ __CARDWrite()

s32 __CARDWrite ( s32  chan,
u32  addr,
s32  length,
void dst,
CARDCallback  callback 
)

◆ __CARDWritePage()

s32 __CARDWritePage ( s32  chan,
CARDCallback  callback 
)

Variable Documentation

◆ __CARDBlock

CARDControl __CARDBlock[2]
extern

◆ __CARDDiskNone

DVDDiskID __CARDDiskNone
extern

◆ __CARDVendorID

u16 __CARDVendorID
extern

◆ data_80450A72

u8 data_80450A72
extern