/gem5/ext/systemc/src/sysc/qt/ |
H A D | qt.h | 27 To restart a thread, you merely need pass the current sp (qt_t*) to 28 a QuickThreads primitive. `qt_t*' is a location on the stack. To 31 typedef struct qt_t { struct 33 } qt_t; typedef in typeref:struct:qt_t 48 #define QUICKTHREADS_SP(sto, size) ((qt_t *)(&((char *)(sto))[(size)])) 51 #define QUICKTHREADS_SP(sto, size) ((qt_t *)(sto)) 108 ((qt_t *)QUICKTHREADS_ADJ(sp))) 144 extern qt_t *qt_vargs (qt_t *sp, int nbytes, void *vargs, 158 typedef void *(qt_helper_t)(qt_t *ol [all...] |
H A D | qt.c | 12 qt_t * 13 qt_vargs (qt_t *sp, int nbytes, void *vargs, 35 return ((qt_t *)QT_VADJ(sp));
|
H A D | stp.c | 22 qt_t *sp; /* QuickThreads handle. */ 104 static void *stp_starthelp (qt_t *old, void *ignore0, void *ignore1); 106 static void *stp_aborthelp (qt_t *sp, void *old, void *null); 107 static void *stp_yieldhelp (qt_t *sp, void *old, void *blockq); 130 stp_starthelp (qt_t *old, void *ignore0, void *ignore1) 176 stp_aborthelp (qt_t *sp, void *old, void *null) 197 stp_yieldhelp (qt_t *sp, void *old, void *blockq)
|
H A D | meas.c | 48 qt_t *qt; /* Pointer to thread of function... */ 100 t_null (qt_t *old, void *p1, void *p2) 107 t_splat (qt_t *old, void *oldp, void *null) 109 *(qt_t **)oldp = old; 130 qt_t *top; 166 static qt_t *rootthread; 175 test02_aux2 (qt_t *old, void *farg1, void *farg2) 215 test03_aux0 (qt_t *old_is_garbage, void *farg1, void *farg2) 227 test03_aux1 (qt_t *old, void *farg1, void *farg2) 321 static qt_t *test06_s [all...] |
/gem5/ext/systemc/src/sysc/qt/md/ |
H A D | axp.h | 135 struct qt_t; 137 extern struct qt_t *qt_vargs (struct qt_t *sp, int nbytes,
|
H A D | m88k.h | 136 struct qt_t; 137 extern struct qt_t *qt_vargs (struct qt_t *sp, int nbytes,
|
H A D | powerpc.c | 38 qt_t *qt_vargs (qt_t *sp, int nbytes, void *vargs, 44 qt_t * 45 qt_vargs_stdarg (qt_t *sp, int nbytes, va_list vargs, 68 return ((qt_t *)QUICKTHREADS_VADJ(sp));
|
H A D | m88k.c | 62 ((qt_t *)(((char *)(sp)) - 8*4 - QUICKTHREADS_STKROUNDUP(vabytes))) 68 struct qt_t * 69 qt_vargs (struct qt_t *qsp, int nbytes, void *vargs, 110 return ((qt_t *)QUICKTHREADS_VADJ(sp));
|
H A D | hppa.h | 178 ((qt_t *)(((char *)sp) + QUICKTHREADS_STKROUNDUP(vasize + 4*4 + 32))) 182 #define QUICKTHREADS_VARGS_ADJUST(sp) ((qt_t *)(((char *)sp) - 32))
|
H A D | axp.c | 66 ((qt_t *)(((char *)(sp)) - 6*2*8 - QUICKTHREADS_STKROUNDUP(vabytes))) 89 struct qt_t * 90 qt_vargs (struct qt_t *qsp, int nbytes, struct va_list *vargs, 132 return ((qt_t *)QUICKTHREADS_VADJ(sp));
|
H A D | ksr1.h | 154 ((qt_t *)(((char *)(sp)) - 4*8 - QUICKTHREADS_STKROUNDUP(vabytes)))
|
H A D | mips.h | 115 ((qt_t *)(((char *)(sp)) - 4*4 - QUICKTHREADS_STKROUNDUP(vabytes)))
|
H A D | i386.h | 35 | %ebx <--- qt_t.sp 53 | %ebx === `vuserf' <--- qt_t.sp 125 ((qt_t *)(((char *)(sto)) - QUICKTHREADS_STKROUNDUP(nbytes)))
|
H A D | iX86_64.h | 35 | %ebx <--- qt_t.sp 53 | %ebx === `vuserf' <--- qt_t.sp 133 ((qt_t *)(((char *)(sto)) - QUICKTHREADS_STKROUNDUP(nbytes)))
|
H A D | sparc.h | 41 | %l0 <--- qt_t.sp 68 | %l0 <--- qt_t.sp 125 ((qt_t *)(((char *)(sp)) - 8*4 - QUICKTHREADS_STKROUNDUP(vabytes)))
|
H A D | powerpc_mach.h | 555 ((qt_t *)(((char *)(sp)) - \ 581 ((qt_t *)qt_vargs_stdarg (sp, nbytes, vargs, pt, startup, vuserf, cleanup))
|
H A D | powerpc_sys5.h | 510 ((qt_t *)(((char *)(sp)) - \ 536 ((qt_t *)qt_vargs_stdarg (sp, nbytes, vargs, pt, startup, vuserf, cleanup))
|
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_cor_qt.cpp | 190 sc_cor_qt_yieldhelp( qt_t* sp, void* old_cor, void* ) 210 sc_cor_qt_aborthelp( qt_t*, void*, void* ) argument
|
H A D | sc_cor_qt.h | 71 qt_t* m_sp; // stack pointer
|