tlb.cc (10905:a6ca6831e775) | tlb.cc (11320:42ecb523c64a) |
---|---|
1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 216 unchanged lines hidden (view full) --- 225 // mark request as uncacheable 226 req->setFlags(Request::UNCACHEABLE | Request::STRICT_ORDER); 227 228 // Clear bits 42:35 of the physical address (10-2 in 229 // Tsunami manual) 230 req->setPaddr(req->getPaddr() & PAddrUncachedMask); 231 } 232 // We shouldn't be able to read from an uncachable address in Alpha as | 1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 216 unchanged lines hidden (view full) --- 225 // mark request as uncacheable 226 req->setFlags(Request::UNCACHEABLE | Request::STRICT_ORDER); 227 228 // Clear bits 42:35 of the physical address (10-2 in 229 // Tsunami manual) 230 req->setPaddr(req->getPaddr() & PAddrUncachedMask); 231 } 232 // We shouldn't be able to read from an uncachable address in Alpha as |
233 // we don't have a ROM and we don't want to try to fetch from a device 234 // register as we destroy any data that is clear-on-read. 235 if (req->isUncacheable() && itb) | 233 // we don't have a ROM and we don't want to try to fetch from a device 234 // register as we destroy any data that is clear-on-read. 235 if (req->isUncacheable() && itb) |
236 return std::make_shared<UnimpFault>( 237 "CPU trying to fetch from uncached I/O"); 238 239 } 240 return NoFault; 241} 242 243 --- 392 unchanged lines hidden --- | 236 return std::make_shared<UnimpFault>( 237 "CPU trying to fetch from uncached I/O"); 238 239 } 240 return NoFault; 241} 242 243 --- 392 unchanged lines hidden --- |