interrupts.hh (3633:524f2aadbc89) interrupts.hh (3677:a706c4e4aac2)
1/*
2 * Copyright (c) 2006 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;

--- 124 unchanged lines hidden (view full) ---

133 // See table 4-19 of 21164 hardware reference
134 ipl = i;
135 summary |= (ULL(1) << i);
136 }
137 }
138 }
139
140 if (ipl && ipl > tc->readMiscReg(IPR_IPLR)) {
1/*
2 * Copyright (c) 2006 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;

--- 124 unchanged lines hidden (view full) ---

133 // See table 4-19 of 21164 hardware reference
134 ipl = i;
135 summary |= (ULL(1) << i);
136 }
137 }
138 }
139
140 if (ipl && ipl > tc->readMiscReg(IPR_IPLR)) {
141// assert(!newInfoSet);
142 newIpl = ipl;
141 newIpl = ipl;
143 newSummary = newSummary;
142 newSummary = summary;
144 newInfoSet = true;
145 DPRINTF(Flow, "Interrupt! IPLR=%d ipl=%d summary=%x\n",
146 tc->readMiscReg(IPR_IPLR), ipl, summary);
147
148 return new InterruptFault;
149 } else {
150 return NoFault;
151 }

--- 19 unchanged lines hidden ---
143 newInfoSet = true;
144 DPRINTF(Flow, "Interrupt! IPLR=%d ipl=%d summary=%x\n",
145 tc->readMiscReg(IPR_IPLR), ipl, summary);
146
147 return new InterruptFault;
148 } else {
149 return NoFault;
150 }

--- 19 unchanged lines hidden ---