imx_avic.c (e4f70d635863cfc3e3fa7d9a6e37b569ae94d82f) imx_avic.c (03dd024ff57733a55cd2e455f361d053c81b1b29)
1/*
2 * i.MX31 Vectored Interrupt Controller
3 *
4 * Note this is NOT the PL192 provided by ARM, but
5 * a custom implementation by Freescale.
6 *
7 * Copyright (c) 2008 OKL
8 * Copyright (c) 2011 NICTA Pty Ltd
9 * Originally written by Hans Jiang
10 * Updated by Jean-Christophe Dubois <jcd@tribudubois.net>
11 *
12 * This code is licensed under the GPL version 2 or later. See
13 * the COPYING file in the top-level directory.
14 *
15 * TODO: implement vectors.
16 */
17
18#include "qemu/osdep.h"
19#include "hw/intc/imx_avic.h"
1/*
2 * i.MX31 Vectored Interrupt Controller
3 *
4 * Note this is NOT the PL192 provided by ARM, but
5 * a custom implementation by Freescale.
6 *
7 * Copyright (c) 2008 OKL
8 * Copyright (c) 2011 NICTA Pty Ltd
9 * Originally written by Hans Jiang
10 * Updated by Jean-Christophe Dubois <jcd@tribudubois.net>
11 *
12 * This code is licensed under the GPL version 2 or later. See
13 * the COPYING file in the top-level directory.
14 *
15 * TODO: implement vectors.
16 */
17
18#include "qemu/osdep.h"
19#include "hw/intc/imx_avic.h"
20#include "qemu/log.h"
20
21#ifndef DEBUG_IMX_AVIC
22#define DEBUG_IMX_AVIC 0
23#endif
24
25#define DPRINTF(fmt, args...) \
26 do { \
27 if (DEBUG_IMX_AVIC) { \

--- 335 unchanged lines hidden ---
21
22#ifndef DEBUG_IMX_AVIC
23#define DEBUG_IMX_AVIC 0
24#endif
25
26#define DPRINTF(fmt, args...) \
27 do { \
28 if (DEBUG_IMX_AVIC) { \

--- 335 unchanged lines hidden ---