Skip to content

Commit a8bf262

Browse files
ytakanoIsaacWoods
authored andcommitted
fix: increment local_nmi_line_count if X1ApicNmi is found
Signed-off-by: Yuuki Takano <[email protected]>
1 parent f83d39f commit a8bf262

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

acpi/src/madt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ impl Madt {
133133
MadtEntry::InterruptSourceOverride(_) => iso_count += 1,
134134
MadtEntry::NmiSource(_) => nmi_source_count += 1,
135135
MadtEntry::LocalApicNmi(_) => local_nmi_line_count += 1,
136+
MadtEntry::X2ApicNmi(_) => local_nmi_line_count += 1,
136137
MadtEntry::LocalApic(_) => processor_count += 1,
137138
MadtEntry::LocalX2Apic(_) => processor_count += 1,
138139
_ => (),

0 commit comments

Comments
 (0)