diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-12-22 07:30:09 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-09 06:51:55 +0100 |
commit | 7b3452c7303cf348377de6702ddda0307533663c (patch) | |
tree | ce08ed7d7c42015919e1dd26cb2ec8721a54ec8a /src/core/arm/arm_interface.h | |
parent | Merge pull request #255 from Subv/cbranch_3 (diff) | |
download | yuzu-7b3452c7303cf348377de6702ddda0307533663c.tar yuzu-7b3452c7303cf348377de6702ddda0307533663c.tar.gz yuzu-7b3452c7303cf348377de6702ddda0307533663c.tar.bz2 yuzu-7b3452c7303cf348377de6702ddda0307533663c.tar.lz yuzu-7b3452c7303cf348377de6702ddda0307533663c.tar.xz yuzu-7b3452c7303cf348377de6702ddda0307533663c.tar.zst yuzu-7b3452c7303cf348377de6702ddda0307533663c.zip |
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r-- | src/core/arm/arm_interface.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index d3bd4a9a3..e612f7439 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h @@ -7,7 +7,9 @@ #include "common/common.h" #include "common/common_types.h" -#include "core/hle/svc.h" +namespace Core { + struct ThreadContext; +} /// Generic ARM11 CPU interface class ARM_Interface : NonCopyable { @@ -87,13 +89,13 @@ public: * Saves the current CPU context * @param ctx Thread context to save */ - virtual void SaveContext(ThreadContext& ctx) = 0; + virtual void SaveContext(Core::ThreadContext& ctx) = 0; /** * Loads a CPU context * @param ctx Thread context to load */ - virtual void LoadContext(const ThreadContext& ctx) = 0; + virtual void LoadContext(const Core::ThreadContext& ctx) = 0; /// Prepare core for thread reschedule (if needed to correctly handle state) virtual void PrepareReschedule() = 0; |