table_walker.cc (7608:17aabeaa1a8f) | table_walker.cc (7611:c119da5a80c8) |
---|---|
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 --- 425 unchanged lines hidden (view full) --- 434 return; 435 case L1Descriptor::Section: 436 if (currState->sctlr.afe && bits(currState->l1Desc.ap(), 0) == 0) { 437 /** @todo: check sctlr.ha (bit[17]) if Hardware Access Flag is 438 * enabled if set, do l1.Desc.setAp0() instead of generating 439 * AccessFlag0 440 */ 441 | 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 --- 425 unchanged lines hidden (view full) --- 434 return; 435 case L1Descriptor::Section: 436 if (currState->sctlr.afe && bits(currState->l1Desc.ap(), 0) == 0) { 437 /** @todo: check sctlr.ha (bit[17]) if Hardware Access Flag is 438 * enabled if set, do l1.Desc.setAp0() instead of generating 439 * AccessFlag0 440 */ 441 |
442 currState->fault = 443 new DataAbort(currState->vaddr, NULL, currState->isWrite, | 442 currState->fault = new DataAbort(currState->vaddr, 443 currState->l1Desc.domain(), currState->isWrite, |
444 ArmFault::AccessFlag0); 445 } | 444 ArmFault::AccessFlag0); 445 } |
446 | |
447 if (currState->l1Desc.supersection()) { 448 panic("Haven't implemented supersections\n"); 449 } 450 te.N = 20; 451 te.pfn = currState->l1Desc.pfn(); 452 te.size = (1<<te.N) - 1; 453 te.global = !currState->l1Desc.global(); 454 te.valid = true; --- 195 unchanged lines hidden --- | 446 if (currState->l1Desc.supersection()) { 447 panic("Haven't implemented supersections\n"); 448 } 449 te.N = 20; 450 te.pfn = currState->l1Desc.pfn(); 451 te.size = (1<<te.N) - 1; 452 te.global = !currState->l1Desc.global(); 453 te.valid = true; --- 195 unchanged lines hidden --- |