Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

qt.h File Reference

#include <systemc/qt/qtmd.h>

Include dependency graph for qt.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

struct  qt_t

Defines

#define QUICKTHREADS_STKROUNDUP(bytes)   (((bytes)+QUICKTHREADS_STKALIGN) & ~(QUICKTHREADS_STKALIGN-1))
#define QUICKTHREADS_SPUT(top, at, val)   (((qt_word_t *)(top))[(at)] = (qt_word_t)(val))
#define QUICKTHREADS_ARGS_MD   (0)
#define QUICKTHREADS_ADJ(sp)   (((char *)sp) + QUICKTHREADS_STKBASE)
#define QUICKTHREADS_ARGS(sp, pu, pt, userf, only)
#define QUICKTHREADS_ABORT(h, a0, a1, newthread)   do { qt_abort (h, a0, a1, newthread); } while (0)
#define QUICKTHREADS_BLOCK(h, a0, a1, newthread)   (qt_block (h, a0, a1, newthread))
#define QUICKTHREADS_BLOCKI(h, a0, a1, newthread)   (qt_blocki (h, a0, a1, newthread))

Typedefs

typedef qt_t qt_t
typedef void *( qt_userf_t )(void *pu)
typedef void *( qt_vuserf_t )(int arg0,...)
typedef void( qt_only_t )(void *pu, void *pt, qt_userf_t *userf)
typedef void( qt_startup_t )(void *pt)
typedef void( qt_cleanup_t )(void *pt, void *vuserf_return)
typedef void *( qt_helper_t )(qt_t *old, void *a0, void *a1)
typedef void *( qt_block_t )(qt_helper_t *helper, void *a0, void *a1, qt_t *newthread)

Functions

void * qt_abort (qt_helper_t *h, void *a0, void *a1, qt_t *newthread)
void * qt_block (qt_helper_t *h, void *a0, void *a1, qt_t *newthread)
void * qt_blocki (qt_helper_t *h, void *a0, void *a1, qt_t *newthread)


Define Documentation

#define QUICKTHREADS_ABORT h,
a0,
a1,
newthread       do { qt_abort (h, a0, a1, newthread); } while (0)
 

Definition at line 169 of file qt.h.

Referenced by sc_cor_pkg_qt::abort().

#define QUICKTHREADS_ADJ sp       (((char *)sp) + QUICKTHREADS_STKBASE)
 

Definition at line 99 of file qt.h.

#define QUICKTHREADS_ARGS sp,
pu,
pt,
userf,
only   
 

Value:

(QUICKTHREADS_ARGS_MD (QUICKTHREADS_ADJ(sp)), \
     QUICKTHREADS_SPUT (QUICKTHREADS_ADJ(sp), QUICKTHREADS_ONLY_INDEX, only), \
     QUICKTHREADS_SPUT (QUICKTHREADS_ADJ(sp), QUICKTHREADS_USER_INDEX, userf), \
     QUICKTHREADS_SPUT (QUICKTHREADS_ADJ(sp), QUICKTHREADS_ARGT_INDEX, pt), \
     QUICKTHREADS_SPUT (QUICKTHREADS_ADJ(sp), QUICKTHREADS_ARGU_INDEX, pu), \
     ((qt_t *)QUICKTHREADS_ADJ(sp)))

Definition at line 102 of file qt.h.

Referenced by sc_cor_pkg_qt::create().

#define QUICKTHREADS_ARGS_MD   (0)
 

Definition at line 87 of file qt.h.

#define QUICKTHREADS_BLOCK h,
a0,
a1,
newthread       (qt_block (h, a0, a1, newthread))
 

Definition at line 176 of file qt.h.

Referenced by sc_cor_pkg_qt::yield().

#define QUICKTHREADS_BLOCKI h,
a0,
a1,
newthread       (qt_blocki (h, a0, a1, newthread))
 

Definition at line 183 of file qt.h.

#define QUICKTHREADS_SPUT top,
at,
val       (((qt_word_t *)(top))[(at)] = (qt_word_t)(val))
 

Definition at line 78 of file qt.h.

#define QUICKTHREADS_STKROUNDUP bytes       (((bytes)+QUICKTHREADS_STKALIGN) & ~(QUICKTHREADS_STKALIGN-1))
 

Definition at line 41 of file qt.h.


Typedef Documentation

typedef void*( qt_block_t)(qt_helper_t *helper, void *a0, void *a1, qt_t *newthread)
 

Definition at line 159 of file qt.h.

typedef void( qt_cleanup_t)(void *pt, void *vuserf_return)
 

Definition at line 73 of file qt.h.

typedef void*( qt_helper_t)(qt_t *old, void *a0, void *a1)
 

Definition at line 158 of file qt.h.

typedef void( qt_only_t)(void *pu, void *pt, qt_userf_t *userf)
 

Definition at line 68 of file qt.h.

typedef void( qt_startup_t)(void *pt)
 

Definition at line 72 of file qt.h.

typedef struct qt_t qt_t
 

typedef void*( qt_userf_t)(void *pu)
 

Definition at line 62 of file qt.h.

Referenced by sc_cor_pkg_qt::create(), and sc_cor_qt_wrapper().

typedef void*( qt_vuserf_t)(int arg0, ...)
 

Definition at line 63 of file qt.h.


Function Documentation

void* qt_abort qt_helper_t   h,
void *    a0,
void *    a1,
qt_t   newthread
 

void* qt_block qt_helper_t   h,
void *    a0,
void *    a1,
qt_t   newthread
 

void* qt_blocki qt_helper_t   h,
void *    a0,
void *    a1,
qt_t   newthread
 


Generated on Fri Jan 14 08:29:20 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18