@@ -555,8 +555,8 @@ impl Index<usize> for InterruptDescriptorTable {
555
555
19 => & self . simd_floating_point ,
556
556
20 => & self . virtualization ,
557
557
i @ 32 ..=255 => & self . interrupts [ i - 32 ] ,
558
- i @ 15 | i @ 31 | i @ 21 ..=29 => panic ! ( "entry {} is reserved" , i) ,
559
- i @ 8 | i @ 10 ..=14 | i @ 17 | i @ 30 => {
558
+ i @ 15 | i @ 31 | i @ 21 ..=28 => panic ! ( "entry {} is reserved" , i) ,
559
+ i @ 8 | i @ 10 ..=14 | i @ 17 | i @ 29 | i @ 30 => {
560
560
panic ! ( "entry {} is an exception with error code" , i)
561
561
}
562
562
i @ 18 => panic ! ( "entry {} is an diverging exception (must not return)" , i) ,
@@ -586,8 +586,8 @@ impl IndexMut<usize> for InterruptDescriptorTable {
586
586
19 => & mut self . simd_floating_point ,
587
587
20 => & mut self . virtualization ,
588
588
i @ 32 ..=255 => & mut self . interrupts [ i - 32 ] ,
589
- i @ 15 | i @ 31 | i @ 21 ..=29 => panic ! ( "entry {} is reserved" , i) ,
590
- i @ 8 | i @ 10 ..=14 | i @ 17 | i @ 30 => {
589
+ i @ 15 | i @ 31 | i @ 21 ..=28 => panic ! ( "entry {} is reserved" , i) ,
590
+ i @ 8 | i @ 10 ..=14 | i @ 17 | i @ 29 | i @ 30 => {
591
591
panic ! ( "entry {} is an exception with error code" , i)
592
592
}
593
593
i @ 18 => panic ! ( "entry {} is an diverging exception (must not return)" , i) ,
0 commit comments