Deleted Added
sdiff udiff text old ( 11168:f98eb2da15a4 ) new ( 11566:b11410957c9e )
full compact
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;

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

116 interrupts[i] = 0;
117 }
118 intStatus = 0;
119 }
120
121 bool
122 checkInterrupts(ThreadContext *tc) const
123 {
124 return intStatus;
125 }
126
127 Fault
128 getInterrupt(ThreadContext *tc)
129 {
130 HPSTATE hpstate = tc->readMiscRegNoEffect(MISCREG_HPSTATE);
131 PSTATE pstate = tc->readMiscRegNoEffect(MISCREG_PSTATE);
132
133 // THESE ARE IN ORDER OF PRIORITY
134 // since there are early returns, and the highest
135 // priority interrupts should get serviced,
136 // it is v. important that new interrupts are inserted
137 // in the right order of processing

--- 72 unchanged lines hidden ---