diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2008-10-11 16:12:34 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2008-10-11 16:12:34 -0700 |
commit | ff29e001128ea43a4db2b1b72cc2bb68e63909d6 (patch) | |
tree | ecb0b5e027852dc0557419c04a6a5c5447cb86d3 /configs/common | |
parent | 168e524b9bfc9a53465562e2901c65ef388a237b (diff) | |
download | gem5-ff29e001128ea43a4db2b1b72cc2bb68e63909d6.tar.xz |
X86: Add entries for the IO APIC to the MP table.
Diffstat (limited to 'configs/common')
-rw-r--r-- | configs/common/FSConfig.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py index 789145b66..e1fcbed2c 100644 --- a/configs/common/FSConfig.py +++ b/configs/common/FSConfig.py @@ -196,6 +196,23 @@ def makeX86System(mem_mode, mdesc = None, self = None): enable = True, bootstrap = True) self.intel_mp_table.add_entry(bp) + io_apic = X86IntelMPIOAPIC( + id = 1, + version = 0x11, + enable = True, + address = 0xfec00000) + 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( + interrupt_type = 'ExtInt', + polarity = 'ConformPolarity', + trigger = 'ConformTrigger', + source_bus_id = 0, + source_bus_irq = 0, + dest_io_apic_id = 1, + dest_io_apic_intin = 0) + self.intel_mp_table.add_entry(assign_8259_to_apic) def makeLinuxX86System(mem_mode, mdesc = None): |