isa.cc (6712:b95abe00dd9d) | isa.cc (7533:b4aa25440bdd) |
---|---|
1/* 2 * Copyright (c) 2009 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; --- 338 unchanged lines hidden (view full) --- 347 SERIALIZE_ARRAY(regVal, NumMiscRegs); 348} 349 350void 351ISA::unserialize(EventManager *em, Checkpoint * cp, 352 const std::string & section) 353{ 354 UNSERIALIZE_ARRAY(regVal, NumMiscRegs); | 1/* 2 * Copyright (c) 2009 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; --- 338 unchanged lines hidden (view full) --- 347 SERIALIZE_ARRAY(regVal, NumMiscRegs); 348} 349 350void 351ISA::unserialize(EventManager *em, Checkpoint * cp, 352 const std::string & section) 353{ 354 UNSERIALIZE_ARRAY(regVal, NumMiscRegs); |
355 updateHandyM5Reg(regVal[MISCREG_EFER], 356 regVal[MISCREG_CR0], 357 regVal[MISCREG_CS_ATTR], 358 regVal[MISCREG_SS_ATTR], 359 regVal[MISCREG_RFLAGS]); |
|
355} 356 357} | 360} 361 362} |