diff options
Diffstat (limited to 'src/arch/arm/isa_device.cc')
-rw-r--r-- | src/arch/arm/isa_device.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/arch/arm/isa_device.cc b/src/arch/arm/isa_device.cc index 6fb58c6e1..0bb488dac 100644 --- a/src/arch/arm/isa_device.cc +++ b/src/arch/arm/isa_device.cc @@ -44,6 +44,19 @@ namespace ArmISA { +BaseISADevice::BaseISADevice() + : isa(nullptr) +{ +} + +void +BaseISADevice::setISA(ISA *_isa) +{ + assert(_isa); + + isa = _isa; +} + void DummyISADevice::setMiscReg(int misc_reg, MiscReg val) { |