X86: Add IRQ4 to the Intel MP tables.

This commit is contained in:
Gabe Black 2009-02-25 10:19:06 -08:00
parent c849ef58c0
commit eafdf00eb3

View file

@ -261,6 +261,24 @@ def makeX86System(mem_mode, mdesc = None, self = None):
dest_io_apic_id = 1, dest_io_apic_id = 1,
dest_io_apic_intin = 1) dest_io_apic_intin = 1)
self.intel_mp_table.add_entry(assign_1_to_apic) self.intel_mp_table.add_entry(assign_1_to_apic)
assign_8259_4_to_apic = X86IntelMPIOIntAssignment(
interrupt_type = 'ExtInt',
polarity = 'ConformPolarity',
trigger = 'ConformTrigger',
source_bus_id = 0,
source_bus_irq = 4,
dest_io_apic_id = 1,
dest_io_apic_intin = 0)
self.intel_mp_table.add_entry(assign_8259_4_to_apic)
assign_4_to_apic = X86IntelMPIOIntAssignment(
interrupt_type = 'INT',
polarity = 'ConformPolarity',
trigger = 'ConformTrigger',
source_bus_id = 0,
source_bus_irq = 4,
dest_io_apic_id = 1,
dest_io_apic_intin = 4)
self.intel_mp_table.add_entry(assign_4_to_apic)
assign_8259_12_to_apic = X86IntelMPIOIntAssignment( assign_8259_12_to_apic = X86IntelMPIOIntAssignment(
interrupt_type = 'ExtInt', interrupt_type = 'ExtInt',
polarity = 'ConformPolarity', polarity = 'ConformPolarity',