mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 22:54:24 -04:00
kern: implement KThreadContext
This commit is contained in:
parent
d262ff92cc
commit
08cb370a45
8 changed files with 428 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue