diff options
author | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2016-08-15 12:00:35 +0100 |
---|---|---|
committer | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2016-08-15 12:00:35 +0100 |
commit | 698767e5384a664b3bad52c9b40d62daf0eabbfc (patch) | |
tree | 2cb02cf387574c233367bfd6602b9ac271815384 /src/cpu/checker/cpu.cc | |
parent | 608a37c844829715c2a15ef079f7dd8db428779b (diff) | |
download | gem5-698767e5384a664b3bad52c9b40d62daf0eabbfc.tar.xz |
cpu, arch: fix the type used for the request flags
Change-Id: I183b9942929c873c3272ce6d1abd4ebc472c7132
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/cpu/checker/cpu.cc')
-rw-r--r-- | src/cpu/checker/cpu.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cpu/checker/cpu.cc b/src/cpu/checker/cpu.cc index 4d5919cdf..9aae8b812 100644 --- a/src/cpu/checker/cpu.cc +++ b/src/cpu/checker/cpu.cc @@ -139,7 +139,8 @@ CheckerCPU::unserialize(CheckpointIn &cp) } Fault -CheckerCPU::readMem(Addr addr, uint8_t *data, unsigned size, unsigned flags) +CheckerCPU::readMem(Addr addr, uint8_t *data, unsigned size, + Request::Flags flags) { Fault fault = NoFault; int fullSize = size; @@ -225,7 +226,7 @@ CheckerCPU::readMem(Addr addr, uint8_t *data, unsigned size, unsigned flags) Fault CheckerCPU::writeMem(uint8_t *data, unsigned size, - Addr addr, unsigned flags, uint64_t *res) + Addr addr, Request::Flags flags, uint64_t *res) { Fault fault = NoFault; bool checked_flags = false; |