Deleted Added
sdiff udiff text old ( 5841:08c65e29e57e ) new ( 5843:a2c317cefcf8 )
full compact
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

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

207 io_apic = X86IntelMPIOAPIC(
208 id = 1,
209 version = 0x11,
210 enable = True,
211 address = 0xfec00000)
212 self.intel_mp_table.add_entry(io_apic)
213 isa_bus = X86IntelMPBus(bus_id = 0, bus_type='ISA')
214 self.intel_mp_table.add_entry(isa_bus)
215 assign_8259_0_to_apic = X86IntelMPIOIntAssignment(
216 interrupt_type = 'ExtInt',
217 polarity = 'ConformPolarity',
218 trigger = 'ConformTrigger',
219 source_bus_id = 0,
220 source_bus_irq = 0,
221 dest_io_apic_id = 1,
222 dest_io_apic_intin = 0)

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

261 interrupt_type = 'INT',
262 polarity = 'ConformPolarity',
263 trigger = 'ConformTrigger',
264 source_bus_id = 0,
265 source_bus_irq = 12,
266 dest_io_apic_id = 1,
267 dest_io_apic_intin = 12)
268 self.intel_mp_table.add_entry(assign_12_to_apic)
269
270
271def makeLinuxX86System(mem_mode, mdesc = None):
272 self = LinuxX86System()
273
274 # Build up a generic x86 system and then specialize it for Linux
275 makeX86System(mem_mode, mdesc, self)
276

--- 104 unchanged lines hidden ---