ev5.cc (3565:6ad587fb7dfd) | ev5.cc (3586:c5cc95fc5a61) |
---|---|
1/* 2 * Copyright (c) 2002-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; --- 543 unchanged lines hidden (view full) --- 552 553 // no error... 554} 555 556 557void 558AlphaISA::copyIprs(ThreadContext *src, ThreadContext *dest) 559{ | 1/* 2 * Copyright (c) 2002-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; --- 543 unchanged lines hidden (view full) --- 552 553 // no error... 554} 555 556 557void 558AlphaISA::copyIprs(ThreadContext *src, ThreadContext *dest) 559{ |
560 for (int i = IPR_Base_DepTag; i < NumInternalProcRegs; ++i) { | 560 for (int i = 0; i < NumInternalProcRegs; ++i) { |
561 dest->setMiscReg(i, src->readMiscReg(i)); 562 } 563} 564 565 566/** 567 * Check for special simulator handling of specific PAL calls. 568 * If return value is false, actual PAL call will be suppressed. --- 25 unchanged lines hidden --- | 561 dest->setMiscReg(i, src->readMiscReg(i)); 562 } 563} 564 565 566/** 567 * Check for special simulator handling of specific PAL calls. 568 * If return value is false, actual PAL call will be suppressed. --- 25 unchanged lines hidden --- |