tlb.cc (12406:86bde4a026b5) tlb.cc (12544:6a4c3acc4289)
1/*
2 * Copyright (c) 2001-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;

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

1362 SERIALIZE_SCALAR(c0_tsb_ps0);
1363 SERIALIZE_SCALAR(c0_tsb_ps1);
1364 SERIALIZE_SCALAR(c0_config);
1365 SERIALIZE_SCALAR(cx_tsb_ps0);
1366 SERIALIZE_SCALAR(cx_tsb_ps1);
1367 SERIALIZE_SCALAR(cx_config);
1368 SERIALIZE_SCALAR(sfsr);
1369 SERIALIZE_SCALAR(tag_access);
1/*
2 * Copyright (c) 2001-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;

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

1362 SERIALIZE_SCALAR(c0_tsb_ps0);
1363 SERIALIZE_SCALAR(c0_tsb_ps1);
1364 SERIALIZE_SCALAR(c0_config);
1365 SERIALIZE_SCALAR(cx_tsb_ps0);
1366 SERIALIZE_SCALAR(cx_tsb_ps1);
1367 SERIALIZE_SCALAR(cx_config);
1368 SERIALIZE_SCALAR(sfsr);
1369 SERIALIZE_SCALAR(tag_access);
1370 SERIALIZE_SCALAR(sfar);
1370
1371 for (int x = 0; x < size; x++) {
1372 ScopedCheckpointSection sec(cp, csprintf("PTE%d", x));
1373 tlb[x].serialize(cp);
1374 }
1371
1372 for (int x = 0; x < size; x++) {
1373 ScopedCheckpointSection sec(cp, csprintf("PTE%d", x));
1374 tlb[x].serialize(cp);
1375 }
1375 SERIALIZE_SCALAR(sfar);
1376}
1377
1378void
1379TLB::unserialize(CheckpointIn &cp)
1380{
1381 int oldSize;
1382
1383 paramIn(cp, "size", oldSize);

--- 38 unchanged lines hidden ---
1376}
1377
1378void
1379TLB::unserialize(CheckpointIn &cp)
1380{
1381 int oldSize;
1382
1383 paramIn(cp, "size", oldSize);

--- 38 unchanged lines hidden ---