aboutsummaryrefslogtreecommitdiff
path: root/src/tests/core/arm/arm_test_common.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-21 10:55:29 -0700
committerGitHub <noreply@github.com>2018-07-21 10:55:29 -0700
commit1c7c1347d8defb8e8721bb078c80293465b0365e (patch)
tree93ea9301e85a66e7d51742043f4bb173de6ce100 /src/tests/core/arm/arm_test_common.h
parentff8754f921a0e9f1c7da02b768fad5584d3d22c5 (diff)
parent48733744bb38d3a18af9713096f6e9b729944bb2 (diff)
Merge pull request #746 from lioncash/tests
tests/arm_test_common: Minor changes
Diffstat (limited to 'src/tests/core/arm/arm_test_common.h')
-rw-r--r--src/tests/core/arm/arm_test_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tests/core/arm/arm_test_common.h b/src/tests/core/arm/arm_test_common.h
index b66922d61..7fdbda494 100644
--- a/src/tests/core/arm/arm_test_common.h
+++ b/src/tests/core/arm/arm_test_common.h
@@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#pragma once
+
#include <tuple>
#include <unordered_map>
#include <vector>
@@ -9,6 +11,10 @@
#include "common/common_types.h"
#include "core/memory_hook.h"
+namespace Memory {
+struct PageTable;
+}
+
namespace ArmTests {
struct WriteRecord {
@@ -79,6 +85,7 @@ private:
bool mutable_memory;
std::shared_ptr<TestMemory> test_memory;
std::vector<WriteRecord> write_records;
+ Memory::PageTable* page_table = nullptr;
};
} // namespace ArmTests