# 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_PPC_LXRT_H
    00022 #define _RTAI_ASM_PPC_LXRT_H
    00023
    00024 #include <asm/rtai_vectors.h>
    00025
    00026 #define LOW 1
    00027
    00028 #ifndef __KERNEL__
    00029
    00030 union rtai_lxrt_t { RTIME rt; int i[2]; void *v[2]; };
    00031
    00032 static inline union rtai_lxrt_t rtai_lxrt(short dynx, short lsize, unsigned long srq, void *arg)
    00033 {
    00034     /* LXRT is not yet available on PPC. */
    00035     union rtai_lxrt_t retval;
    00036     retval.i[0] = -1;
    00037     retval.i[1] = -1;
    00038     return retval;
    00039 }
    00040
    00041 #endif /* !__KERNEL__ */
    00042
    00043 #endif /* !_RTAI_ASM_PPC_LXRT_H */