summaryrefslogtreecommitdiffstats
path: root/src/core/arm/arm_interface.h
diff options
context:
space:
mode:
authorKevin Hartman <kevin@hart.mn>2015-01-26 07:56:17 +0100
committerKevin Hartman <kevin@hart.mn>2015-02-10 06:47:12 +0100
commit5fcbfc06eb247c0a4c1db201ac9050d80d4e4020 (patch)
tree4cdac59449b025c7a07e8655f29eda2fbcb423fe /src/core/arm/arm_interface.h
parentMerge pull request #551 from bunnei/mutex-fixes (diff)
downloadyuzu-5fcbfc06eb247c0a4c1db201ac9050d80d4e4020.tar
yuzu-5fcbfc06eb247c0a4c1db201ac9050d80d4e4020.tar.gz
yuzu-5fcbfc06eb247c0a4c1db201ac9050d80d4e4020.tar.bz2
yuzu-5fcbfc06eb247c0a4c1db201ac9050d80d4e4020.tar.lz
yuzu-5fcbfc06eb247c0a4c1db201ac9050d80d4e4020.tar.xz
yuzu-5fcbfc06eb247c0a4c1db201ac9050d80d4e4020.tar.zst
yuzu-5fcbfc06eb247c0a4c1db201ac9050d80d4e4020.zip
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r--src/core/arm/arm_interface.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index e612f7439..ef37ee055 100644
--- a/src/core/arm/arm_interface.h
+++ b/src/core/arm/arm_interface.h
@@ -86,6 +86,15 @@ public:
virtual void AddTicks(u64 ticks) = 0;
/**
+ * Initializes a CPU context for use on this CPU
+ * @param context Thread context to reset
+ * @param stack_top Pointer to the top of the stack
+ * @param entry_point Entry point for execution
+ * @param arg User argument for thread
+ */
+ virtual void ResetContext(Core::ThreadContext& context, u32 stack_top, u32 entry_point, u32 arg) = 0;
+
+ /**
* Saves the current CPU context
* @param ctx Thread context to save
*/