summaryrefslogtreecommitdiff
path: root/src/arch/arm/process.cc
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/arm/process.cc
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/arm/process.cc')
-rw-r--r--src/arch/arm/process.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/arm/process.cc b/src/arch/arm/process.cc
index b64579a5d..5daa54a1f 100644
--- a/src/arch/arm/process.cc
+++ b/src/arch/arm/process.cc
@@ -63,7 +63,8 @@ using namespace ArmISA;
ArmProcess::ArmProcess(ProcessParams *params, ObjectFile *objFile,
ObjectFile::Arch _arch)
- : Process(params, new FuncPageTable(params->name, params->pid), objFile),
+ : Process(params, new FuncPageTable(params->name, params->pid, PageBytes),
+ objFile),
arch(_arch)
{
fatal_if(!params->useArchPT, "Arch page tables not implemented.");