GNU Radio 3.4.2 C++ API
gc_spu_args.h File Reference
#include <gcell/gc_types.h>
#include <gcell/gc_logging.h>
Include dependency graph for gc_spu_args.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gc_spu_args
struct  gc_comp_info
 Used to return info to PPE on which jobs are completed. More...

Defines

#define GC_CI_NJOBS   62

Typedefs

typedef struct gc_spu_args gc_spu_args_t
typedef struct gc_comp_info gc_comp_info_t
 Used to return info to PPE on which jobs are completed.

Define Documentation

#define GC_CI_NJOBS   62

Typedef Documentation

typedef struct gc_comp_info gc_comp_info_t

Used to return info to PPE on which jobs are completed.

When each SPE is initalized, it is passed EA pointers to two of these structures. The SPE uses these to communicate which jobs that it has worked on are complete. The SPE notifies the PPE by sending an OP_JOBS_DONE message (see gc_mbox.h) with an argument of 0 or 1, indicating which of the two comp_info's to examine. The SPE sets the in_use flag to 1 before DMA'ing to the PPE. When the PPE is done with the structure, it must clear the in_use field to let the SPE know it can begin using it again.

typedef struct gc_spu_args gc_spu_args_t