table_walker.hh (7436:b578349f9371) table_walker.hh (7437:5853fbdfba9b)
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

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

284 bool isFetch;
285
286 /** If the mode is timing or atomic */
287 bool timing;
288
289 L1Descriptor l1Desc;
290 L2Descriptor l2Desc;
291
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

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

284 bool isFetch;
285
286 /** If the mode is timing or atomic */
287 bool timing;
288
289 L1Descriptor l1Desc;
290 L2Descriptor l2Desc;
291
292 /** Save mode for use in delayed response */
293 BaseTLB::Mode mode;
294
295 /** Whether L1/L2 descriptor response is delayed in timing mode */
296 bool delayed;
297
292 public:
293 typedef ArmTableWalkerParams Params;
294 TableWalker(const Params *p);
295 virtual ~TableWalker();
296
297 const Params *
298 params() const
299 {

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

307 TLB::Translation *_trans, bool timing);
308
309 void setTlb(TLB *_tlb) { tlb = _tlb; }
310 void memAttrs(TlbEntry &te, uint8_t texcb, bool s);
311
312 private:
313
314 void doL1Descriptor();
298 public:
299 typedef ArmTableWalkerParams Params;
300 TableWalker(const Params *p);
301 virtual ~TableWalker();
302
303 const Params *
304 params() const
305 {

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

313 TLB::Translation *_trans, bool timing);
314
315 void setTlb(TLB *_tlb) { tlb = _tlb; }
316 void memAttrs(TlbEntry &te, uint8_t texcb, bool s);
317
318 private:
319
320 void doL1Descriptor();
315 EventWrapper<TableWalker, &TableWalker::doL1Descriptor> doL1DescEvent;
321 void doL1DescriptorWrapper();
322 EventWrapper<TableWalker, &TableWalker::doL1DescriptorWrapper> doL1DescEvent;
316
317 void doL2Descriptor();
323
324 void doL2Descriptor();
318 EventWrapper<TableWalker, &TableWalker::doL2Descriptor> doL2DescEvent;
325 void doL2DescriptorWrapper();
326 EventWrapper<TableWalker, &TableWalker::doL2DescriptorWrapper> doL2DescEvent;
319
320
321};
322
323
324} // namespace ArmISA
325
326#endif //__ARCH_ARM_TABLE_WALKER_HH__
327
327
328
329};
330
331
332} // namespace ArmISA
333
334#endif //__ARCH_ARM_TABLE_WALKER_HH__
335