misc: Remove include of arch/page_size.hh, and fix up includes.
Remove the only remaining use of arch/page_size.hh, and fix up a couple files which were using one of the constants defined in a specific arch version of it without including the file they needed directly. Change-Id: I6da5638ca10c788bd42197f4f5180e6b66f7b87f Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50765 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#include "arch/arm/page_size.hh"
|
||||
#include "kern/linux/events.hh"
|
||||
#include "params/ArmSystem.hh"
|
||||
#include "sim/full_system.hh"
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
#include <memory>
|
||||
|
||||
#include "arch/riscv/faults.hh"
|
||||
#include "arch/riscv/page_size.hh"
|
||||
#include "arch/riscv/pagetable.hh"
|
||||
#include "arch/riscv/tlb.hh"
|
||||
#include "base/bitfield.hh"
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include "arch/arm/page_size.hh"
|
||||
#include "arch/arm/system.hh"
|
||||
#include "arch/arm/utility.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "arch/x86/page_size.hh"
|
||||
#include "base/compiler.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
|
||||
@@ -48,7 +48,6 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "arch/page_size.hh"
|
||||
#include "base/loader/memory_image.hh"
|
||||
#include "base/loader/symtab.hh"
|
||||
#include "base/statistics.hh"
|
||||
|
||||
Reference in New Issue
Block a user