ia64/linux-2.6.18-xen.hg

annotate arch/v850/kernel/mach.h @ 854:950b9eb27661

usbback: fix urb interval value for interrupt urbs.

Signed-off-by: Noboru Iwamatsu <n_iwamatsu@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Apr 06 13:51:20 2009 +0100 (2009-04-06)
parents 831230e53067
children
rev   line source
ian@0 1 /*
ian@0 2 * arch/v850/kernel/mach.h -- Machine-dependent functions used by v850 port
ian@0 3 *
ian@0 4 * Copyright (C) 2001,02,03 NEC Electronics Corporation
ian@0 5 * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
ian@0 6 *
ian@0 7 * This file is subject to the terms and conditions of the GNU General
ian@0 8 * Public License. See the file COPYING in the main directory of this
ian@0 9 * archive for more details.
ian@0 10 *
ian@0 11 * Written by Miles Bader <miles@gnu.org>
ian@0 12 */
ian@0 13
ian@0 14 #ifndef __V850_MACH_H__
ian@0 15 #define __V850_MACH_H__
ian@0 16
ian@0 17 #include <linux/kernel.h>
ian@0 18 #include <linux/time.h>
ian@0 19 #include <linux/spinlock.h>
ian@0 20 #include <linux/interrupt.h>
ian@0 21 #include <linux/fs.h>
ian@0 22 #include <linux/seq_file.h>
ian@0 23
ian@0 24 #include <asm/ptrace.h>
ian@0 25 #include <asm/entry.h>
ian@0 26 #include <asm/clinkage.h>
ian@0 27
ian@0 28 void mach_setup (char **cmdline);
ian@0 29 void mach_gettimeofday (struct timespec *tv);
ian@0 30 void mach_sched_init (struct irqaction *timer_action);
ian@0 31 void mach_get_physical_ram (unsigned long *ram_start, unsigned long *ram_len);
ian@0 32 void mach_init_irqs (void);
ian@0 33
ian@0 34 /* If defined, is called very early in the kernel initialization. The
ian@0 35 stack pointer is valid, but very little has been initialized (e.g.,
ian@0 36 bss is not zeroed yet) when this is called, so care must taken. */
ian@0 37 void mach_early_init (void);
ian@0 38
ian@0 39 /* If defined, called after the bootmem allocator has been initialized,
ian@0 40 to allow the platform-dependent code to reserve any areas of RAM that
ian@0 41 the kernel shouldn't touch. */
ian@0 42 void mach_reserve_bootmem (void) __attribute__ ((__weak__));
ian@0 43
ian@0 44 /* Called with each timer tick, if non-zero. */
ian@0 45 extern void (*mach_tick) (void);
ian@0 46
ian@0 47 /* The following establishes aliases for various mach_ functions to the
ian@0 48 name by which the rest of the kernel calls them. These statements
ian@0 49 should only have an effect in the file that defines the actual functions. */
ian@0 50 #define MACH_ALIAS(to, from) \
ian@0 51 asm (".global " macrology_stringify (C_SYMBOL_NAME (to)) ";" \
ian@0 52 macrology_stringify (C_SYMBOL_NAME (to)) \
ian@0 53 " = " macrology_stringify (C_SYMBOL_NAME (from)))
ian@0 54 /* e.g.: MACH_ALIAS (kernel_name, arch_spec_name); */
ian@0 55
ian@0 56 #endif /* __V850_MACH_H__ */