Andreas Sandberg has uploaded this change for review. (
https://gem5-review.googlesource.com/5731
Change subject: arch, arm: Print value being ignored on DummyISA write
......................................................................
arch, arm: Print value being ignored on DummyISA write
When ignoring writes to the Dummy ISA device (DummyISADevice),
additionally print the value being ignored in the diagnostic.
Sometimes it is useful to know exactly what we are dropping ...
Change-Id: I9a01623611f0da0aa12b065fbb2031aa27e2c036
Signed-off-by: Sean McGoogan <[email protected]>
Reviewed-by: Andreas Sandberg <[email protected]>
---
M src/arch/arm/isa_device.cc
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/arch/arm/isa_device.cc b/src/arch/arm/isa_device.cc
index 0bb488d..813d163 100644
--- a/src/arch/arm/isa_device.cc
+++ b/src/arch/arm/isa_device.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014 ARM Limited
+ * Copyright (c) 2014,2017 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
@@ -60,7 +60,9 @@
void
DummyISADevice::setMiscReg(int misc_reg, MiscReg val)
{
- warn("Ignoring write to miscreg %s\n", miscRegName[misc_reg]);
+ warn("Ignoring write of 0x%lx to miscreg %s\n",
+ val,
+ miscRegName[misc_reg]);
}
MiscReg
--
To view, visit https://gem5-review.googlesource.com/5731
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9a01623611f0da0aa12b065fbb2031aa27e2c036
Gerrit-Change-Number: 5731
Gerrit-PatchSet: 1
Gerrit-Owner: Andreas Sandberg <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev