stage2_lookup.hh (10379:c00f6d7e2681) | stage2_lookup.hh (10537:47fe87b0cf97) |
---|---|
1/* 2 * Copyright (c) 2010-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 66 unchanged lines hidden (view full) --- 75 bool selfDelete; 76 77 public: 78 Stage2LookUp(TLB *s1Tlb, TLB *s2Tlb, TlbEntry s1Te, RequestPtr _req, 79 TLB::Translation *_transState, BaseTLB::Mode _mode, bool _timing, 80 bool _functional, TLB::ArmTranslationType _tranType) : 81 stage1Tlb(s1Tlb), stage2Tlb(s2Tlb), stage1Te(s1Te), s1Req(_req), 82 transState(_transState), mode(_mode), timing(_timing), | 1/* 2 * Copyright (c) 2010-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 66 unchanged lines hidden (view full) --- 75 bool selfDelete; 76 77 public: 78 Stage2LookUp(TLB *s1Tlb, TLB *s2Tlb, TlbEntry s1Te, RequestPtr _req, 79 TLB::Translation *_transState, BaseTLB::Mode _mode, bool _timing, 80 bool _functional, TLB::ArmTranslationType _tranType) : 81 stage1Tlb(s1Tlb), stage2Tlb(s2Tlb), stage1Te(s1Te), s1Req(_req), 82 transState(_transState), mode(_mode), timing(_timing), |
83 functional(_functional), tranType(_tranType), fault(NoFault), 84 complete(false), selfDelete(false) | 83 functional(_functional), tranType(_tranType), stage2Te(nullptr), 84 fault(NoFault), complete(false), selfDelete(false) |
85 { 86 req.setVirt(0, s1Te.pAddr(s1Req->getVaddr()), s1Req->getSize(), 87 s1Req->getFlags(), s1Req->masterId(), 0); 88 } 89 90 Fault getTe(ThreadContext *tc, TlbEntry *destTe); 91 92 void mergeTe(RequestPtr req, BaseTLB::Mode mode); --- 16 unchanged lines hidden --- | 85 { 86 req.setVirt(0, s1Te.pAddr(s1Req->getVaddr()), s1Req->getSize(), 87 s1Req->getFlags(), s1Req->masterId(), 0); 88 } 89 90 Fault getTe(ThreadContext *tc, TlbEntry *destTe); 91 92 void mergeTe(RequestPtr req, BaseTLB::Mode mode); --- 16 unchanged lines hidden --- |