arm_gicv2m.c (77ac58ddc6be324abc3451ae78a1799efa7cc3b7) arm_gicv2m.c (03dd024ff57733a55cd2e455f361d053c81b1b29)
1/*
2 * GICv2m extension for MSI/MSI-x support with a GICv2-based system
3 *
4 * Copyright (C) 2015 Linaro, All rights reserved.
5 *
6 * Author: Christoffer Dall <christoffer.dall@linaro.org>
7 *
8 * This library is free software; you can redistribute it and/or

--- 16 unchanged lines hidden (view full) ---

25 * identification registers and with a single non-secure MSI register frame.
26 */
27
28#include "qemu/osdep.h"
29#include "qapi/error.h"
30#include "hw/sysbus.h"
31#include "hw/pci/msi.h"
32#include "sysemu/kvm.h"
1/*
2 * GICv2m extension for MSI/MSI-x support with a GICv2-based system
3 *
4 * Copyright (C) 2015 Linaro, All rights reserved.
5 *
6 * Author: Christoffer Dall <christoffer.dall@linaro.org>
7 *
8 * This library is free software; you can redistribute it and/or

--- 16 unchanged lines hidden (view full) ---

25 * identification registers and with a single non-secure MSI register frame.
26 */
27
28#include "qemu/osdep.h"
29#include "qapi/error.h"
30#include "hw/sysbus.h"
31#include "hw/pci/msi.h"
32#include "sysemu/kvm.h"
33#include "qemu/log.h"
33
34#define TYPE_ARM_GICV2M "arm-gicv2m"
35#define ARM_GICV2M(obj) OBJECT_CHECK(ARMGICv2mState, (obj), TYPE_ARM_GICV2M)
36
37#define GICV2M_NUM_SPI_MAX 128
38
39#define V2M_MSI_TYPER 0x008
40#define V2M_MSI_SETSPI_NS 0x040

--- 155 unchanged lines hidden ---
34
35#define TYPE_ARM_GICV2M "arm-gicv2m"
36#define ARM_GICV2M(obj) OBJECT_CHECK(ARMGICv2mState, (obj), TYPE_ARM_GICV2M)
37
38#define GICV2M_NUM_SPI_MAX 128
39
40#define V2M_MSI_TYPER 0x008
41#define V2M_MSI_SETSPI_NS 0x040

--- 155 unchanged lines hidden ---