Xenomai  3.2.4
testing.h File Reference

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

#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  rttst_swtest_dir
 parameter for the RTTST_RTIOC_SWTEST_SWITCH_TO syscall More...
 

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"
 
#define RTDM_SUBCLASS_HEAPCHECK   4
 subclase name: "heapcheck"
 
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_SWTEST_SET_TASKS_COUNT    _IOW(RTIOC_TYPE_TESTING, 0x30, __u32)
 
#define RTTST_RTIOC_SWTEST_SET_CPU    _IOW(RTIOC_TYPE_TESTING, 0x31, __u32)
 
#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, __u32)
 
#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, __u32)
 
#define RTTST_RTIOC_RTDM_DEFER_CLOSE    _IOW(RTIOC_TYPE_TESTING, 0x40, __u32)
 
#define RTTST_RTIOC_RTDM_ACTOR_GET_CPU    _IOR(RTIOC_TYPE_TESTING, 0x41, __u32)
 
#define RTTST_RTIOC_RTDM_PING_PRIMARY    _IOR(RTIOC_TYPE_TESTING, 0x42, __u32)
 
#define RTTST_RTIOC_RTDM_PING_SECONDARY    _IOR(RTIOC_TYPE_TESTING, 0x43, __u32)
 
#define RTTST_RTIOC_HEAP_CHECK    _IOR(RTIOC_TYPE_TESTING, 0x44, struct rttst_heap_parms)
 
#define RTTST_RTIOC_HEAP_STAT_COLLECT    _IOR(RTIOC_TYPE_TESTING, 0x45, int)
 

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

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

This library 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 Lesser General Public License for more details.

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