vgic.cc (13506:7803580f48d4) vgic.cc (13814:90cdf66cca54)
1/*
2 * Copyright (c) 2013,2018 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

44#include "debug/VGIC.hh"
45#include "dev/arm/base_gic.hh"
46#include "mem/packet.hh"
47#include "mem/packet_access.hh"
48
49VGic::VGic(const Params *p)
50 : PioDevice(p), gicvIIDR(p->gicv_iidr), platform(p->platform),
51 gic(p->gic), vcpuAddr(p->vcpu_addr), hvAddr(p->hv_addr),
1/*
2 * Copyright (c) 2013,2018 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

44#include "debug/VGIC.hh"
45#include "dev/arm/base_gic.hh"
46#include "mem/packet.hh"
47#include "mem/packet_access.hh"
48
49VGic::VGic(const Params *p)
50 : PioDevice(p), gicvIIDR(p->gicv_iidr), platform(p->platform),
51 gic(p->gic), vcpuAddr(p->vcpu_addr), hvAddr(p->hv_addr),
52 pioDelay(p->pio_delay), maintInt(p->ppint)
52 pioDelay(p->pio_delay), maintInt(p->maint_int)
53{
54 for (int x = 0; x < VGIC_CPU_MAX; x++) {
55 postVIntEvent[x] = new EventFunctionWrapper(
56 [this, x]{ processPostVIntEvent(x); },
57 "Post VInterrupt to CPU");
58 maintIntPosted[x] = false;
59 vIntPosted[x] = false;
60 }

--- 501 unchanged lines hidden ---
53{
54 for (int x = 0; x < VGIC_CPU_MAX; x++) {
55 postVIntEvent[x] = new EventFunctionWrapper(
56 [this, x]{ processPostVIntEvent(x); },
57 "Post VInterrupt to CPU");
58 maintIntPosted[x] = false;
59 vIntPosted[x] = false;
60 }

--- 501 unchanged lines hidden ---