diff options
Diffstat (limited to 'src/cpu/simple/exec_context.hh')
-rw-r--r-- | src/cpu/simple/exec_context.hh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/cpu/simple/exec_context.hh b/src/cpu/simple/exec_context.hh index 0552dc0c6..de5cc7fd7 100644 --- a/src/cpu/simple/exec_context.hh +++ b/src/cpu/simple/exec_context.hh @@ -456,6 +456,19 @@ class SimpleExecContext : public ExecContext { return cpu->writeMem(data, size, addr, flags, res); } + Fault amoMem(Addr addr, uint8_t *data, unsigned int size, + Request::Flags flags, AtomicOpFunctor *amo_op) override + { + return cpu->amoMem(addr, data, size, flags, amo_op); + } + + Fault initiateMemAMO(Addr addr, unsigned int size, + Request::Flags flags, + AtomicOpFunctor *amo_op) override + { + return cpu->initiateMemAMO(addr, size, flags, amo_op); + } + /** * Sets the number of consecutive store conditional failures. */ |