rtai-core/include/asm-mips/rtai_lxrt.h

00001 /*
00002  * Copyright (C) 1999-2003 Paolo Mantegazza <mantegazza@aero.polimi.it>
00003  *                 2000 Pierre Cloutier <pcloutier@poseidoncontrols.com>
00004                    2002 Steve Papacharalambous <stevep@zentropix.com>
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015 
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
00019  */
00020 
00021 #ifndef _RTAI_ASM_MIPS_LXRT_H
00022 #define _RTAI_ASM_MIPS_LXRT_H
00023 
00024 #include <asm/rtai_vectors.h>
00025 
00026 #ifdef __MIPSEL__
00027 #define LOW 0
00028 #else
00029 #define LOW 1
00030 #endif
00031 
00032 #ifndef __KERNEL__
00033 
00034 union rtai_lxrt_t { RTIME rt; int i[2]; void *v[2]; };
00035 
00036 static inline union rtai_lxrt_t rtai_lxrt(short dynx, short lsize, unsigned long srq, void *arg)
00037 {
00038     /* LXRT is not yet available on MIPS. */
00039     union rtai_lxrt_t retval;
00040     retval.i[0] = -1;
00041     retval.i[1] = -1;
00042     return retval;
00043 }
00044 
00045 #endif /* !__KERNEL__ */
00046 
00047 #endif /* !_RTAI_ASM_MIPS_LXRT_H */

Generated on Sat Jul 24 19:36:02 2004 for RTAI API by doxygen 1.3.4