X86: Use the existing boot_osflags instead of duplicating it.
--HG-- extra : convert_revision : e04e438d7d261a61c52b946c23cd126ed648814a
This commit is contained in:
parent
48295aa514
commit
657b52fea1
3 changed files with 4 additions and 2 deletions
|
@ -184,6 +184,9 @@ def makeLinuxX86System(mem_mode, mdesc = None):
|
||||||
self.com_1.pio = self.iobus.port
|
self.com_1.pio = self.iobus.port
|
||||||
self.com_1.sim_console = self.console
|
self.com_1.sim_console = self.console
|
||||||
|
|
||||||
|
# Command line
|
||||||
|
self.boot_osflags = 'earlyprintk=ttyS0'
|
||||||
|
|
||||||
# Platform
|
# Platform
|
||||||
self.opteron = Opteron()
|
self.opteron = Opteron()
|
||||||
|
|
||||||
|
|
|
@ -61,4 +61,3 @@ class X86System(System):
|
||||||
|
|
||||||
class LinuxX86System(X86System):
|
class LinuxX86System(X86System):
|
||||||
type = 'LinuxX86System'
|
type = 'LinuxX86System'
|
||||||
command_line = Param.String("", "the kernel command line")
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ using namespace LittleEndianGuest;
|
||||||
using namespace X86ISA;
|
using namespace X86ISA;
|
||||||
|
|
||||||
LinuxX86System::LinuxX86System(Params *p)
|
LinuxX86System::LinuxX86System(Params *p)
|
||||||
: X86System(p), commandLine(p->command_line)
|
: X86System(p), commandLine(p->boot_osflags)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue