FSConfig.py (5638:dc073dc6358b) FSConfig.py (5641:51b7b8cf8083)
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

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

184 self.pc.attachIO(self.iobus)
185
186 self.intrctrl = IntrControl()
187
188 # Add in a Bios information structure.
189 structures = [X86SMBiosBiosInformation()]
190 self.smbios_table.structures = structures
191
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

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

184 self.pc.attachIO(self.iobus)
185
186 self.intrctrl = IntrControl()
187
188 # Add in a Bios information structure.
189 structures = [X86SMBiosBiosInformation()]
190 self.smbios_table.structures = structures
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)
192
199
200
193def makeLinuxX86System(mem_mode, mdesc = None):
194 self = LinuxX86System()
195
196 # Build up a generic x86 system and then specialize it for Linux
197 makeX86System(mem_mode, mdesc, self)
198
199 # We assume below that there's at least 1MB of memory. We'll require 2
200 # just to avoid corner cases.

--- 103 unchanged lines hidden ---
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
207 # We assume below that there's at least 1MB of memory. We'll require 2
208 # just to avoid corner cases.

--- 103 unchanged lines hidden ---