system.cc (9847:29941c87f7b0) system.cc (10905:a6ca6831e775)
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::serializeSymtab(std::ostream &os)
221AlphaSystem::serializeSymtab(CheckpointOut &cp) const
222{
222{
223 consoleSymtab->serialize("console_symtab", os);
224 palSymtab->serialize("pal_symtab", os);
223 consoleSymtab->serialize("console_symtab", cp);
224 palSymtab->serialize("pal_symtab", cp);
225}
226
227void
225}
226
227void
228AlphaSystem::unserializeSymtab(Checkpoint *cp, const std::string &section)
228AlphaSystem::unserializeSymtab(CheckpointIn &cp)
229{
229{
230 consoleSymtab->unserialize("console_symtab", cp, section);
231 palSymtab->unserialize("pal_symtab", cp, section);
230 consoleSymtab->unserialize("console_symtab", cp);
231 palSymtab->unserialize("pal_symtab", cp);
232}
233
234AlphaSystem *
235AlphaSystemParams::create()
236{
237 return new AlphaSystem(this);
238}
232}
233
234AlphaSystem *
235AlphaSystemParams::create()
236{
237 return new AlphaSystem(this);
238}