File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1388,7 +1388,9 @@ mod test {
1388
1388
15 => & idt. reserved_1 . options ,
1389
1389
17 => & idt. alignment_check . options ,
1390
1390
18 => & idt. machine_check . options ,
1391
- i @ 21 ..=28 => & idt. reserved_2 [ i - 21 ] . options ,
1391
+ 21 => & idt. cp_protection_exception . options ,
1392
+ i @ 22 ..=27 => & idt. reserved_2 [ i - 22 ] . options ,
1393
+ 28 => & idt. hv_injection_exception . options ,
1392
1394
29 => & idt. vmm_communication_exception . options ,
1393
1395
30 => & idt. security_exception . options ,
1394
1396
31 => & idt. reserved_3 . options ,
@@ -1444,7 +1446,7 @@ mod test {
1444
1446
}
1445
1447
set_general_handler ! ( & mut idt, general_handler) ;
1446
1448
for i in 0 ..256 {
1447
- if i == 15 || i == 31 || ( 21 ..=28 ) . contains ( & i) {
1449
+ if i == 15 || i == 31 || ( 22 ..=27 ) . contains ( & i) {
1448
1450
// reserved entries should not be set
1449
1451
assert ! ( !entry_present( & idt, i) ) ;
1450
1452
} else {
You can’t perform that action at this time.
0 commit comments