tsunami.cc (5478:ca055528a3b3) | tsunami.cc (5834:b9e30a60dee4) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 82 unchanged lines hidden (view full) --- 91Addr 92Tsunami::pciToDma(Addr pciAddr) const 93{ 94 return pchip->translatePciToDma(pciAddr); 95} 96 97 98Addr | 1/* 2 * Copyright (c) 2004-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; --- 82 unchanged lines hidden (view full) --- 91Addr 92Tsunami::pciToDma(Addr pciAddr) const 93{ 94 return pchip->translatePciToDma(pciAddr); 95} 96 97 98Addr |
99Tsunami::calcConfigAddr(int bus, int dev, int func) | 99Tsunami::calcPciConfigAddr(int bus, int dev, int func) |
100{ 101 return pchip->calcConfigAddr(bus, dev, func); 102} 103 | 100{ 101 return pchip->calcConfigAddr(bus, dev, func); 102} 103 |
104Addr 105Tsunami::calcPciIOAddr(Addr addr) 106{ 107 return pchip->calcIOAddr(addr); 108} 109 110Addr 111Tsunami::calcPciMemAddr(Addr addr) 112{ 113 return pchip->calcMemAddr(addr); 114} 115 |
|
104void 105Tsunami::serialize(std::ostream &os) 106{ 107 SERIALIZE_ARRAY(intr_sum_type, Tsunami::Max_CPUs); 108} 109 110void 111Tsunami::unserialize(Checkpoint *cp, const std::string §ion) 112{ 113 UNSERIALIZE_ARRAY(intr_sum_type, Tsunami::Max_CPUs); 114} 115 116Tsunami * 117TsunamiParams::create() 118{ 119 return new Tsunami(this); 120} | 116void 117Tsunami::serialize(std::ostream &os) 118{ 119 SERIALIZE_ARRAY(intr_sum_type, Tsunami::Max_CPUs); 120} 121 122void 123Tsunami::unserialize(Checkpoint *cp, const std::string §ion) 124{ 125 UNSERIALIZE_ARRAY(intr_sum_type, Tsunami::Max_CPUs); 126} 127 128Tsunami * 129TsunamiParams::create() 130{ 131 return new Tsunami(this); 132} |