Lines Matching refs:interrupts
63 uint64_t interrupts[NumInterruptTypes];
108 interrupts[int_num] |= ULL(1) << index;
119 interrupts[int_num] &= ~(ULL(1) << index);
120 if (!interrupts[int_num])
128 interrupts[i] = 0;
144 // priority interrupts should get serviced,
145 // it is v. important that new interrupts are inserted
149 if (interrupts[IT_HINTP]) {
153 if (interrupts[IT_INT_VEC]) {
159 if (interrupts[IT_TRAP_LEVEL_ZERO]) {
164 if (interrupts[IT_HINTP]) {
167 if (interrupts[IT_INT_VEC]) {
172 if (interrupts[IT_CPU_MONDO]) {
175 if (interrupts[IT_DEV_MONDO]) {
178 if (interrupts[IT_SOFT_INT]) {
182 if (interrupts[IT_RES_ERROR]) {
201 // priority interrupts should get serviced,
202 // it is v. important that new interrupts are inserted
206 if (interrupts[IT_HINTP]) {
210 if (interrupts[IT_INT_VEC]) {
216 if (interrupts[IT_TRAP_LEVEL_ZERO]) {
221 if (interrupts[IT_HINTP]) {
224 if (interrupts[IT_INT_VEC]) {
229 if (interrupts[IT_CPU_MONDO]) {
232 if (interrupts[IT_DEV_MONDO]) {
235 if (interrupts[IT_SOFT_INT]) {
236 int level = InterruptLevel(interrupts[IT_SOFT_INT]);
240 if (interrupts[IT_RES_ERROR]) {
256 return interrupts[int_num];
262 SERIALIZE_ARRAY(interrupts,NumInterruptTypes);
269 UNSERIALIZE_ARRAY(interrupts,NumInterruptTypes);