1#ifndef M_DO_M_DO_DVD_THREAD_H
2#define M_DO_M_DO_DVD_THREAD_H
9#define mDoDvd_MOUNT_DIRECTION_HEAD 0
10#define mDoDvd_MOUNT_DIRECTION_TAIL 1
15typedef void* (*mDoDvdThd_callback_func)(
void*);
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Definition JKRArchive.h:57
EMountMode
Definition JKRArchive.h:96
Definition JKRMemArchive.h:15
Definition m_Do_dvd_thread.h:98
static mDoDvdThd_callback_c * create(mDoDvdThd_callback_func, void *)
Definition m_Do_dvd_thread.cpp:140
virtual ~mDoDvdThd_callback_c()
Definition m_Do_dvd_thread.cpp:130
void * mData
Definition m_Do_dvd_thread.h:107
void * mResult
Definition m_Do_dvd_thread.h:108
virtual s32 execute()
Definition m_Do_dvd_thread.cpp:151
mDoDvdThd_callback_func mFunction
Definition m_Do_dvd_thread.h:106
Definition m_Do_dvd_thread.h:17
mDoDvdThd_command_c()
Definition m_Do_dvd_thread.cpp:124
virtual ~mDoDvdThd_command_c()
Definition m_Do_dvd_thread.cpp:57
void destroy()
Definition m_Do_dvd_thread.h:25
s32 sync()
Definition m_Do_dvd_thread.h:24
bool mIsDone
Definition m_Do_dvd_thread.h:19
Definition m_Do_dvd_thread.h:81
JKRHeap * mHeap
Definition m_Do_dvd_thread.h:95
virtual ~mDoDvdThd_mountArchive_c()
Definition m_Do_dvd_thread.cpp:159
JKRMemArchive * getArchive() const
Definition m_Do_dvd_thread.h:88
JKRHeap * getHeap() const
Definition m_Do_dvd_thread.h:89
s32 mEntryNumber
Definition m_Do_dvd_thread.h:93
static mDoDvdThd_mountArchive_c * create(char const *, u8, JKRHeap *)
Definition m_Do_dvd_thread.cpp:175
u8 mMountDirection
Definition m_Do_dvd_thread.h:92
virtual s32 execute()
Definition m_Do_dvd_thread.cpp:194
JKRMemArchive * mArchive
Definition m_Do_dvd_thread.h:94
Definition m_Do_dvd_thread.h:63
u8 mMountDirection
Definition m_Do_dvd_thread.h:74
JKRArchive * getArchive() const
Definition m_Do_dvd_thread.h:71
s32 mEntryNum
Definition m_Do_dvd_thread.h:75
JKRArchive::EMountMode mMountMode
Definition m_Do_dvd_thread.h:77
static mDoDvdThd_mountXArchive_c * create(char const *, u8, JKRArchive::EMountMode, JKRHeap *)
Definition m_Do_dvd_thread.cpp:266
virtual ~mDoDvdThd_mountXArchive_c()
Definition m_Do_dvd_thread.cpp:249
virtual s32 execute()
Definition m_Do_dvd_thread.cpp:287
JKRHeap * mHeap
Definition m_Do_dvd_thread.h:78
JKRArchive * mArchive
Definition m_Do_dvd_thread.h:76
Definition m_Do_dvd_thread.h:46
OSMutex mMutext
Definition m_Do_dvd_thread.h:60
void addition(mDoDvdThd_command_c *)
Definition m_Do_dvd_thread.cpp:84
void cut(mDoDvdThd_command_c *)
Definition m_Do_dvd_thread.cpp:93
void kick()
Definition m_Do_dvd_thread.cpp:67
node_list_class mNodeList
Definition m_Do_dvd_thread.h:59
s32 waitForKick()
Definition m_Do_dvd_thread.cpp:73
mDoDvdThd_command_c * getFirstCommand()
Definition m_Do_dvd_thread.cpp:78
OSMessageQueue mMessageQueue
Definition m_Do_dvd_thread.h:57
void * mMessageQueueMessages
Definition m_Do_dvd_thread.h:58
void mainLoop()
Definition m_Do_dvd_thread.cpp:110
mDoDvdThd_param_c()
Definition m_Do_dvd_thread.cpp:60
Definition m_Do_dvd_thread.h:29
static mDoDvdThd_toMainRam_c * create(char const *, u8, JKRHeap *)
Definition m_Do_dvd_thread.cpp:307
virtual s32 execute()
Definition m_Do_dvd_thread.cpp:330
JKRHeap * mHeap
Definition m_Do_dvd_thread.h:43
u8 mMountDirection
Definition m_Do_dvd_thread.h:39
s32 mEntryNum
Definition m_Do_dvd_thread.h:40
s32 mDataSize
Definition m_Do_dvd_thread.h:42
virtual ~mDoDvdThd_toMainRam_c()
Definition m_Do_dvd_thread.cpp:326
void * mData
Definition m_Do_dvd_thread.h:41
void * getMemAddress() const
Definition m_Do_dvd_thread.h:36
void *(* mDoDvdThd_callback_func)(void *)
Definition m_Do_dvd_thread.h:15
struct mDoDvdThd __attribute__
void main()
Definition m_Do_main.cpp:506
Definition OSMessage.h:12
Definition m_Do_dvd_thread.h:111
u8 stack[4096]
Definition m_Do_dvd_thread.h:112
Definition m_Do_dvd_thread.h:115
static void suspend()
Definition m_Do_dvd_thread.cpp:46
static OSThread l_thread
Definition m_Do_dvd_thread.h:120
static mDoDvdThdStack l_threadStack
Definition m_Do_dvd_thread.h:121
static mDoDvdThd_param_c l_param
Definition m_Do_dvd_thread.h:122
static void create(s32)
Definition m_Do_dvd_thread.cpp:39
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8