include/rtdm/rttesting.h File Reference


Detailed Description

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

Note:
Copyright (C) 2005 Jan Kiszka <jan.kiszka@web.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.

Include dependency graph for rttesting.h:

Go to the source code of this file.

Defines

Sub-Classes of RTDM_CLASS_TESTING
#define RTDM_SUBCLASS_TIMERBENCH   0
#define RTDM_SUBCLASS_IRQBENCH   1
#define RTDM_SUBCLASS_SWITCHTEST   2
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)


Generated on Mon Mar 24 18:02:40 2008 for Xenomai API by  doxygen 1.5.3