File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -589,7 +589,7 @@ impl Index<usize> for InterruptDescriptorTable {
589
589
20 => & self . virtualization ,
590
590
28 => & self . hv_injection_exception ,
591
591
i @ 32 ..=255 => & self . interrupts [ i - 32 ] ,
592
- i @ 15 | i @ 31 | i @ 21 ..=27 => panic ! ( "entry {} is reserved" , i) ,
592
+ i @ 15 | i @ 31 | i @ 22 ..=27 => panic ! ( "entry {} is reserved" , i) ,
593
593
i @ 8 | i @ 10 ..=14 | i @ 17 | i @ 21 | i @ 29 | i @ 30 => {
594
594
panic ! ( "entry {} is an exception with error code" , i)
595
595
}
@@ -621,7 +621,7 @@ impl IndexMut<usize> for InterruptDescriptorTable {
621
621
20 => & mut self . virtualization ,
622
622
28 => & mut self . hv_injection_exception ,
623
623
i @ 32 ..=255 => & mut self . interrupts [ i - 32 ] ,
624
- i @ 15 | i @ 31 | i @ 21 ..=27 => panic ! ( "entry {} is reserved" , i) ,
624
+ i @ 15 | i @ 31 | i @ 22 ..=27 => panic ! ( "entry {} is reserved" , i) ,
625
625
i @ 8 | i @ 10 ..=14 | i @ 17 | i @ 21 | i @ 29 | i @ 30 => {
626
626
panic ! ( "entry {} is an exception with error code" , i)
627
627
}
You can’t perform that action at this time.
0 commit comments