base_gic.cc (12974:b840a646cfbd) base_gic.cc (13531:e6f1bf55d038)
1/*
2 * Copyright (c) 2012, 2017-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

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

59 fatal_if(!rv, "GIC model can't register with platform code");
60 rv->setGic(this);
61}
62
63BaseGic::~BaseGic()
64{
65}
66
1/*
2 * Copyright (c) 2012, 2017-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

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

59 fatal_if(!rv, "GIC model can't register with platform code");
60 rv->setGic(this);
61}
62
63BaseGic::~BaseGic()
64{
65}
66
67void
68BaseGic::init()
69{
70 PioDevice::init();
71 getSystem()->setGIC(this);
72}
73
67const BaseGic::Params *
68BaseGic::params() const
69{
70 return dynamic_cast<const Params *>(_params);
71}
72
73ArmInterruptPinGen::ArmInterruptPinGen(const ArmInterruptPinParams *p)
74 : SimObject(p)

--- 113 unchanged lines hidden ---
74const BaseGic::Params *
75BaseGic::params() const
76{
77 return dynamic_cast<const Params *>(_params);
78}
79
80ArmInterruptPinGen::ArmInterruptPinGen(const ArmInterruptPinParams *p)
81 : SimObject(p)

--- 113 unchanged lines hidden ---