table_walker.hh (7437:5853fbdfba9b) table_walker.hh (7438:8e4b37136330)
1/*
2 * Copyright (c) 2010 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

--- 299 unchanged lines hidden (view full) ---

308
309 virtual unsigned int drain(Event *de) { panic("write me\n"); }
310 virtual Port *getPort(const std::string &if_name, int idx = -1);
311
312 Fault walk(RequestPtr req, ThreadContext *tc, uint8_t cid, TLB::Mode mode,
313 TLB::Translation *_trans, bool timing);
314
315 void setTlb(TLB *_tlb) { tlb = _tlb; }
1/*
2 * Copyright (c) 2010 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

--- 299 unchanged lines hidden (view full) ---

308
309 virtual unsigned int drain(Event *de) { panic("write me\n"); }
310 virtual Port *getPort(const std::string &if_name, int idx = -1);
311
312 Fault walk(RequestPtr req, ThreadContext *tc, uint8_t cid, TLB::Mode mode,
313 TLB::Translation *_trans, bool timing);
314
315 void setTlb(TLB *_tlb) { tlb = _tlb; }
316 void memAttrs(TlbEntry &te, uint8_t texcb, bool s);
316 void memAttrs(ThreadContext *tc, TlbEntry &te, uint8_t texcb, bool s);
317
318 private:
319
320 void doL1Descriptor();
321 void doL1DescriptorWrapper();
322 EventWrapper<TableWalker, &TableWalker::doL1DescriptorWrapper> doL1DescEvent;
323
324 void doL2Descriptor();
325 void doL2DescriptorWrapper();
326 EventWrapper<TableWalker, &TableWalker::doL2DescriptorWrapper> doL2DescEvent;
327
328
329};
330
331
332} // namespace ArmISA
333
334#endif //__ARCH_ARM_TABLE_WALKER_HH__
335
317
318 private:
319
320 void doL1Descriptor();
321 void doL1DescriptorWrapper();
322 EventWrapper<TableWalker, &TableWalker::doL1DescriptorWrapper> doL1DescEvent;
323
324 void doL2Descriptor();
325 void doL2DescriptorWrapper();
326 EventWrapper<TableWalker, &TableWalker::doL2DescriptorWrapper> doL2DescEvent;
327
328
329};
330
331
332} // namespace ArmISA
333
334#endif //__ARCH_ARM_TABLE_WALKER_HH__
335