From: Gabe Black Date: Mon, 21 Jan 2008 09:32:34 +0000 (-0500) Subject: X86: Use the existing boot_osflags instead of duplicating it. X-Git-Tag: m5_2.0_beta5~27 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=657b52fea1aa53988b83e4cd91dac7836825a7d7;p=gem5.git X86: Use the existing boot_osflags instead of duplicating it. --HG-- extra : convert_revision : e04e438d7d261a61c52b946c23cd126ed648814a --- diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py index c8916841b..6d7634106 100644 --- a/configs/common/FSConfig.py +++ b/configs/common/FSConfig.py @@ -184,6 +184,9 @@ def makeLinuxX86System(mem_mode, mdesc = None): self.com_1.pio = self.iobus.port self.com_1.sim_console = self.console + # Command line + self.boot_osflags = 'earlyprintk=ttyS0' + # Platform self.opteron = Opteron() diff --git a/src/arch/x86/X86System.py b/src/arch/x86/X86System.py index acee5ac36..f73764540 100644 --- a/src/arch/x86/X86System.py +++ b/src/arch/x86/X86System.py @@ -61,4 +61,3 @@ class X86System(System): class LinuxX86System(X86System): type = 'LinuxX86System' - command_line = Param.String("", "the kernel command line") diff --git a/src/arch/x86/linux/system.cc b/src/arch/x86/linux/system.cc index 2569fb0ae..944bb2930 100644 --- a/src/arch/x86/linux/system.cc +++ b/src/arch/x86/linux/system.cc @@ -68,7 +68,7 @@ using namespace LittleEndianGuest; using namespace X86ISA; LinuxX86System::LinuxX86System(Params *p) - : X86System(p), commandLine(p->command_line) + : X86System(p), commandLine(p->boot_osflags) { }