summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorGravatar bunnei2015-05-08 21:20:37 -0400
committerGravatar bunnei2015-05-08 21:20:37 -0400
commit917ac23dfcab37c65e11e3413e397863bd4bc000 (patch)
tree956ca5d1a4aad3383c4a3bfc9103476abe3f1987 /src/core/hle/kernel/kernel.h
parentMerge pull request #728 from lioncash/vars (diff)
parentKernel: Remove unused g_main_thread variable (diff)
downloadyuzu-917ac23dfcab37c65e11e3413e397863bd4bc000.tar.gz
yuzu-917ac23dfcab37c65e11e3413e397863bd4bc000.tar.xz
yuzu-917ac23dfcab37c65e11e3413e397863bd4bc000.zip
Merge pull request #731 from yuriks/app-info
Kernel: Process class and ExHeader caps parsing
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index a7bc6b71a..7c106d37c 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -7,6 +7,7 @@
7#include <boost/intrusive_ptr.hpp> 7#include <boost/intrusive_ptr.hpp>
8 8
9#include <array> 9#include <array>
10#include <memory>
10#include <string> 11#include <string>
11#include <vector> 12#include <vector>
12 13
@@ -15,6 +16,8 @@
15#include "core/hle/hle.h" 16#include "core/hle/hle.h"
16#include "core/hle/result.h" 17#include "core/hle/result.h"
17 18
19struct ApplicationInfo;
20
18namespace Kernel { 21namespace Kernel {
19 22
20class Thread; 23class Thread;
@@ -270,23 +273,10 @@ private:
270 273
271extern HandleTable g_handle_table; 274extern HandleTable g_handle_table;
272 275
273/// The ID code of the currently running game
274/// TODO(Subv): This variable should not be here,
275/// we need a way to store information about the currently loaded application
276/// for later query during runtime, maybe using the LDR service?
277extern u64 g_program_id;
278
279/// Initialize the kernel 276/// Initialize the kernel
280void Init(); 277void Init();
281 278
282/// Shutdown the kernel 279/// Shutdown the kernel
283void Shutdown(); 280void Shutdown();
284 281
285/**
286 * Loads executable stored at specified address
287 * @entry_point Entry point in memory of loaded executable
288 * @return True on success, otherwise false
289 */
290bool LoadExec(u32 entry_point);
291
292} // namespace 282} // namespace