summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGary King <gking@nvidia.com>2009-12-07 16:18:05 -0800
committerGary King <gking@nvidia.com>2009-12-07 16:18:05 -0800
commitbb11d46b72a4a2b53f890faa970a380cf0084bf2 (patch)
tree2d9d2955e069fed69febbe567a835fcc48ec6ec6 /include
parente1b5e49debba7174e7b9c48195de8abfd54911dd (diff)
parent74ece4056571443eef30d4dff62180944b5a39d8 (diff)
Merge commit 'arm/2.6.28-arm' into android-tegra-2.6.29
Conflicts: MAINTAINERS arch/arm/Kconfig arch/arm/Makefile arch/arm/boot/compressed/head.S arch/arm/common/Makefile arch/arm/configs/realview-smp_defconfig arch/arm/configs/realview_defconfig arch/arm/configs/versatile_defconfig arch/arm/include/asm/elf.h arch/arm/include/asm/uaccess.h arch/arm/kernel/module.c arch/arm/kernel/signal.c arch/arm/mach-realview/Kconfig arch/arm/mach-realview/Makefile arch/arm/mach-realview/core.c arch/arm/mach-realview/core.h arch/arm/mach-realview/include/mach/board-pba8.h arch/arm/mach-realview/include/mach/debug-macro.S arch/arm/mach-realview/include/mach/hardware.h arch/arm/mach-realview/include/mach/irqs.h arch/arm/mach-realview/include/mach/memory.h arch/arm/mach-realview/include/mach/uncompress.h arch/arm/mach-realview/localtimer.c arch/arm/mach-realview/platsmp.c arch/arm/mach-realview/realview_eb.c arch/arm/mach-realview/realview_pb1176.c arch/arm/mach-realview/realview_pb11mp.c arch/arm/mach-realview/realview_pba8.c arch/arm/mm/Kconfig arch/arm/mm/copypage-v6.c arch/arm/mm/dma-mapping.c arch/arm/mm/proc-v7.S arch/arm/oprofile/op_model_mpcore.c arch/arm/tools/mach-types arch/arm/vfp/vfpmodule.c drivers/mtd/maps/integrator-flash.c drivers/net/smsc911x.c drivers/net/smsc911x.h
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/hardware/nvic.h34
-rw-r--r--include/asm-arm/hardware/rvidcc.h35
2 files changed, 69 insertions, 0 deletions
diff --git a/include/asm-arm/hardware/nvic.h b/include/asm-arm/hardware/nvic.h
new file mode 100644
index 000000000000..b7f80266bafd
--- /dev/null
+++ b/include/asm-arm/hardware/nvic.h
@@ -0,0 +1,34 @@
+/*
+ * linux/include/asm-arm/hardware/nvic.h
+ *
+ * Copyright (C) 2008 ARM Limited, All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#ifndef __ASM_ARM_HARDWARE_NVIC_H
+#define __ASM_ARM_HARDWARE_NVIC_H
+
+#include <linux/compiler.h>
+
+#define V7M_SCS 0xe000e000
+#define NVIC_INTR_CTRL (V7M_SCS + 0x004)
+#define NVIC_SYSTICK_CTRL (V7M_SCS + 0x010)
+#define NVIC_SYSTICK_RELOAD (V7M_SCS + 0x014)
+#define NVIC_SYSTICK_CURRENT (V7M_SCS + 0x018)
+#define NVIC_SYSTICK_CALIBRATION (V7M_SCS + 0x01c)
+#define NVIC_SET_ENABLE (V7M_SCS + 0x100)
+#define NVIC_CLEAR_ENABLE (V7M_SCS + 0x180)
+#define NVIC_SET_PENDING (V7M_SCS + 0x200)
+#define NVIC_CLEAR_PENDING (V7M_SCS + 0x280)
+#define NVIC_ACTIVE_BIT (V7M_SCS + 0x300)
+#define NVIC_PRIORITY (V7M_SCS + 0x400)
+#define NVIC_INTR_CTRL_STATE (V7M_SCS + 0xd04)
+#define NVIC_SOFTWARE_INTR (V7M_SCS + 0xf00)
+
+#ifndef __ASSEMBLY__
+void nvic_init(void);
+#endif
+
+#endif
diff --git a/include/asm-arm/hardware/rvidcc.h b/include/asm-arm/hardware/rvidcc.h
new file mode 100644
index 000000000000..2aec6bdea1f3
--- /dev/null
+++ b/include/asm-arm/hardware/rvidcc.h
@@ -0,0 +1,35 @@
+/*
+ Copyright (C) 2004-2007 ARM Limited.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License version 2
+ as published by the Free Software Foundation.
+
+ 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
+
+ As a special exception, if other files instantiate templates or use macros
+ or inline functions from this file, or you compile this file and link it
+ with other works to produce a work based on this file, this file does not
+ by itself cause the resulting work to be covered by the GNU General Public
+ License. However the source code for this file must still be made available
+ in accordance with section (3) of the GNU General Public License.
+
+ This exception does not invalidate any other reasons why a work based on
+ this file might be covered by the GNU General Public License.
+*/
+
+#ifndef __RVIDCC_H
+#define __RVIDCC_H
+
+/* Ioctl defines */
+#define DCC_SETPOLLPERIOD _IOW('T', 1, int)
+#define DCC_GETPOLLPERIOD _IOR('T', 2, int)
+
+#endif