regs-sys-common.h 835 B

12345678910111213141516171819202122232425262728293031
  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. #ifndef __ASM_ARCH_REGSSYSCOMMON_H
  12. #define __ASM_ARCH_REGSSYSCOMMON_H
  13. #include <mach/hardware.h>
  14. /* Interrupt Vector Address Register Level x */
  15. #define SYS_IVA(x) __REG2(0xa09000c4, (x))
  16. /* Interrupt Configuration registers */
  17. #define SYS_IC(x) __REG2(0xa0900144, (x))
  18. /* ISRADDR */
  19. #define SYS_ISRADDR __REG(0xa0900164)
  20. /* Interrupt Status Active */
  21. #define SYS_ISA __REG(0xa0900168)
  22. /* Interrupt Status Raw */
  23. #define SYS_ISR __REG(0xa090016c)
  24. #endif /* ifndef __ASM_ARCH_REGSSYSCOMMON_H */