diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-01-31 23:43:09 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-01-31 23:43:09 -0800 |
commit | d08b8e2b825d8ad33d51c860af379a244f78dc30 (patch) | |
tree | b713eb5ae8ad718d703ffcdfea233382a4098e12 | |
parent | 6a3f255a84d93f3e621319fd81f355416e385c8c (diff) | |
download | gem5-d08b8e2b825d8ad33d51c860af379a244f78dc30.tar.xz |
X86: Add some interrupt info to the intel MP tables.
-rw-r--r-- | configs/common/FSConfig.py | 49 |
1 files changed, 47 insertions, 2 deletions
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py index d91822f4d..8ffd69a40 100644 --- a/configs/common/FSConfig.py +++ b/configs/common/FSConfig.py @@ -204,7 +204,7 @@ def makeX86System(mem_mode, mdesc = None, self = None): self.intel_mp_table.add_entry(io_apic) isa_bus = X86IntelMPBus(bus_id = 0, bus_type='ISA') self.intel_mp_table.add_entry(isa_bus) - assign_8259_to_apic = X86IntelMPIOIntAssignment( + assign_8259_0_to_apic = X86IntelMPIOIntAssignment( interrupt_type = 'ExtInt', polarity = 'ConformPolarity', trigger = 'ConformTrigger', @@ -212,7 +212,52 @@ def makeX86System(mem_mode, mdesc = None, self = None): source_bus_irq = 0, dest_io_apic_id = 1, dest_io_apic_intin = 0) - self.intel_mp_table.add_entry(assign_8259_to_apic) + self.intel_mp_table.add_entry(assign_8259_0_to_apic) + assign_0_to_apic = X86IntelMPIOIntAssignment( + interrupt_type = 'INT', + polarity = 'ConformPolarity', + trigger = 'ConformTrigger', + source_bus_id = 0, + source_bus_irq = 0, + dest_io_apic_id = 1, + dest_io_apic_intin = 2) + self.intel_mp_table.add_entry(assign_0_to_apic) + assign_8259_1_to_apic = X86IntelMPIOIntAssignment( + interrupt_type = 'ExtInt', + polarity = 'ConformPolarity', + trigger = 'ConformTrigger', + source_bus_id = 0, + source_bus_irq = 1, + dest_io_apic_id = 1, + dest_io_apic_intin = 0) + self.intel_mp_table.add_entry(assign_8259_1_to_apic) + assign_1_to_apic = X86IntelMPIOIntAssignment( + interrupt_type = 'INT', + polarity = 'ConformPolarity', + trigger = 'ConformTrigger', + source_bus_id = 0, + source_bus_irq = 1, + dest_io_apic_id = 1, + dest_io_apic_intin = 1) + self.intel_mp_table.add_entry(assign_1_to_apic) + assign_8259_12_to_apic = X86IntelMPIOIntAssignment( + interrupt_type = 'ExtInt', + polarity = 'ConformPolarity', + trigger = 'ConformTrigger', + source_bus_id = 0, + source_bus_irq = 12, + dest_io_apic_id = 1, + dest_io_apic_intin = 0) + self.intel_mp_table.add_entry(assign_8259_12_to_apic) + assign_12_to_apic = X86IntelMPIOIntAssignment( + interrupt_type = 'INT', + polarity = 'ConformPolarity', + trigger = 'ConformTrigger', + source_bus_id = 0, + source_bus_irq = 12, + dest_io_apic_id = 1, + dest_io_apic_intin = 12) + self.intel_mp_table.add_entry(assign_12_to_apic) def makeLinuxX86System(mem_mode, mdesc = None): |