FSConfig.py (5330:a1db38b0d8e8) | FSConfig.py (5357:eecb5fd0be62) |
---|---|
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 --- 142 unchanged lines hidden (view full) --- 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 x86IOAddress(port): | 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 --- 142 unchanged lines hidden (view full) --- 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 x86IOAddress(port): |
159 IO_address_space_base = 0x1000000000000000 | 159 IO_address_space_base = 0x8000000000000000 |
160 return IO_address_space_base + port; 161 162def makeLinuxX86System(mem_mode, mdesc = None): 163 self = LinuxX86System() 164 if not mdesc: 165 # generic system 166 mdesc = SysConfig() 167 self.readfile = mdesc.script() --- 16 unchanged lines hidden (view full) --- 184 self.com_1.pio = self.iobus.port 185 self.com_1.sim_console = self.console 186 187 # Command line 188 self.boot_osflags = 'earlyprintk=ttyS0' 189 190 # Platform 191 self.opteron = Opteron() | 160 return IO_address_space_base + port; 161 162def makeLinuxX86System(mem_mode, mdesc = None): 163 self = LinuxX86System() 164 if not mdesc: 165 # generic system 166 mdesc = SysConfig() 167 self.readfile = mdesc.script() --- 16 unchanged lines hidden (view full) --- 184 self.com_1.pio = self.iobus.port 185 self.com_1.sim_console = self.console 186 187 # Command line 188 self.boot_osflags = 'earlyprintk=ttyS0' 189 190 # Platform 191 self.opteron = Opteron() |
192 self.opteron.attachIO(self.iobus) |
|
192 193 self.intrctrl = IntrControl() 194 195 return self 196 197 198def makeDualRoot(testSystem, driveSystem, dumpfile): 199 self = Root() --- 81 unchanged lines hidden --- | 193 194 self.intrctrl = IntrControl() 195 196 return self 197 198 199def makeDualRoot(testSystem, driveSystem, dumpfile): 200 self = Root() --- 81 unchanged lines hidden --- |