process.cc (11905:4a771f8756ad) | process.cc (12186:1a643ec8dfeb) |
---|---|
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; --- 175 unchanged lines hidden (view full) --- 184AlphaProcess::setupASNReg() 185{ 186 ThreadContext *tc = system->getThreadContext(contextIds[0]); 187 tc->setMiscRegNoEffect(IPR_DTB_ASN, _pid << 57); 188} 189 190 191void | 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; --- 175 unchanged lines hidden (view full) --- 184AlphaProcess::setupASNReg() 185{ 186 ThreadContext *tc = system->getThreadContext(contextIds[0]); 187 tc->setMiscRegNoEffect(IPR_DTB_ASN, _pid << 57); 188} 189 190 191void |
192AlphaProcess::loadState(CheckpointIn &cp) | 192AlphaProcess::unserialize(CheckpointIn &cp) |
193{ | 193{ |
194 Process::loadState(cp); | 194 Process::unserialize(cp); |
195 // need to set up ASN after unserialization since _pid value may 196 // come from checkpoint 197 setupASNReg(); 198} 199 200 201void 202AlphaProcess::initState() --- 48 unchanged lines hidden --- | 195 // need to set up ASN after unserialization since _pid value may 196 // come from checkpoint 197 setupASNReg(); 198} 199 200 201void 202AlphaProcess::initState() --- 48 unchanged lines hidden --- |