tlb.cc (7933:e00ef55a2c49) | tlb.cc (8098:59a19310ca65) |
---|---|
1/* 2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company 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 --- 504 unchanged lines hidden (view full) --- 513 } else if ((IOPort & ~mask(2)) == 0xCFC) { 514 req->setFlags(Request::UNCACHEABLE); 515 Addr configAddress = 516 tc->readMiscRegNoEffect(MISCREG_PCI_CONFIG_ADDRESS); 517 if (bits(configAddress, 31, 31)) { 518 req->setPaddr(PhysAddrPrefixPciConfig | 519 mbits(configAddress, 30, 2) | 520 (IOPort & mask(2))); | 1/* 2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company 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 --- 504 unchanged lines hidden (view full) --- 513 } else if ((IOPort & ~mask(2)) == 0xCFC) { 514 req->setFlags(Request::UNCACHEABLE); 515 Addr configAddress = 516 tc->readMiscRegNoEffect(MISCREG_PCI_CONFIG_ADDRESS); 517 if (bits(configAddress, 31, 31)) { 518 req->setPaddr(PhysAddrPrefixPciConfig | 519 mbits(configAddress, 30, 2) | 520 (IOPort & mask(2))); |
521 } else { 522 req->setPaddr(PhysAddrPrefixIO | IOPort); |
|
521 } 522 } else { 523 req->setFlags(Request::UNCACHEABLE); 524 req->setPaddr(PhysAddrPrefixIO | IOPort); 525 } 526 return NoFault; 527 } else { 528 panic("Access to unrecognized internal address space %#x.\n", --- 225 unchanged lines hidden --- | 523 } 524 } else { 525 req->setFlags(Request::UNCACHEABLE); 526 req->setPaddr(PhysAddrPrefixIO | IOPort); 527 } 528 return NoFault; 529 } else { 530 panic("Access to unrecognized internal address space %#x.\n", --- 225 unchanged lines hidden --- |