summaryrefslogtreecommitdiff
path: root/src/cpu/minor/exec_context.hh
diff options
context:
space:
mode:
authorGiacomo Travaglini <giacomo.travaglini@arm.com>2019-11-27 15:48:22 +0000
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2019-12-11 15:07:52 +0000
commitc3bd8eb1214cbebbc92c7958b80aa06913bce3ba (patch)
tree6df53d30662ba49d93a1b90e3bfd1826bdb6726e /src/cpu/minor/exec_context.hh
parentf73caae20fed7b4500a724ac85c20b637ee353a1 (diff)
downloadgem5-c3bd8eb1214cbebbc92c7958b80aa06913bce3ba.tar.xz
cpu: Fix coding style (byteEnable->byte_enable)
Change-Id: I2206559c6c2a6e6a0452e9c7d9964792afa9f358 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23282 Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/cpu/minor/exec_context.hh')
-rw-r--r--src/cpu/minor/exec_context.hh14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cpu/minor/exec_context.hh b/src/cpu/minor/exec_context.hh
index 9b347b225..4cc41c6c8 100644
--- a/src/cpu/minor/exec_context.hh
+++ b/src/cpu/minor/exec_context.hh
@@ -113,23 +113,23 @@ class ExecContext : public ::ExecContext
Fault
initiateMemRead(Addr addr, unsigned int size,
Request::Flags flags,
- const std::vector<bool>& byteEnable = std::vector<bool>())
- override
+ const std::vector<bool>& byte_enable =
+ std::vector<bool>()) override
{
- assert(byteEnable.empty() || byteEnable.size() == size);
+ assert(byte_enable.empty() || byte_enable.size() == size);
return execute.getLSQ().pushRequest(inst, true /* load */, nullptr,
- size, addr, flags, nullptr, nullptr, byteEnable);
+ size, addr, flags, nullptr, nullptr, byte_enable);
}
Fault
writeMem(uint8_t *data, unsigned int size, Addr addr,
Request::Flags flags, uint64_t *res,
- const std::vector<bool>& byteEnable = std::vector<bool>())
+ const std::vector<bool>& byte_enable = std::vector<bool>())
override
{
- assert(byteEnable.empty() || byteEnable.size() == size);
+ assert(byte_enable.empty() || byte_enable.size() == size);
return execute.getLSQ().pushRequest(inst, false /* store */, data,
- size, addr, flags, res, nullptr, byteEnable);
+ size, addr, flags, res, nullptr, byte_enable);
}
Fault