Deleted Added
sdiff udiff text old ( 5736:426510e758ad ) new ( 5837:831413564d0c )
full compact
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 *

--- 533 unchanged lines hidden (view full) ---

542 if (IOPort == 0xCF8 && req->getSize() == 4) {
543 req->setMmapedIpr(true);
544 req->setPaddr(MISCREG_PCI_CONFIG_ADDRESS * sizeof(MiscReg));
545 } else if ((IOPort & ~mask(2)) == 0xCFC) {
546 Addr configAddress =
547 tc->readMiscRegNoEffect(MISCREG_PCI_CONFIG_ADDRESS);
548 if (bits(configAddress, 31, 31)) {
549 req->setPaddr(PhysAddrPrefixPciConfig |
550 bits(configAddress, 30, 0));
551 }
552 } else {
553 req->setPaddr(PhysAddrPrefixIO | IOPort);
554 }
555 return NoFault;
556 } else {
557 panic("Access to unrecognized internal address space %#x.\n",
558 prefix);

--- 167 unchanged lines hidden ---