diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-12-19 19:09:18 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-12-21 07:05:34 -0500 |
| commit | 27caf7120444d1c34e1c2e322ab97ba9f5275b28 (patch) | |
| tree | f84ed4a9178786c27ceddf9940e7be6e26f94d51 /src/core/hle/kernel/process_capability.h | |
| parent | 6ff5135521a59cd510ba3ecc8d5ff5d56cdbf08e (diff) | |
kernel/process_capability: Handle the priority mask and core mask flags
Handles the priority mask and core mask flags to allow building up the
masks to determine the usable thread priorities and cores for a kernel
process instance.
Diffstat (limited to 'src/core/hle/kernel/process_capability.h')
| -rw-r--r-- | src/core/hle/kernel/process_capability.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process_capability.h b/src/core/hle/kernel/process_capability.h index 5cff10476..4b27ee8b9 100644 --- a/src/core/hle/kernel/process_capability.h +++ b/src/core/hle/kernel/process_capability.h @@ -122,6 +122,16 @@ public: /// void InitializeForMetadatalessProcess(); + /// Gets the allowable core mask + u64 GetCoreMask() const { + return core_mask; + } + + /// Gets the allowable priority mask + u64 GetPriorityMask() const { + return priority_mask; + } + private: /// Attempts to parse a given sequence of capability descriptors. /// |
