Based on the original RTAI layer for PPC and the RTAI/x86 rewrite over ADEOS.
Original RTAI/PPC layer implementation:
Copyright © 2000 Paolo Mantegazza,
Copyright © 2001 David Schleef,
Copyright © 2001 Lineo, Inc,
Copyright © 2002 Wolfgang Grandegger.
RTAI/PPC rewrite over hal-linux patches:
Copyright © 2006 Antonio Barbalace.
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.
Data Structures | |
struct | apic_timer_setup_data |
Defines | |
#define | RTAI_SYSCALL_MODE |
#define | LOCKED_LINUX_IN_IRQ_HANDLER |
#define | UNWRAPPED_CATCH_EVENT |
#define | RTAI_NR_CPUS 1 |
#define | NETRPC_ALIGN_RTIME(i) (1 - i%2) |
#define | RTAI_DEFAULT_TICK 100000 |
#define | RTAI_DEFAULT_STACKSZ 4092 |
#define | __range_ok(addr, size) (__range_not_ok(addr,size) == 0) |
#define | NON_RTAI_SCHEDULE(cpuid) do { schedule(); } while (0) |
Functions | |
static int | ffnz (unsigned long ul) |
static unsigned long long | rtai_ullmul (unsigned long m0, unsigned long m1) |
static unsigned long long | rtai_ulldiv (unsigned long long ull, unsigned long uld, unsigned long *r) |
static int | rtai_imuldiv (int i, int mult, int div) |
static unsigned long long | rtai_llimd (unsigned long long ull, unsigned long mult, unsigned long div) |
#define __range_ok | ( | addr, | |||
size | ) | (__range_not_ok(addr,size) == 0) |
Definition at line 801 of file rtai_hal.h.
#define LOCKED_LINUX_IN_IRQ_HANDLER |
Definition at line 39 of file rtai_hal.h.
#define NETRPC_ALIGN_RTIME | ( | i | ) | (1 - i%2) |
#define NON_RTAI_SCHEDULE | ( | cpuid | ) | do { schedule(); } while (0) |
Definition at line 803 of file rtai_hal.h.
#define RTAI_DEFAULT_STACKSZ 4092 |
Definition at line 793 of file rtai_hal.h.
#define RTAI_DEFAULT_TICK 100000 |
Definition at line 788 of file rtai_hal.h.
#define RTAI_NR_CPUS 1 |
Definition at line 49 of file rtai_hal.h.
#define RTAI_SYSCALL_MODE |
Definition at line 37 of file rtai_hal.h.
#define UNWRAPPED_CATCH_EVENT |
Definition at line 40 of file rtai_hal.h.
static int ffnz | ( | unsigned long | ul | ) | [inline, static] |
Definition at line 58 of file rtai_hal.h.
References __asm__().
Here is the call graph for this function:
static int rtai_imuldiv | ( | int | i, | |
int | mult, | |||
int | div | |||
) | [inline, static] |
static unsigned long long rtai_llimd | ( | unsigned long long | ull, | |
unsigned long | mult, | |||
unsigned long | div | |||
) | [inline, static] |
static unsigned long long rtai_ulldiv | ( | unsigned long long | ull, | |
unsigned long | uld, | |||
unsigned long * | r | |||
) | [inline, static] |
Definition at line 76 of file rtai_hal.h.
static unsigned long long rtai_ullmul | ( | unsigned long | m0, | |
unsigned long | m1 | |||
) | [inline, static] |
Definition at line 65 of file rtai_hal.h.
References __asm__().
Here is the call graph for this function: