system.cc (9153:dc656c4af516) | system.cc (9292:e57c7d9736a5) |
---|---|
1/* 2 * Copyright (c) 2002-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; --- 204 unchanged lines hidden (view full) --- 213 if (consoleSymtab->findAddress("m5AlphaAccess", addr)) { 214 virtProxy.write(addr, htog(Phys2K0Seg(access))); 215 } else { 216 panic("could not find m5AlphaAccess\n"); 217 } 218} 219 220void | 1/* 2 * Copyright (c) 2002-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; --- 204 unchanged lines hidden (view full) --- 213 if (consoleSymtab->findAddress("m5AlphaAccess", addr)) { 214 virtProxy.write(addr, htog(Phys2K0Seg(access))); 215 } else { 216 panic("could not find m5AlphaAccess\n"); 217 } 218} 219 220void |
221AlphaSystem::serialize(std::ostream &os) | 221AlphaSystem::serializeSymtab(std::ostream &os) |
222{ | 222{ |
223 System::serialize(os); | |
224 consoleSymtab->serialize("console_symtab", os); 225 palSymtab->serialize("pal_symtab", os); 226} 227 228void | 223 consoleSymtab->serialize("console_symtab", os); 224 palSymtab->serialize("pal_symtab", os); 225} 226 227void |
229AlphaSystem::unserialize(Checkpoint *cp, const std::string §ion) | 228AlphaSystem::unserializeSymtab(Checkpoint *cp, const std::string §ion) |
230{ | 229{ |
231 System::unserialize(cp,section); | |
232 consoleSymtab->unserialize("console_symtab", cp, section); 233 palSymtab->unserialize("pal_symtab", cp, section); 234} 235 236AlphaSystem * 237AlphaSystemParams::create() 238{ 239 return new AlphaSystem(this); 240} | 230 consoleSymtab->unserialize("console_symtab", cp, section); 231 palSymtab->unserialize("pal_symtab", cp, section); 232} 233 234AlphaSystem * 235AlphaSystemParams::create() 236{ 237 return new AlphaSystem(this); 238} |