FSConfig.py (5819:f4a1bcc3b7bc) FSConfig.py (5828:5975aa055dc8)
1# Copyright (c) 2006-2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 190 unchanged lines hidden (view full) ---

199 io_apic = X86IntelMPIOAPIC(
200 id = 1,
201 version = 0x11,
202 enable = True,
203 address = 0xfec00000)
204 self.intel_mp_table.add_entry(io_apic)
205 isa_bus = X86IntelMPBus(bus_id = 0, bus_type='ISA')
206 self.intel_mp_table.add_entry(isa_bus)
1# Copyright (c) 2006-2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 190 unchanged lines hidden (view full) ---

199 io_apic = X86IntelMPIOAPIC(
200 id = 1,
201 version = 0x11,
202 enable = True,
203 address = 0xfec00000)
204 self.intel_mp_table.add_entry(io_apic)
205 isa_bus = X86IntelMPBus(bus_id = 0, bus_type='ISA')
206 self.intel_mp_table.add_entry(isa_bus)
207 assign_8259_to_apic = X86IntelMPIOIntAssignment(
207 assign_8259_0_to_apic = X86IntelMPIOIntAssignment(
208 interrupt_type = 'ExtInt',
209 polarity = 'ConformPolarity',
210 trigger = 'ConformTrigger',
211 source_bus_id = 0,
212 source_bus_irq = 0,
213 dest_io_apic_id = 1,
214 dest_io_apic_intin = 0)
208 interrupt_type = 'ExtInt',
209 polarity = 'ConformPolarity',
210 trigger = 'ConformTrigger',
211 source_bus_id = 0,
212 source_bus_irq = 0,
213 dest_io_apic_id = 1,
214 dest_io_apic_intin = 0)
215 self.intel_mp_table.add_entry(assign_8259_to_apic)
215 self.intel_mp_table.add_entry(assign_8259_0_to_apic)
216 assign_0_to_apic = X86IntelMPIOIntAssignment(
217 interrupt_type = 'INT',
218 polarity = 'ConformPolarity',
219 trigger = 'ConformTrigger',
220 source_bus_id = 0,
221 source_bus_irq = 0,
222 dest_io_apic_id = 1,
223 dest_io_apic_intin = 2)
224 self.intel_mp_table.add_entry(assign_0_to_apic)
225 assign_8259_1_to_apic = X86IntelMPIOIntAssignment(
226 interrupt_type = 'ExtInt',
227 polarity = 'ConformPolarity',
228 trigger = 'ConformTrigger',
229 source_bus_id = 0,
230 source_bus_irq = 1,
231 dest_io_apic_id = 1,
232 dest_io_apic_intin = 0)
233 self.intel_mp_table.add_entry(assign_8259_1_to_apic)
234 assign_1_to_apic = X86IntelMPIOIntAssignment(
235 interrupt_type = 'INT',
236 polarity = 'ConformPolarity',
237 trigger = 'ConformTrigger',
238 source_bus_id = 0,
239 source_bus_irq = 1,
240 dest_io_apic_id = 1,
241 dest_io_apic_intin = 1)
242 self.intel_mp_table.add_entry(assign_1_to_apic)
243 assign_8259_12_to_apic = X86IntelMPIOIntAssignment(
244 interrupt_type = 'ExtInt',
245 polarity = 'ConformPolarity',
246 trigger = 'ConformTrigger',
247 source_bus_id = 0,
248 source_bus_irq = 12,
249 dest_io_apic_id = 1,
250 dest_io_apic_intin = 0)
251 self.intel_mp_table.add_entry(assign_8259_12_to_apic)
252 assign_12_to_apic = X86IntelMPIOIntAssignment(
253 interrupt_type = 'INT',
254 polarity = 'ConformPolarity',
255 trigger = 'ConformTrigger',
256 source_bus_id = 0,
257 source_bus_irq = 12,
258 dest_io_apic_id = 1,
259 dest_io_apic_intin = 12)
260 self.intel_mp_table.add_entry(assign_12_to_apic)
216
217
218def makeLinuxX86System(mem_mode, mdesc = None):
219 self = LinuxX86System()
220
221 # Build up a generic x86 system and then specialize it for Linux
222 makeX86System(mem_mode, mdesc, self)
223

--- 107 unchanged lines hidden ---
261
262
263def makeLinuxX86System(mem_mode, mdesc = None):
264 self = LinuxX86System()
265
266 # Build up a generic x86 system and then specialize it for Linux
267 makeX86System(mem_mode, mdesc, self)
268

--- 107 unchanged lines hidden ---