From bceaa257a38d62c91317cecc78f4dba46654eb93 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 12 Jun 2008 00:58:36 -0400 Subject: X86: Make the e820 table manually or automatically configurable from python. --- src/arch/x86/X86System.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/arch/x86/X86System.py') diff --git a/src/arch/x86/X86System.py b/src/arch/x86/X86System.py index f73764540..b4ec393c3 100644 --- a/src/arch/x86/X86System.py +++ b/src/arch/x86/X86System.py @@ -1,4 +1,4 @@ -# Copyright (c) 2007 The Hewlett-Packard Development Company +# Copyright (c) 2007-2008 The Hewlett-Packard Development Company # All rights reserved. # # Redistribution and use of this software in source and binary forms, @@ -54,6 +54,7 @@ # Authors: Gabe Black from m5.params import * +from E820 import X86E820Table, X86E820Entry from System import System class X86System(System): @@ -61,3 +62,6 @@ class X86System(System): class LinuxX86System(X86System): type = 'LinuxX86System' + + e820_table = Param.X86E820Table( + X86E820Table(), 'E820 map of physical memory') -- cgit v1.2.3 From ec0fb05d643323ae036156be76acd42c8275a2f4 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 10 Oct 2008 03:50:51 -0700 Subject: X86: Turn SMBios structures into simobjects. --- src/arch/x86/X86System.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/arch/x86/X86System.py') diff --git a/src/arch/x86/X86System.py b/src/arch/x86/X86System.py index b4ec393c3..5fe69c709 100644 --- a/src/arch/x86/X86System.py +++ b/src/arch/x86/X86System.py @@ -55,10 +55,13 @@ from m5.params import * from E820 import X86E820Table, X86E820Entry +from SMBios import X86SMBiosSMBiosTable from System import System class X86System(System): type = 'X86System' + smbios_table = Param.X86SMBiosSMBiosTable( + X86SMBiosSMBiosTable(), 'table of smbios/dmi information') class LinuxX86System(X86System): type = 'LinuxX86System' -- cgit v1.2.3 From b03c95d075b74913313576e6e1fa4fc6b1f4dcb2 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 10 Oct 2008 23:39:53 -0700 Subject: X86: Create SimObjects in python and C++ to represent the Intel MP tables. --- src/arch/x86/X86System.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/arch/x86/X86System.py') diff --git a/src/arch/x86/X86System.py b/src/arch/x86/X86System.py index 5fe69c709..fc7a5acd0 100644 --- a/src/arch/x86/X86System.py +++ b/src/arch/x86/X86System.py @@ -56,12 +56,19 @@ from m5.params import * from E820 import X86E820Table, X86E820Entry from SMBios import X86SMBiosSMBiosTable +from IntelMP import X86IntelMPFloatingPointer, X86IntelMPConfigTable from System import System class X86System(System): type = 'X86System' smbios_table = Param.X86SMBiosSMBiosTable( X86SMBiosSMBiosTable(), 'table of smbios/dmi information') + intel_mp_pointer = Param.X86IntelMPFloatingPointer( + X86IntelMPFloatingPointer(), + 'intel mp spec floating pointer structure') + intel_mp_table = Param.X86IntelMPConfigTable( + X86IntelMPConfigTable(), + 'intel mp spec configuration table') class LinuxX86System(X86System): type = 'LinuxX86System' -- cgit v1.2.3 From 3d1734ec29a0572a2c0fe403d737adbd9756c993 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 10 Oct 2008 23:43:33 -0700 Subject: X86: Create SimObjects in python and C++ to represent the ACPI system description tables. --- src/arch/x86/X86System.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/arch/x86/X86System.py') diff --git a/src/arch/x86/X86System.py b/src/arch/x86/X86System.py index fc7a5acd0..527831205 100644 --- a/src/arch/x86/X86System.py +++ b/src/arch/x86/X86System.py @@ -57,6 +57,7 @@ from m5.params import * from E820 import X86E820Table, X86E820Entry from SMBios import X86SMBiosSMBiosTable from IntelMP import X86IntelMPFloatingPointer, X86IntelMPConfigTable +from ACPI import X86ACPIRSDP from System import System class X86System(System): @@ -69,6 +70,8 @@ class X86System(System): intel_mp_table = Param.X86IntelMPConfigTable( X86IntelMPConfigTable(), 'intel mp spec configuration table') + acpi_description_table_pointer = Param.X86ACPIRSDP( + X86ACPIRSDP(), 'ACPI root description pointer structure') class LinuxX86System(X86System): type = 'LinuxX86System' -- cgit v1.2.3