isa.cc (6337:cac56cd6b015) | isa.cc (7703:90299d921559) |
---|---|
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; --- 85 unchanged lines hidden (view full) --- 94 softint = 0; 95 tick_cmpr = 0; 96 stick = 0; 97 stick_cmpr = 0; 98 memset(tpc, 0, sizeof(tpc)); 99 memset(tnpc, 0, sizeof(tnpc)); 100 memset(tstate, 0, sizeof(tstate)); 101 memset(tt, 0, sizeof(tt)); | 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; --- 85 unchanged lines hidden (view full) --- 94 softint = 0; 95 tick_cmpr = 0; 96 stick = 0; 97 stick_cmpr = 0; 98 memset(tpc, 0, sizeof(tpc)); 99 memset(tnpc, 0, sizeof(tnpc)); 100 memset(tstate, 0, sizeof(tstate)); 101 memset(tt, 0, sizeof(tt)); |
102 tba = 0; |
|
102 pstate = 0; 103 tl = 0; 104 pil = 0; 105 //cansave = 0; 106 //canrestore = 0; 107 //cleanwin = 0; 108 //otherwin = 0; 109 //wstate = 0; --- 8 unchanged lines hidden (view full) --- 118 fsr = 0; 119 120 priContext = 0; 121 secContext = 0; 122 partId = 0; 123 lsuCtrlReg = 0; 124 125 memset(scratchPad, 0, sizeof(scratchPad)); | 103 pstate = 0; 104 tl = 0; 105 pil = 0; 106 //cansave = 0; 107 //canrestore = 0; 108 //cleanwin = 0; 109 //otherwin = 0; 110 //wstate = 0; --- 8 unchanged lines hidden (view full) --- 119 fsr = 0; 120 121 priContext = 0; 122 secContext = 0; 123 partId = 0; 124 lsuCtrlReg = 0; 125 126 memset(scratchPad, 0, sizeof(scratchPad)); |
127 128 cpu_mondo_head = 0; 129 cpu_mondo_tail = 0; 130 dev_mondo_head = 0; 131 dev_mondo_tail = 0; 132 res_error_head = 0; 133 res_error_tail = 0; 134 nres_error_head = 0; 135 nres_error_tail = 0; 136 |
|
126#if FULL_SYSTEM | 137#if FULL_SYSTEM |
127 tickCompare = NULL; 128 sTickCompare = NULL; 129 hSTickCompare = NULL; | 138 // If one of these events is active, it's not obvious to me how to get 139 // rid of it cleanly. For now we'll just assert that they're not. 140 if (tickCompare != NULL && sTickCompare != NULL && hSTickCompare != NULL) 141 panic("Tick comparison event active when clearing the ISA object.\n"); |
130#endif 131} 132 133MiscReg 134ISA::readMiscRegNoEffect(int miscReg) 135{ 136 137 // The three miscRegs are moved up from the switch statement --- 633 unchanged lines hidden --- | 142#endif 143} 144 145MiscReg 146ISA::readMiscRegNoEffect(int miscReg) 147{ 148 149 // The three miscRegs are moved up from the switch statement --- 633 unchanged lines hidden --- |