Skip to content

Commit 43233b6

Browse files
author
Tom Dohrmann
committed
fix tests
1 parent d41756a commit 43233b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/structures/idt.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,12 +1321,13 @@ mod test {
13211321
15 => &idt.reserved_1.options,
13221322
17 => &idt.alignment_check.options,
13231323
18 => &idt.machine_check.options,
1324-
i @ 21..=29 => &idt.reserved_2[i - 21].options,
1324+
i @ 21..=28 => &idt.reserved_2[i - 21].options,
1325+
29 => &idt.vmm_communication_exception.options,
13251326
30 => &idt.security_exception.options,
13261327
31 => &idt.reserved_3.options,
13271328
other => &idt[other].options,
13281329
};
1329-
options.bits.get_bit(15)
1330+
options.0.get_bit(15)
13301331
}
13311332

13321333
#[test]

0 commit comments

Comments
 (0)