table_walker.hh (8229:78bf55f23338) | table_walker.hh (8733:64a7bf8fa56c) |
---|---|
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 --- 280 unchanged lines hidden (view full) --- 289 bool isWrite; 290 291 /** If the access is a fetch (for execution, and no-exec) must be checked?*/ 292 bool isFetch; 293 294 /** If the mode is timing or atomic */ 295 bool timing; 296 | 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 --- 280 unchanged lines hidden (view full) --- 289 bool isWrite; 290 291 /** If the access is a fetch (for execution, and no-exec) must be checked?*/ 292 bool isFetch; 293 294 /** If the mode is timing or atomic */ 295 bool timing; 296 |
297 /** If the atomic mode should be functional */ 298 bool functional; 299 |
|
297 /** Save mode for use in delayed response */ 298 BaseTLB::Mode mode; 299 300 L1Descriptor l1Desc; 301 L2Descriptor l2Desc; 302 303 /** Whether L1/L2 descriptor response is delayed in timing mode */ 304 bool delayed; --- 44 unchanged lines hidden (view full) --- 349 return dynamic_cast<const Params *>(_params); 350 } 351 352 virtual unsigned int drain(Event *de); 353 virtual void resume(); 354 virtual Port *getPort(const std::string &if_name, int idx = -1); 355 356 Fault walk(RequestPtr req, ThreadContext *tc, uint8_t cid, TLB::Mode mode, | 300 /** Save mode for use in delayed response */ 301 BaseTLB::Mode mode; 302 303 L1Descriptor l1Desc; 304 L2Descriptor l2Desc; 305 306 /** Whether L1/L2 descriptor response is delayed in timing mode */ 307 bool delayed; --- 44 unchanged lines hidden (view full) --- 352 return dynamic_cast<const Params *>(_params); 353 } 354 355 virtual unsigned int drain(Event *de); 356 virtual void resume(); 357 virtual Port *getPort(const std::string &if_name, int idx = -1); 358 359 Fault walk(RequestPtr req, ThreadContext *tc, uint8_t cid, TLB::Mode mode, |
357 TLB::Translation *_trans, bool timing); | 360 TLB::Translation *_trans, bool timing, bool functional = false); |
358 359 void setTlb(TLB *_tlb) { tlb = _tlb; } 360 void memAttrs(ThreadContext *tc, TlbEntry &te, SCTLR sctlr, 361 uint8_t texcb, bool s); 362 363 private: 364 365 void doL1Descriptor(); --- 19 unchanged lines hidden --- | 361 362 void setTlb(TLB *_tlb) { tlb = _tlb; } 363 void memAttrs(ThreadContext *tc, TlbEntry &te, SCTLR sctlr, 364 uint8_t texcb, bool s); 365 366 private: 367 368 void doL1Descriptor(); --- 19 unchanged lines hidden --- |