Include dependency graph for rtai_vectors.h:
Go to the source code of this file.
Defines | |
#define | RTAI_NUM_VECTORS 16 |
#define | RTAI_SWI_SCNO_MASK 0x00FFFFF0 |
#define | RTAI_SWI_VEC_MASK 0x0000000F |
#define | RTAI_SYS_VECTOR 0x0 |
#define | _RTAI_DO_SWI(scno_magic, srq, parg) |
#define | RTAI_SWI_SCNO_MAGIC 0x009FFFF0 |
#define | RTAI_DO_SWI(vector, srq, parg) _RTAI_DO_SWI((RTAI_SWI_SCNO_MAGIC | ((vector) & RTAI_SWI_VEC_MASK)), srq, parg) |
#define _RTAI_DO_SWI | ( | scno_magic, | |||
srq, | |||||
parg | ) |
Value:
({ \ union { \ long long ll; \ struct { \ unsigned long low; \ unsigned long high; \ } l; \ } _retval; \ { \ register int _r0 asm ("r0") = (int)(srq); \ register int _r1 asm ("r1") = (int)(parg); \ asm volatile("swi %[nr]" \ : "+r" (_r0), "+r" (_r1) \ : [nr] "i" (scno_magic) \ : "memory" \ ); \ _retval.l.low = _r0; \ _retval.l.high = _r1; \ } \ _retval.ll; \ })
Definition at line 80 of file rtai_vectors.h.
#define RTAI_NUM_VECTORS 16 |
Definition at line 64 of file rtai_vectors.h.
#define RTAI_SWI_SCNO_MAGIC 0x009FFFF0 |
Definition at line 106 of file rtai_vectors.h.
#define RTAI_SWI_SCNO_MASK 0x00FFFFF0 |
Definition at line 65 of file rtai_vectors.h.
#define RTAI_SWI_VEC_MASK 0x0000000F |
Definition at line 66 of file rtai_vectors.h.
#define RTAI_SYS_VECTOR 0x0 |
Definition at line 68 of file rtai_vectors.h.