diff options
author | Dylan Johnson <Dylan.Johnson@ARM.com> | 2016-08-02 10:38:02 +0100 |
---|---|---|
committer | Dylan Johnson <Dylan.Johnson@ARM.com> | 2016-08-02 10:38:02 +0100 |
commit | 996c1ed33c251f80ebdfd972477709f95bdcbe65 (patch) | |
tree | f8bc3a721badae2896a9fe2f31bdf191e8b6dd86 /src/arch/arm/table_walker.hh | |
parent | eac27759e77edfcb772021be714469f43f2e3b46 (diff) | |
download | gem5-996c1ed33c251f80ebdfd972477709f95bdcbe65.tar.xz |
arm: Fix stage 2 determination in table walker
We recompute if we are doing a stage 2 walk inside of the table walker
but we have already figured it out in the tlb. Pass the information in
to the walk instead of recomputing it.
Change-Id: I39637ce99309b2ddbc30344d45ac9ebf6a203401
Diffstat (limited to 'src/arch/arm/table_walker.hh')
-rw-r--r-- | src/arch/arm/table_walker.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arm/table_walker.hh b/src/arch/arm/table_walker.hh index 743b8aa93..e3c7d33d7 100644 --- a/src/arch/arm/table_walker.hh +++ b/src/arch/arm/table_walker.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2015 ARM Limited + * Copyright (c) 2010-2016 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall @@ -902,7 +902,7 @@ class TableWalker : public MemObject Fault walk(RequestPtr req, ThreadContext *tc, uint16_t asid, uint8_t _vmid, bool _isHyp, TLB::Mode mode, TLB::Translation *_trans, bool timing, bool functional, bool secure, - TLB::ArmTranslationType tranType); + TLB::ArmTranslationType tranType, bool _stage2Req); void setTlb(TLB *_tlb) { tlb = _tlb; } TLB* getTlb() { return tlb; } |