base/include/asm-x86_64/rtai_hal.h File Reference


Detailed Description

ARTI -- RTAI-compatible Adeos-based Real-Time Interface.

Based on the original RTAI layer for x86.

Original RTAI/x86 layer implementation:
Copyright © 2000 Paolo Mantegazza,
Copyright © 2000 Steve Papacharalambous,
Copyright © 2000 Stuart Hughes,
and others.

RTAI/x86 rewrite over Adeos:
Copyright &copy 2002 Philippe Gerum.

Porting to x86_64 architecture: Copyright © 2005-2008 Paolo Mantegazza,
Copyright © 2005 Daniele Gasperini

This program 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, Inc., 675 Mass Ave, Cambridge MA 02139, USA; either version 2 of the License, or (at your option) any later version.

This program 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 this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Definition in file rtai_hal.h.

Include dependency graph for rtai_hal.h:

Go to the source code of this file.

Defines

#define RTAI_SYSCALL_MODE
#define LOCKED_LINUX_IN_IRQ_HANDLER
#define UNWRAPPED_CATCH_EVENT
#define RTAI_NR_CPUS   1
#define RTAI_DEFAULT_TICK   100000
#define RTAI_DEFAULT_STACKSZ   1024
#define __range_ok(addr, size)   (__range_not_ok(addr,size) == 0)
#define NON_RTAI_SCHEDULE(cpuid)   do { schedule(); } while (0)

Functions

static __inline__ unsigned
long 
ffnz (unsigned long word)
static unsigned long long rtai_ulldiv (unsigned long long ull, unsigned long uld, unsigned long *r)
static long rtai_imuldiv (long i, long mult, long div)
static long long rtai_llimd (long long ll, long mult, long div)
static unsigned long long rtai_u64div32c (unsigned long long a, unsigned long b, int *r)


Define Documentation

#define __range_ok ( addr,
size   )     (__range_not_ok(addr,size) == 0)

Definition at line 930 of file rtai_hal.h.

#define NON_RTAI_SCHEDULE ( cpuid   )     do { schedule(); } while (0)

Definition at line 932 of file rtai_hal.h.


Generated on Tue Feb 2 17:46:42 2010 for RTAI API by  doxygen 1.4.7