kern: implement KThreadContext

This commit is contained in:
Michael Scire committed 2020-01-30 22:46:18 -08:00
1 parent d262ff92cc
commit 08cb370a45
8 files changed
+428 -1

No files matched your search

@@ -17,6 +17,7 @@
#include <mesosphere/kern_slab_helpers.hpp>
#include <mesosphere/kern_k_synchronization_object.hpp>
#include <mesosphere/kern_k_affinity_mask.hpp>
#include <mesosphere/kern_k_thread_context.hpp>
namespace ams::kern {
@@ -31,7 +32,7 @@ namespace ams::kern {
bool is_in_exception_handler;
bool has_exception_svc_perms;
s32 disable_count;
void *context; /* TODO: KThreadContext * */
KThreadContext *context;
};
static_assert(alignof(StackParameters) == 0x10);