summaryrefslogtreecommitdiffstats
path: root/src/core/arm/interpreter/arm_interpreter.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-21 00:50:16 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-21 00:50:16 +0200
commit49dc2ce8ac4fc37a008fa28e0771c8c74c576b05 (patch)
tree1640b629267273cb6afe73e7923833072ad55d7d /src/core/arm/interpreter/arm_interpreter.h
parentrenamed "syscall" module to "svc" (more accurate naming) (diff)
downloadyuzu-49dc2ce8ac4fc37a008fa28e0771c8c74c576b05.tar
yuzu-49dc2ce8ac4fc37a008fa28e0771c8c74c576b05.tar.gz
yuzu-49dc2ce8ac4fc37a008fa28e0771c8c74c576b05.tar.bz2
yuzu-49dc2ce8ac4fc37a008fa28e0771c8c74c576b05.tar.lz
yuzu-49dc2ce8ac4fc37a008fa28e0771c8c74c576b05.tar.xz
yuzu-49dc2ce8ac4fc37a008fa28e0771c8c74c576b05.tar.zst
yuzu-49dc2ce8ac4fc37a008fa28e0771c8c74c576b05.zip
Diffstat (limited to 'src/core/arm/interpreter/arm_interpreter.h')
-rw-r--r--src/core/arm/interpreter/arm_interpreter.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/arm/interpreter/arm_interpreter.h b/src/core/arm/interpreter/arm_interpreter.h
index 474ba3e45..15240568c 100644
--- a/src/core/arm/interpreter/arm_interpreter.h
+++ b/src/core/arm/interpreter/arm_interpreter.h
@@ -60,6 +60,18 @@ public:
*/
u64 GetTicks() const;
+ /**
+ * Saves the current CPU context
+ * @param ctx Thread context to save
+ */
+ void SaveContext(ThreadContext& ctx);
+
+ /**
+ * Loads a CPU context
+ * @param ctx Thread context to load
+ */
+ void LoadContext(const ThreadContext& ctx);
+
protected:
/**