FSConfig.py (5641:51b7b8cf8083) FSConfig.py (5644:2c54b5aa7769)
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

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

191
192 # Set up the Intel MP table
193 bp = X86IntelMPProcessor(
194 local_apic_id = 0,
195 local_apic_version = 0x14,
196 enable = True,
197 bootstrap = True)
198 self.intel_mp_table.add_entry(bp)
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

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

191
192 # Set up the Intel MP table
193 bp = X86IntelMPProcessor(
194 local_apic_id = 0,
195 local_apic_version = 0x14,
196 enable = True,
197 bootstrap = True)
198 self.intel_mp_table.add_entry(bp)
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(
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)
199
200
201def makeLinuxX86System(mem_mode, mdesc = None):
202 self = LinuxX86System()
203
204 # Build up a generic x86 system and then specialize it for Linux
205 makeX86System(mem_mode, mdesc, self)
206

--- 105 unchanged lines hidden ---
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

--- 105 unchanged lines hidden ---