Xenomai API
2.5.6.1
|
Files | |
file | rttesting.h |
Real-Time Driver Model for Xenomai, testing device profile header. | |
Sub-Classes of RTDM_CLASS_TESTING | |
#define | RTDM_SUBCLASS_TIMERBENCH 0 |
subclass name: "timerbench" | |
#define | RTDM_SUBCLASS_IRQBENCH 1 |
subclass name: "irqbench" | |
#define | RTDM_SUBCLASS_SWITCHTEST 2 |
subclass name: "switchtest" | |
#define | RTDM_SUBCLASS_RTDMTEST 3 |
subclase name: "rtdm" | |
IOCTLs | |
#define | RTTST_RTIOC_INTERM_BENCH_RES _IOWR(RTIOC_TYPE_TESTING, 0x00, struct rttst_interm_bench_res) |
#define | RTTST_RTIOC_TMBENCH_START _IOW(RTIOC_TYPE_TESTING, 0x10, struct rttst_tmbench_config) |
#define | RTTST_RTIOC_TMBENCH_STOP _IOWR(RTIOC_TYPE_TESTING, 0x11, struct rttst_overall_bench_res) |
#define | RTTST_RTIOC_IRQBENCH_START _IOW(RTIOC_TYPE_TESTING, 0x20, struct rttst_irqbench_config) |
#define | RTTST_RTIOC_IRQBENCH_STOP _IO(RTIOC_TYPE_TESTING, 0x21) |
#define | RTTST_RTIOC_IRQBENCH_GET_STATS _IOR(RTIOC_TYPE_TESTING, 0x22, struct rttst_irqbench_stats) |
#define | RTTST_RTIOC_IRQBENCH_WAIT_IRQ _IO(RTIOC_TYPE_TESTING, 0x23) |
#define | RTTST_RTIOC_IRQBENCH_REPLY_IRQ _IO(RTIOC_TYPE_TESTING, 0x24) |
#define | RTTST_RTIOC_SWTEST_SET_TASKS_COUNT _IOW(RTIOC_TYPE_TESTING, 0x30, unsigned long) |
#define | RTTST_RTIOC_SWTEST_SET_CPU _IOW(RTIOC_TYPE_TESTING, 0x31, unsigned long) |
#define | RTTST_RTIOC_SWTEST_REGISTER_UTASK _IOW(RTIOC_TYPE_TESTING, 0x32, struct rttst_swtest_task) |
#define | RTTST_RTIOC_SWTEST_CREATE_KTASK _IOWR(RTIOC_TYPE_TESTING, 0x33, struct rttst_swtest_task) |
#define | RTTST_RTIOC_SWTEST_PEND _IOR(RTIOC_TYPE_TESTING, 0x34, struct rttst_swtest_task) |
#define | RTTST_RTIOC_SWTEST_SWITCH_TO _IOR(RTIOC_TYPE_TESTING, 0x35, struct rttst_swtest_dir) |
#define | RTTST_RTIOC_SWTEST_GET_SWITCHES_COUNT _IOR(RTIOC_TYPE_TESTING, 0x36, unsigned long) |
#define | RTTST_RTIOC_SWTEST_GET_LAST_ERROR _IOR(RTIOC_TYPE_TESTING, 0x37, struct rttst_swtest_error) |
#define | RTTST_RTIOC_SWTEST_SET_PAUSE _IOW(RTIOC_TYPE_TESTING, 0x38, unsigned long) |
#define | RTTST_RTIOC_RTDM_DEFER_CLOSE _IOW(RTIOC_TYPE_TESTING, 0x40, unsigned long) |
This group of devices is intended to provide in-kernel testing results. Feel free to comment on this profile via the Xenomai mailing list ([email protected]) or directly to the author ([email protected]).
Profile Revision: 2
RTDM_NAMED_DEVICE
"rttest[-<subclass>]<N>"
, N >= 0, optional subclass name to simplify device discovery RTDM_CLASS_TESTING