summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h
new file mode 100644
index 000000000..bae9f3e3d
--- /dev/null
+++ b/src/core/core.h
@@ -0,0 +1,40 @@
1// Copyright 2014 Citra Emulator Project
2// Licensed under GPLv2
3// Refer to the license.txt file included.
4
5#pragma once
6
7#include "arm/arm_interface.h"
8#include "arm/interpreter/armdefs.h"
9
10////////////////////////////////////////////////////////////////////////////////////////////////////
11
12namespace Core {
13
14extern ARM_Interface* g_app_core; ///< ARM11 application core
15extern ARM_Interface* g_sys_core; ///< ARM11 system (OS) core
16
17////////////////////////////////////////////////////////////////////////////////////////////////////
18
19/// Start the core
20void Start();
21
22/// Run the core CPU loop
23void RunLoop();
24
25/// Step the CPU one instruction
26void SingleStep();
27
28/// Halt the core
29void Halt(const char *msg);
30
31/// Kill the core
32void Stop();
33
34/// Initialize the core
35int Init();
36
37/// Shutdown the core
38void Shutdown();
39
40} // namespace