From 953e4bba59262ed4ee7268e5f49b992d7b0c02d6 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 1 Feb 2009 16:59:34 -0800 Subject: [PATCH] X86: Set/correct some default values for x86 parameters. --- src/arch/x86/bios/ACPI.py | 2 +- src/arch/x86/bios/IntelMP.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/arch/x86/bios/ACPI.py b/src/arch/x86/bios/ACPI.py index 20eb66be0..6f7cae946 100644 --- a/src/arch/x86/bios/ACPI.py +++ b/src/arch/x86/bios/ACPI.py @@ -94,6 +94,6 @@ class X86ACPIRSDP(SimObject): # here. revision = Param.UInt8(2, 'revision of ACPI being used, zero indexed') - rsdt = Param.X86ACPIRSDT('root system description table') + rsdt = Param.X86ACPIRSDT(NULL, 'root system description table') xsdt = Param.X86ACPIXSDT(X86ACPIXSDT(), 'extended system description table') diff --git a/src/arch/x86/bios/IntelMP.py b/src/arch/x86/bios/IntelMP.py index 758932180..1b9e819b3 100644 --- a/src/arch/x86/bios/IntelMP.py +++ b/src/arch/x86/bios/IntelMP.py @@ -115,9 +115,9 @@ class X86IntelMPProcessor(X86IntelMPBaseConfigEntry): enable = Param.Bool(True, 'if this processor is usable') bootstrap = Param.Bool(False, 'if this is the bootstrap processor') - stepping = Param.UInt8(0) - model = Param.UInt8(0) - family = Param.UInt8(0) + stepping = Param.UInt8(0, 'Processor stepping') + model = Param.UInt8(0, 'Processor model') + family = Param.UInt8(0, 'Processor family') feature_flags = Param.UInt32(0, 'flags returned by the CPUID instruction')