base/include/asm/rtai_vectors.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
#ifndef _RTAI_ASM_I386_VECTORS_H
00031
#define _RTAI_ASM_I386_VECTORS_H
00032
00033
#include <rtai_config.h>
00034
00035
#ifdef CONFIG_X86_LOCAL_APIC
00036
#define RTAI_APIC_HIGH_VECTOR HAL_APIC_HIGH_VECTOR
00037
#define RTAI_APIC_LOW_VECTOR HAL_APIC_LOW_VECTOR
00038
#else
00039 #define RTAI_APIC_HIGH_VECTOR 0xff
00040 #define RTAI_APIC_LOW_VECTOR 0xff
00041
#endif
00042
00043 #define RTAI_APIC_HIGH_IPI (RTAI_APIC_HIGH_VECTOR - FIRST_EXTERNAL_VECTOR)
00044 #define RTAI_APIC_LOW_IPI (RTAI_APIC_LOW_VECTOR - FIRST_EXTERNAL_VECTOR)
00045
00046 #define RTAI_SYS_VECTOR 0xf6
00047
00048 #define __rtai_stringize0(_s_) #_s_
00049 #define __rtai_stringize(_s_) __rtai_stringize0(_s_)
00050 #define __rtai_trap_call(_t_) _t_
00051 #define __rtai_do_trap0(_t_) __rtai_stringize(int $ _t_)
00052 #define __rtai_do_trap(_t_) __rtai_do_trap0(__rtai_trap_call(_t_))
00053
00054 #define RTAI_DO_TRAP(v, r, a1, a2) do { __asm__ __volatile__ ( __rtai_do_trap(v): : "a" (a1), "c" (a2), "d" (&r)); } while (0)
00055
00056
#endif
Generated on Thu Nov 20 11:49:49 2008 for RTAI API by
1.3.8