FSConfig.py (5266:cd03d3753a8d) FSConfig.py (5299:e61b9f2a9732)
1# Copyright (c) 2006-2007 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

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

150 self.mem_mode = mem_mode
151 self.sim_console = SimConsole()
152 self.kernel = binary('mips/vmlinux')
153 self.console = binary('mips/console')
154 self.boot_osflags = 'root=/dev/hda1 console=ttyS0'
155
156 return self
157
1# Copyright (c) 2006-2007 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

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

150 self.mem_mode = mem_mode
151 self.sim_console = SimConsole()
152 self.kernel = binary('mips/vmlinux')
153 self.console = binary('mips/console')
154 self.boot_osflags = 'root=/dev/hda1 console=ttyS0'
155
156 return self
157
158def makeX86System(mem_mode, mdesc = None):
159 self = X86System()
158def makeLinuxX86System(mem_mode, mdesc = None):
159 self = LinuxX86System()
160 if not mdesc:
161 # generic system
162 mdesc = SysConfig()
163 self.readfile = mdesc.script()
164
165 # Physical memory
166 self.membus = Bus(bus_id=0)
167 self.physmem = PhysicalMemory(range = AddrRange(mdesc.mem()))

--- 93 unchanged lines hidden ---
160 if not mdesc:
161 # generic system
162 mdesc = SysConfig()
163 self.readfile = mdesc.script()
164
165 # Physical memory
166 self.membus = Bus(bus_id=0)
167 self.physmem = PhysicalMemory(range = AddrRange(mdesc.mem()))

--- 93 unchanged lines hidden ---