SSBM Decomp
Loading...
Searching...
No Matches
CARDBios.h File Reference
#include <platform.h>
#include <dolphin/card/forward.h>
#include <dolphin/card.h>
#include <dolphin/os/OSContext.h>
#include <dolphin/os/OSExi.h>

Go to the source code of this file.

Functions

s32 __CARDEnableInterrupt (s32 chan, bool enable)
 
s32 __CARDEraseSector (s32 chan, u32 addr, CARDCallback callback)
 
s32 __CARDGetControlBlock (s32 chan, CARDControl **pcard)
 
s32 __CARDPutControlBlock (struct CARDControl *card, s32 result)
 
s32 __CARDReadSegment (s32 chan, CARDCallback callback)
 
s32 __CARDSync (s32 i)
 
s32 __CARDWritePage (s32 chan, CARDCallback callback)
 
void __CARDExiHandler (s32 chan, OSContext *context)
 
void __CARDExtHandler (s32 chan, OSContext *context)
 
void CARDInit (void)
 
s32 __CARDStart (s32 chan, CARDCallback txCallback, CARDCallback exiCallback)
 
s32 CARDFreeBlocks (s32 chan, s32 *byteNotUsed, s32 *filesNotUsed)
 
s32 CARDGetResultCode (s32 chan)
 
s32 CARDGetSectorSize (s32 chan, u32 *size)
 
void __CARDTxHandler (s32 chan, OSContext *context)
 
void __CARDUnlockedHandler (s32 chan, OSContext *context)
 

Function Documentation

◆ __CARDEnableInterrupt()

s32 __CARDEnableInterrupt ( s32  chan,
bool  enable 
)

◆ __CARDEraseSector()

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

◆ __CARDGetControlBlock()

s32 __CARDGetControlBlock ( s32  chan,
CARDControl **  pcard 
)

◆ __CARDPutControlBlock()

s32 __CARDPutControlBlock ( struct CARDControl card,
s32  result 
)

◆ __CARDReadSegment()

s32 __CARDReadSegment ( s32  chan,
CARDCallback  callback 
)

◆ __CARDSync()

s32 __CARDSync ( s32  i)

◆ __CARDWritePage()

s32 __CARDWritePage ( s32  chan,
CARDCallback  callback 
)

◆ __CARDExiHandler()

void __CARDExiHandler ( s32  chan,
OSContext context 
)

◆ __CARDExtHandler()

void __CARDExtHandler ( s32  chan,
OSContext context 
)

◆ CARDInit()

void CARDInit ( void  )

◆ __CARDStart()

s32 __CARDStart ( s32  chan,
CARDCallback  txCallback,
CARDCallback  exiCallback 
)
Todo:
Eliminate cast to CARDCallback.

◆ CARDFreeBlocks()

s32 CARDFreeBlocks ( s32  chan,
s32 byteNotUsed,
s32 filesNotUsed 
)

◆ CARDGetResultCode()

s32 CARDGetResultCode ( s32  chan)

◆ CARDGetSectorSize()

s32 CARDGetSectorSize ( s32  chan,
u32 size 
)

◆ __CARDTxHandler()

void __CARDTxHandler ( s32  chan,
OSContext context 
)

◆ __CARDUnlockedHandler()

void __CARDUnlockedHandler ( s32  chan,
OSContext context 
)