 |
xFSTK
1.8.1-5.311
Intel SoC Cross Platform Firmware & Software Tool Kit
|
Go to the documentation of this file.
18 #ifndef XFSTKDLDREXAMPLEPARALLEL_H
19 #define XFSTKDLDREXAMPLEPARALLEL_H
20 #include <QtCore/QCoreApplication>
60 void *
Arg()
const {
return Arg_;}
61 void Arg(
void* a){Arg_ = a;}
64 unsigned int ThreadId_;
73 explicit Dlthread(QObject *parent = 0);
85 #endif // XFSTKDLDREXAMPLEPARALLEL_H
void run()
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:108
void status(char *message, void *clientdata)
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:38
list< void * >::iterator it_done
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:52
void * threadobj
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:49
void Sleepms(int delay)
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:130
void(* xfstkstatuspfn)(char *status, void *)
Represents an optional status callback function that can be provided to xfstk API to obtain status in...
Definition: xfstkdldrapi.h:113
string gpflags
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:42
int failtargets
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:45
int totaltargets
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:53
list< void * > list_done
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:40
string osdnx
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:40
PXFSTKDEALLOC xfstkdealloc
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:35
PXFSTKALLOC xfstkalloc
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:34
string fwimage
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:39
DlThreadObj * obj
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:75
string usbsn
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:43
int failtargets
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:55
list< void * > list_running
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:39
void setobj(DlThreadObj *obj)
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:104
list< void * > list_running
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:49
Dlthread(QObject *parent=0)
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:95
QMutex ghMutex
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:25
int totaltargets
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:43
list< string > list_usbsn
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:37
list< string >::iterator it_usbsn
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:48
int main(int argc, char *argv[])
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:155
void * hthread
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:51
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:70
string osimage
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:41
xfstkstatuspfn statuscallback
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:45
list< void * > list_done
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:50
string fwdnx
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:38
virtual void settargetretrycount(int retries)
Sets the number of retries to perform during faulty USB I/O.
list< string > list_usbsn
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:47
list< string >::iterator it_usbsn
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:38
void status(char *message, void *clientdata)
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:28
int donetargets
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:54
virtual bool getlasterror(LastError *er)
Get the Last error from XFSTK API version string.
bool IsContains(list< void * > *list_checking, string *usbsn)
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:130
virtual void setwipeifwi(bool enable)
Not a POR feature, only a testing/debug feature.
virtual int getavailabletargets()
Reports the number of available targets connected to the host system.
void DoWork()
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:90
xfstkdldrapi *(* PXFSTKALLOC)()
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:30
unsigned long error_code
Definition: xfstkdldrapi.h:68
void(* PXFSTKDEALLOC)(xfstkdldrapi *)
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:31
virtual bool registerstatuscallback(xfstkstatuspfn statuspfn, void *clientdata)
Registers a callback with the xfstk api in order to obtain download status information.
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:55
void * hinstLib
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:33
QMutex ghListMutex
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:27
~Dlthread()
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:99
list< void * >::iterator it_running
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:51
char error_message[128]
Definition: xfstkdldrapi.h:69
QMutex ghListMutex
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:26
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:37
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:48
void Sleepms(int delay)
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:145
virtual void setusbreadwritedelay(unsigned long delayms)
Set the delay time for before each USB bulk read/write in miliseconds.
void Arg(void *a)
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:61
list< void * >::iterator it_running
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:41
string usbsn
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:50
string softfuse
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:44
int main(int argc, char *argv[])
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:138
void DldrRun(void *)
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:47
list< void * >::iterator it_done
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:42
Definition: xfstkdldrapi.h:124
QMutex ghMutex
Definition: xfstk-dldr-example-parallel-dynamic-load/xfstk-dldr-example-parallel.cpp:26
bool IsContains(list< void * > *list_checking, string *usbsn)
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:115
void * Arg() const
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:60
The last error happened during download.
Definition: xfstkdldrapi.h:67
int donetargets
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:44
virtual bool downloadmtfwosasync(char *fwdnx, char *fwimage, char *osdnx, char *osimage, char *gpflags, char *usbsn)
Performs parallel multitarget firmware and operating system download in async mode,...