Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame^] | 1 | /* |
| 2 | * arch/arm/mach-ns9xxx/include/mach/regs-sys-common.h |
| 3 | * |
| 4 | * Copyright (C) 2007 by Digi International Inc. |
| 5 | * All rights reserved. |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify it |
| 8 | * under the terms of the GNU General Public License version 2 as published by |
| 9 | * the Free Software Foundation. |
| 10 | */ |
| 11 | |
| 12 | #ifndef __ASM_ARCH_REGSSYSCOMMON_H |
| 13 | #define __ASM_ARCH_REGSSYSCOMMON_H |
| 14 | #include <mach/hardware.h> |
| 15 | |
| 16 | /* Interrupt Vector Address Register Level x */ |
| 17 | #define SYS_IVA(x) __REG2(0xa09000c4, (x)) |
| 18 | |
| 19 | /* Interrupt Configuration registers */ |
| 20 | #define SYS_IC(x) __REG2(0xa0900144, (x)) |
| 21 | |
| 22 | /* ISRADDR */ |
| 23 | #define SYS_ISRADDR __REG(0xa0900164) |
| 24 | |
| 25 | /* Interrupt Status Active */ |
| 26 | #define SYS_ISA __REG(0xa0900168) |
| 27 | |
| 28 | /* Interrupt Status Raw */ |
| 29 | #define SYS_ISR __REG(0xa090016c) |
| 30 | |
| 31 | #endif /* ifndef __ASM_ARCH_REGSSYSCOMMON_H */ |