changeset 2c54b5aa7769 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=2c54b5aa7769
description:
        X86: Add entries for the IO APIC to the MP table.

diffstat:

1 file changed, 8 insertions(+)
configs/common/FSConfig.py |    8 ++++++++

diffs (27 lines):

diff -r 2b1611137af4 -r 2c54b5aa7769 configs/common/FSConfig.py
--- a/configs/common/FSConfig.py        Sat Oct 11 16:08:14 2008 -0700
+++ b/configs/common/FSConfig.py        Sat Oct 11 16:12:34 2008 -0700
@@ -196,6 +196,23 @@
             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):
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to