1#ifndef M_DO_M_DO_MEMCARD_H
2#define M_DO_M_DO_MEMCARD_H
s32 CARDGetSerialNo(s32 chan, u64 *serialNo)
Definition CARDNet.c:12
s32 CARDGetStatus(s32 chan, s32 fileNo, CARDStat *stat)
Definition CARDStat.c:67
s32 CARDSetStatus(s32 chan, s32 fileNo, CARDStat *stat)
Definition CARDStat.c:149
static OSTime buffer
Definition ai.c:202
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition m_Do_MemCard.h:8
void setCardStatus(s32 fileNo, CARDStat *stat)
Definition m_Do_MemCard.h:48
OSMutex mMutex
Definition m_Do_MemCard.h:62
s32 loadfile()
Definition m_Do_MemCard.cpp:429
void update()
Definition m_Do_MemCard.cpp:75
u8 getProbeStat()
Definition m_Do_MemCard.h:42
void load()
Definition m_Do_MemCard.cpp:102
void restore()
Definition m_Do_MemCard.cpp:112
void ThdInit()
Definition m_Do_MemCard.cpp:24
void main()
Definition m_Do_MemCard.cpp:42
bool isCardCommNone()
Definition m_Do_MemCard.h:41
u32 getDataVersion()
Definition m_Do_MemCard.h:45
s32 FormatSync()
Definition m_Do_MemCard.cpp:308
u8 mCopyToPos
Definition m_Do_MemCard.h:57
s32 LoadSync(void *, u32, u32)
Definition m_Do_MemCard.cpp:133
s32 mount()
Definition m_Do_MemCard.cpp:390
void format()
Definition m_Do_MemCard.cpp:291
void attach()
Definition m_Do_MemCard.cpp:331
CardCommand
Definition m_Do_MemCard.h:10
@ CARD_DETACH
Definition m_Do_MemCard.h:16
@ CARD_ATTACH
Definition m_Do_MemCard.h:15
@ CARD_NO_COMMAND
Definition m_Do_MemCard.h:11
@ CARD_FORMAT
Definition m_Do_MemCard.h:14
@ CARD_STORE
Definition m_Do_MemCard.h:13
@ CARD_RESTORE
Definition m_Do_MemCard.h:12
s32 field_0x1fc8
Definition m_Do_MemCard.h:61
void clearProbeStat()
Definition m_Do_MemCard.h:43
void store()
Definition m_Do_MemCard.cpp:167
mDoMemCd_Ctrl_c()
Definition m_Do_MemCard.cpp:14
u8 mProbeStat
Definition m_Do_MemCard.h:58
u64 mSerialNo
Definition m_Do_MemCard.h:65
void setDataVersion(u32 version)
Definition m_Do_MemCard.h:46
void getCardStatus(s32 fileNo, CARDStat *stat)
Definition m_Do_MemCard.h:47
void detach()
Definition m_Do_MemCard.cpp:379
s32 mCardState
Definition m_Do_MemCard.h:60
u8 mData[0x1FBC]
Definition m_Do_MemCard.h:55
void setSerialNo()
Definition m_Do_MemCard.h:49
s32 SaveSync()
Definition m_Do_MemCard.cpp:202
u8 mChannel
Definition m_Do_MemCard.h:56
u32 getStatus(u32)
Definition m_Do_MemCard.cpp:225
s32 checkspace()
Definition m_Do_MemCard.cpp:444
void save(void *, u32, u32)
Definition m_Do_MemCard.cpp:156
void command_format()
Definition m_Do_MemCard.cpp:282
void setCopyToPos(u8 param_0)
Definition m_Do_MemCard.h:44
s32 mCardCommand
Definition m_Do_MemCard.h:59
void setCardState(s32)
Definition m_Do_MemCard.cpp:466
u32 mNandState
Definition m_Do_MemCard.h:64
OSCond mCond
Definition m_Do_MemCard.h:63
u32 mDataVersion
Definition m_Do_MemCard.h:66
void command_attach()
Definition m_Do_MemCard.cpp:369
u32 mDoMemCd_LoadSync(void *buffer, u32 size, u32 index)
Definition m_Do_MemCard.h:119
void mDoMemCd_Format()
Definition m_Do_MemCard.h:95
void mDoMemCd_ThdInit()
Definition m_Do_MemCard.h:79
void mDoMemCd_setSerialNo()
Definition m_Do_MemCard.h:131
static int mDoMemCd_main(void *)
void mDoMemCd_clearProbeStat()
Definition m_Do_MemCard.h:87
s32 mDoMemCd_FormatSync()
Definition m_Do_MemCard.h:99
mDoMemCd_Ctrl_c g_mDoMemCd_control
Definition m_Do_MemCard.cpp:492
u8 mDoMemCd_getProbeStat()
Definition m_Do_MemCard.h:83
s32 mDoMemCd_SaveSync()
Definition m_Do_MemCard.h:103
void mDoMemCd_getCardStatus(s32 fileNo, CARDStat *stat)
Definition m_Do_MemCard.h:135
STATIC_ASSERT(sizeof(mDoMemCd_Ctrl_c)==8192)
u32 mDoMemCd_getStatus(u8 param_0)
Definition m_Do_MemCard.h:115
void mDoMemCd_setCopyToPos(u8 param_0)
Definition m_Do_MemCard.h:111
void mDoMemCd_save(void *i_data, u32 param_1, u32 param_2)
Definition m_Do_MemCard.h:91
void mDoMemCd_setCardStatus(s32 fileNo, CARDStat *stat)
Definition m_Do_MemCard.h:139
bool mDoMemCd_isCardCommNone()
Definition m_Do_MemCard.h:75
void mDoMemCd_setDataVersion(u32 version)
Definition m_Do_MemCard.h:127
u32 mDoMemCd_getDataVersion()
Definition m_Do_MemCard.h:123
void mDoMemCd_Load()
Definition m_Do_MemCard.h:107
unsigned long u32
Definition types.h:10
unsigned long long u64
Definition types.h:11
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8