isa.cc (10899:b8b8ad2c72dd) | isa.cc (10905:a6ca6831e775) |
---|---|
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; --- 395 unchanged lines hidden (view full) --- 404 return; 405 default: 406 break; 407 } 408 setMiscRegNoEffect(miscReg, newVal); 409} 410 411void | 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; --- 395 unchanged lines hidden (view full) --- 404 return; 405 default: 406 break; 407 } 408 setMiscRegNoEffect(miscReg, newVal); 409} 410 411void |
412ISA::serialize(std::ostream & os) | 412ISA::serialize(CheckpointOut &cp) const |
413{ 414 SERIALIZE_ARRAY(regVal, NumMiscRegs); 415} 416 417void | 413{ 414 SERIALIZE_ARRAY(regVal, NumMiscRegs); 415} 416 417void |
418ISA::unserialize(Checkpoint * cp, const std::string & section) | 418ISA::unserialize(CheckpointIn &cp) |
419{ 420 UNSERIALIZE_ARRAY(regVal, NumMiscRegs); 421 updateHandyM5Reg(regVal[MISCREG_EFER], 422 regVal[MISCREG_CR0], 423 regVal[MISCREG_CS_ATTR], 424 regVal[MISCREG_SS_ATTR], 425 regVal[MISCREG_RFLAGS], 426 NULL); --- 15 unchanged lines hidden --- | 419{ 420 UNSERIALIZE_ARRAY(regVal, NumMiscRegs); 421 updateHandyM5Reg(regVal[MISCREG_EFER], 422 regVal[MISCREG_CR0], 423 regVal[MISCREG_CS_ATTR], 424 regVal[MISCREG_SS_ATTR], 425 regVal[MISCREG_RFLAGS], 426 NULL); --- 15 unchanged lines hidden --- |