diff options
author | 2015-05-06 09:45:42 -0400 | |
---|---|---|
committer | 2015-05-06 09:45:42 -0400 | |
commit | c4abfe893bf23e7937a29263a68451c24b349fd9 (patch) | |
tree | 0707ce5701d0c996a3ee131542e0f2178ba6e48e /src/core/hle/hle.h | |
parent | 9cdfe5d864dcd6a45704fb76d20fe0a8929eabcc (diff) | |
parent | ecff2351a180e76967de7322ceb2d8e9064ae7a6 (diff) |
Merge pull request #720 from yuriks/svc-cleanup
HLE: Clean up SVC dispatch mechanism
Diffstat (limited to 'src/core/hle/hle.h')
-rw-r--r-- | src/core/hle/hle.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/core/hle/hle.h b/src/core/hle/hle.h index 3f6f9a4b..23de1aab 100644 --- a/src/core/hle/hle.h +++ b/src/core/hle/hle.h @@ -4,40 +4,13 @@ #pragma once -#include <string> - -#include "common/common_types.h" -#include "core/core.h" - -//////////////////////////////////////////////////////////////////////////////////////////////////// - namespace HLE { extern bool g_reschedule; ///< If true, immediately reschedules the CPU to a new thread -typedef u32 Addr; -typedef void (*Func)(); - -struct FunctionDef { - u32 id; - Func func; - std::string name; -}; - -struct ModuleDef { - std::string name; - int num_funcs; - const FunctionDef* func_table; -}; - -void RegisterModule(std::string name, int num_functions, const FunctionDef *func_table); - -void CallSVC(u32 opcode); - void Reschedule(const char *reason); void Init(); - void Shutdown(); } // namespace |