Searched refs:qt_t (Results 1 - 19 of 19) sorted by relevance

/gem5/ext/systemc/src/sysc/qt/
H A Dqt.h27 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 Dqt.c12 qt_t *
13 qt_vargs (qt_t *sp, int nbytes, void *vargs,
35 return ((qt_t *)QT_VADJ(sp));
H A Dstp.c22 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 Dmeas.c48 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 Daxp.h135 struct qt_t;
137 extern struct qt_t *qt_vargs (struct qt_t *sp, int nbytes,
H A Dm88k.h136 struct qt_t;
137 extern struct qt_t *qt_vargs (struct qt_t *sp, int nbytes,
H A Dpowerpc.c38 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 Dm88k.c62 ((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 Dhppa.h178 ((qt_t *)(((char *)sp) + QUICKTHREADS_STKROUNDUP(vasize + 4*4 + 32)))
182 #define QUICKTHREADS_VARGS_ADJUST(sp) ((qt_t *)(((char *)sp) - 32))
H A Daxp.c66 ((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 Dksr1.h154 ((qt_t *)(((char *)(sp)) - 4*8 - QUICKTHREADS_STKROUNDUP(vabytes)))
H A Dmips.h115 ((qt_t *)(((char *)(sp)) - 4*4 - QUICKTHREADS_STKROUNDUP(vabytes)))
H A Di386.h35 | %ebx <--- qt_t.sp
53 | %ebx === `vuserf' <--- qt_t.sp
125 ((qt_t *)(((char *)(sto)) - QUICKTHREADS_STKROUNDUP(nbytes)))
H A DiX86_64.h35 | %ebx <--- qt_t.sp
53 | %ebx === `vuserf' <--- qt_t.sp
133 ((qt_t *)(((char *)(sto)) - QUICKTHREADS_STKROUNDUP(nbytes)))
H A Dsparc.h41 | %l0 <--- qt_t.sp
68 | %l0 <--- qt_t.sp
125 ((qt_t *)(((char *)(sp)) - 8*4 - QUICKTHREADS_STKROUNDUP(vabytes)))
H A Dpowerpc_mach.h555 ((qt_t *)(((char *)(sp)) - \
581 ((qt_t *)qt_vargs_stdarg (sp, nbytes, vargs, pt, startup, vuserf, cleanup))
H A Dpowerpc_sys5.h510 ((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 Dsc_cor_qt.cpp190 sc_cor_qt_yieldhelp( qt_t* sp, void* old_cor, void* )
210 sc_cor_qt_aborthelp( qt_t*, void*, void* ) argument
H A Dsc_cor_qt.h71 qt_t* m_sp; // stack pointer

Completed in 24 milliseconds