summaryrefslogtreecommitdiff
path: root/src/arch/x86/X86System.py
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-06-12 00:58:36 -0400
committerGabe Black <gblack@eecs.umich.edu>2008-06-12 00:58:36 -0400
commitbceaa257a38d62c91317cecc78f4dba46654eb93 (patch)
tree2db79f7f87f798e4d28553c72e8dd9d1185f3026 /src/arch/x86/X86System.py
parent4f4ff17578846018e06b0b9b047df96a8346efd9 (diff)
downloadgem5-bceaa257a38d62c91317cecc78f4dba46654eb93.tar.xz
X86: Make the e820 table manually or automatically configurable from python.
Diffstat (limited to 'src/arch/x86/X86System.py')
-rw-r--r--src/arch/x86/X86System.py6
1 files changed, 5 insertions, 1 deletions
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')