diff options
Diffstat (limited to '')
| -rw-r--r-- | src/tests/core/arm/arm_test_common.cpp | 2 | ||||
| -rw-r--r-- | src/tests/core/arm/arm_test_common.h | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/tests/core/arm/arm_test_common.cpp b/src/tests/core/arm/arm_test_common.cpp index 7f9f27e19..2af487b6a 100644 --- a/src/tests/core/arm/arm_test_common.cpp +++ b/src/tests/core/arm/arm_test_common.cpp | |||
| @@ -10,8 +10,6 @@ | |||
| 10 | 10 | ||
| 11 | namespace ArmTests { | 11 | namespace ArmTests { |
| 12 | 12 | ||
| 13 | static Memory::PageTable* page_table = nullptr; | ||
| 14 | |||
| 15 | TestEnvironment::TestEnvironment(bool mutable_memory_) | 13 | TestEnvironment::TestEnvironment(bool mutable_memory_) |
| 16 | : mutable_memory(mutable_memory_), test_memory(std::make_shared<TestMemory>(this)) { | 14 | : mutable_memory(mutable_memory_), test_memory(std::make_shared<TestMemory>(this)) { |
| 17 | 15 | ||
diff --git a/src/tests/core/arm/arm_test_common.h b/src/tests/core/arm/arm_test_common.h index 368f6f6c7..7fdbda494 100644 --- a/src/tests/core/arm/arm_test_common.h +++ b/src/tests/core/arm/arm_test_common.h | |||
| @@ -11,6 +11,10 @@ | |||
| 11 | #include "common/common_types.h" | 11 | #include "common/common_types.h" |
| 12 | #include "core/memory_hook.h" | 12 | #include "core/memory_hook.h" |
| 13 | 13 | ||
| 14 | namespace Memory { | ||
| 15 | struct PageTable; | ||
| 16 | } | ||
| 17 | |||
| 14 | namespace ArmTests { | 18 | namespace ArmTests { |
| 15 | 19 | ||
| 16 | struct WriteRecord { | 20 | struct WriteRecord { |
| @@ -81,6 +85,7 @@ private: | |||
| 81 | bool mutable_memory; | 85 | bool mutable_memory; |
| 82 | std::shared_ptr<TestMemory> test_memory; | 86 | std::shared_ptr<TestMemory> test_memory; |
| 83 | std::vector<WriteRecord> write_records; | 87 | std::vector<WriteRecord> write_records; |
| 88 | Memory::PageTable* page_table = nullptr; | ||
| 84 | }; | 89 | }; |
| 85 | 90 | ||
| 86 | } // namespace ArmTests | 91 | } // namespace ArmTests |