diff options
-rw-r--r-- | configs/common/FSConfig.py | 3 | ||||
-rw-r--r-- | src/arch/x86/X86System.py | 1 | ||||
-rw-r--r-- | src/arch/x86/linux/system.cc | 2 |
3 files changed, 4 insertions, 2 deletions
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) { } |