tlb.cc (5714:76abee886def) | tlb.cc (5736:426510e758ad) |
---|---|
1/* 2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 639 unchanged lines hidden (view full) --- 648 // Check alignment 649 if (paddr & ((32/8) - 1)) 650 return new GeneralProtection(0); 651 // Check access size 652 if (req->getSize() != (32/8)) 653 return new GeneralProtection(0); 654 */ 655 // Force the access to be uncacheable. | 1/* 2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 639 unchanged lines hidden (view full) --- 648 // Check alignment 649 if (paddr & ((32/8) - 1)) 650 return new GeneralProtection(0); 651 // Check access size 652 if (req->getSize() != (32/8)) 653 return new GeneralProtection(0); 654 */ 655 // Force the access to be uncacheable. |
656 req->setFlags(req->getFlags() | UNCACHEABLE); | 656 req->setFlags(Request::UNCACHEABLE); |
657 req->setPaddr(x86LocalAPICAddress(tc->contextId(), paddr - baseAddr)); 658 } 659#endif 660 return NoFault; 661}; 662 663Fault 664DTB::translate(RequestPtr &req, ThreadContext *tc, bool write) --- 61 unchanged lines hidden --- | 657 req->setPaddr(x86LocalAPICAddress(tc->contextId(), paddr - baseAddr)); 658 } 659#endif 660 return NoFault; 661}; 662 663Fault 664DTB::translate(RequestPtr &req, ThreadContext *tc, bool write) --- 61 unchanged lines hidden --- |