vea9x4: centralize spec of interrupt names

ref #874
This commit is contained in:
Martin Stein
2013-10-29 17:19:15 +01:00
committed by Norman Feske
parent 7c70a9bf7d
commit b88d7e3370
5 changed files with 28 additions and 10 deletions

View File

@ -16,6 +16,7 @@
#define _INCLUDE__PLATFORM__VEA9X4__LAN9118_DEFS_H_
#include <platform/vea9x4/bus.h>
#include <drivers/board_base.h>
enum {
@ -35,7 +36,7 @@ enum {
/**
* Interrupt line
*/
LAN9118_IRQ = 32 + 15,
LAN9118_IRQ = Genode::Board_base::LAN9118_IRQ,
};
#endif /* _INCLUDE__PLATFORM__VEA9X4__LAN9118_DEFS_H_ */

View File

@ -16,6 +16,7 @@
#define _INCLUDE__PLATFORM__PBXA9__PL011_DEFS_H_
#include <platform/vea9x4/bus.h>
#include <drivers/board_base.h>
enum {
@ -34,10 +35,10 @@ enum {
/**
* Interrupt lines
*/
PL011_IRQ0 = 32 + 5, /* UART 0 */
PL011_IRQ1 = 32 + 6, /* UART 1 */
PL011_IRQ2 = 32 + 7, /* UART 2 */
PL011_IRQ3 = 32 + 8, /* UART 3 */
PL011_IRQ0 = Genode::Board_base::PL011_0_IRQ, /* UART 0 */
PL011_IRQ1 = Genode::Board_base::PL011_1_IRQ, /* UART 1 */
PL011_IRQ2 = Genode::Board_base::PL011_2_IRQ, /* UART 2 */
PL011_IRQ3 = Genode::Board_base::PL011_3_IRQ, /* UART 3 */
/**
* UART baud rate configuration (precalculated)

View File

@ -16,6 +16,7 @@
#define _INCLUDE__PLATFORM__PBXA9__PL050_DEFS_H_
#include <platform/vea9x4/bus.h>
#include <drivers/board_base.h>
enum {
PL050_KEYBD_PHYS = SMB_CS7 + 0x6000, PL050_KEYBD_SIZE = 0x1000,
@ -24,8 +25,8 @@ enum {
/**
* Interrupt lines
*/
PL050_KEYBD_IRQ = 32 + 12,
PL050_MOUSE_IRQ = 32 + 13,
PL050_KEYBD_IRQ = Genode::Board_base::KMI_0_IRQ,
PL050_MOUSE_IRQ = Genode::Board_base::KMI_1_IRQ,
};
#endif /* _INCLUDE__PLATFORM__PBXA9__PL050_DEFS_H_ */

View File

@ -16,6 +16,7 @@
#define _INCLUDE__PLATFORM__PBXA9__PL180_DEFS_H_
#include <platform/vea9x4/bus.h>
#include <drivers/board_base.h>
enum {
PL180_PHYS = SMB_CS7 + 0x5000, PL180_SIZE = 0x1000,
@ -23,8 +24,8 @@ enum {
/**
* Interrupt lines
*/
PL180_IRQ0 = 9,
PL180_IRQ1 = 10,
PL180_IRQ0 = Genode::Board_base::PL180_0_IRQ,
PL180_IRQ1 = Genode::Board_base::PL180_1_IRQ,
};
#endif /* _INCLUDE__PLATFORM__PBXA9__PL180_DEFS_H_ */