diff options
author | Gabe Black <gabeblack@google.com> | 2017-12-22 17:14:47 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-01-11 06:30:15 +0000 |
commit | ad0056d2e811284870edcc5350db9fa3dbff6f2e (patch) | |
tree | 0020f2fb3b5dd7faba173b0c377fbb54b236d769 /src/arch/x86/process.cc | |
parent | 54a9d471faab2b4ab3ef26932957b2e0d496e84e (diff) | |
download | gem5-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/x86/process.cc')
-rw-r--r-- | src/arch/x86/process.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc index f11cc3438..bea002d34 100644 --- a/src/arch/x86/process.cc +++ b/src/arch/x86/process.cc @@ -101,9 +101,10 @@ X86Process::X86Process(ProcessParams *params, ObjectFile *objFile, : Process(params, params->useArchPT ? static_cast<PageTableBase *>( new ArchPageTable(params->name, params->pid, - params->system)) : + params->system, PageBytes)) : static_cast<PageTableBase *>( - new FuncPageTable(params->name, params->pid)), + new FuncPageTable(params->name, params->pid, + PageBytes)), objFile), syscallDescs(_syscallDescs), numSyscallDescs(_numSyscallDescs) { |