1/*
2 * Copyright 2014, General Dynamics C4 Systems
3 *
4 * This software may be distributed and modified according to the terms of
5 * the GNU General Public License version 2. Note that NO WARRANTY is provided.
6 * See "LICENSE_GPLv2.txt" for details.
7 *
8 * @TAG(GD_GPL)
9 */
10
11#ifndef __PLAT_MACHINE_H
12#define __PLAT_MACHINE_H
13
14#define KERNEL_TIMER_IRQ INTERRUPT_EPIT1
15
16#define N_INTERRUPTS 64
17
18enum IRQConstants {
19    INTERRUPT_PMU = 23,
20    INTERRUPT_EPIT1 = 28,
21    maxIRQ = 63
22} platform_interrupt_t;
23
24#define IRQ_CNODE_BITS 12
25
26enum irqNumbers {
27    irqInvalid = 255
28};
29
30#define KERNEL_PMU_IRQ   INTERRUPT_PMU
31
32typedef word_t interrupt_t;
33typedef word_t irq_t;
34
35#endif
36