Xenomai API  2.6.5

Real-Time Driver Model for Xenomai, testing device profile header. More...

Include dependency graph for rttesting.h:

Go to the source code of this file.

Macros

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

Testing device 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)
 

Detailed Description

Real-Time Driver Model for Xenomai, testing device profile header.

Note
Copyright (C) 2005 Jan Kiszka jan.k.nosp@m.iszk.nosp@m.a@web.nosp@m..de

Xenomai is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Xenomai is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Xenomai; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.