ev5.cc (13611:c8b7847b4171) | ev5.cc (13614:52c5311db96b) |
---|---|
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; --- 93 unchanged lines hidden (view full) --- 102 tc->setMiscRegNoEffect(i, 0); 103 } 104 105 tc->setMiscRegNoEffect(IPR_PAL_BASE, PalBase); 106 tc->setMiscRegNoEffect(IPR_MCSR, 0x6); 107 tc->setMiscRegNoEffect(IPR_PALtemp16, cpuId); 108} 109 | 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; --- 93 unchanged lines hidden (view full) --- 102 tc->setMiscRegNoEffect(i, 0); 103 } 104 105 tc->setMiscRegNoEffect(IPR_PAL_BASE, PalBase); 106 tc->setMiscRegNoEffect(IPR_MCSR, 0x6); 107 tc->setMiscRegNoEffect(IPR_PALtemp16, cpuId); 108} 109 |
110MiscReg | 110RegVal |
111ISA::readIpr(int idx, ThreadContext *tc) 112{ 113 uint64_t retval = 0; // return value, default 0 114 115 switch (idx) { 116 case IPR_PALtemp0: 117 case IPR_PALtemp1: 118 case IPR_PALtemp2: --- 411 unchanged lines hidden --- | 111ISA::readIpr(int idx, ThreadContext *tc) 112{ 113 uint64_t retval = 0; // return value, default 0 114 115 switch (idx) { 116 case IPR_PALtemp0: 117 case IPR_PALtemp1: 118 case IPR_PALtemp2: --- 411 unchanged lines hidden --- |