summaryrefslogtreecommitdiff
path: root/src/arch/power
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-12-22 17:14:47 -0800
committerGabe Black <gabeblack@google.com>2018-01-11 06:30:15 +0000
commitad0056d2e811284870edcc5350db9fa3dbff6f2e (patch)
tree0020f2fb3b5dd7faba173b0c377fbb54b236d769 /src/arch/power
parent54a9d471faab2b4ab3ef26932957b2e0d496e84e (diff)
downloadgem5-ad0056d2e811284870edcc5350db9fa3dbff6f2e.tar.xz
arch,mem: Remove the default value for page size.
This breaks one more architecture dependence outside of the ISAs. Change-Id: I071f9ed73aef78e1cd1752247c183e30854b2d28 Reviewed-on: https://gem5-review.googlesource.com/6982 Maintainer: Gabe Black <gabeblack@google.com> Reviewed-by: Alexandru Duțu <alexandru.dutu@amd.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Diffstat (limited to 'src/arch/power')
-rw-r--r--src/arch/power/process.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/power/process.cc b/src/arch/power/process.cc
index 87e5bac9e..343cd4b4e 100644
--- a/src/arch/power/process.cc
+++ b/src/arch/power/process.cc
@@ -50,7 +50,8 @@ using namespace std;
using namespace PowerISA;
PowerProcess::PowerProcess(ProcessParams *params, ObjectFile *objFile)
- : Process(params, new FuncPageTable(params->name, params->pid), objFile)
+ : Process(params, new FuncPageTable(params->name, params->pid, PageBytes),
+ objFile)
{
fatal_if(!params->useArchPT, "Arch page tables not implemented.");
// Set up break point (Top of Heap)