process.cc (10318:98771a936b61) | process.cc (10905:a6ca6831e775) |
---|---|
1/* 2 * Copyright (c) 2003-2004 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; --- 161 unchanged lines hidden (view full) --- 170AlphaLiveProcess::setupASNReg() 171{ 172 ThreadContext *tc = system->getThreadContext(contextIds[0]); 173 tc->setMiscRegNoEffect(IPR_DTB_ASN, M5_pid << 57); 174} 175 176 177void | 1/* 2 * Copyright (c) 2003-2004 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; --- 161 unchanged lines hidden (view full) --- 170AlphaLiveProcess::setupASNReg() 171{ 172 ThreadContext *tc = system->getThreadContext(contextIds[0]); 173 tc->setMiscRegNoEffect(IPR_DTB_ASN, M5_pid << 57); 174} 175 176 177void |
178AlphaLiveProcess::loadState(Checkpoint *cp) | 178AlphaLiveProcess::loadState(CheckpointIn &cp) |
179{ 180 LiveProcess::loadState(cp); 181 // need to set up ASN after unserialization since M5_pid value may 182 // come from checkpoint 183 setupASNReg(); 184} 185 186 --- 51 unchanged lines hidden --- | 179{ 180 LiveProcess::loadState(cp); 181 // need to set up ASN after unserialization since M5_pid value may 182 // come from checkpoint 183 setupASNReg(); 184} 185 186 --- 51 unchanged lines hidden --- |