Deleted Added
sdiff udiff text old ( 2689:dbf969c18a65 ) new ( 2716:b9114064d77a )
full compact
1/*
2 * Copyright (c) 2003-2006 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;

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

127 numSystemsRunning++;
128}
129
130System::~System()
131{
132#if FULL_SYSTEM
133 delete kernelSymtab;
134 delete kernel;
135#else
136 panic("System::fixFuncEventAddr needs to be rewritten "
137 "to work with syscall emulation");
138#endif // FULL_SYSTEM}
139}
140
141#if FULL_SYSTEM
142

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

213{
214 Addr return_addr = page_ptr << LogVMPageSize;
215 ++page_ptr;
216 return return_addr;
217}
218#endif
219
220void
221System::serialize(ostream &os)
222{
223#if FULL_SYSTEM
224 kernelSymtab->serialize("kernel_symtab", os);
225#endif // FULL_SYSTEM
226}
227
228
229void
230System::unserialize(Checkpoint *cp, const string &section)
231{
232#if FULL_SYSTEM
233 kernelSymtab->unserialize("kernel_symtab", cp, section);
234#endif // FULL_SYSTEM
235}
236
237void
238System::printSystems()
239{
240 vector<System *>::iterator i = systemList.begin();

--- 46 unchanged lines hidden ---