summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/process_capability.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-12-20 01:09:18 +0100
committerLioncash <mathew1800@gmail.com>2018-12-21 13:05:34 +0100
commit27caf7120444d1c34e1c2e322ab97ba9f5275b28 (patch)
treef84ed4a9178786c27ceddf9940e7be6e26f94d51 /src/core/hle/kernel/process_capability.h
parentkernel/process: Introduce process capability parsing skeleton (diff)
downloadyuzu-27caf7120444d1c34e1c2e322ab97ba9f5275b28.tar
yuzu-27caf7120444d1c34e1c2e322ab97ba9f5275b28.tar.gz
yuzu-27caf7120444d1c34e1c2e322ab97ba9f5275b28.tar.bz2
yuzu-27caf7120444d1c34e1c2e322ab97ba9f5275b28.tar.lz
yuzu-27caf7120444d1c34e1c2e322ab97ba9f5275b28.tar.xz
yuzu-27caf7120444d1c34e1c2e322ab97ba9f5275b28.tar.zst
yuzu-27caf7120444d1c34e1c2e322ab97ba9f5275b28.zip
Diffstat (limited to 'src/core/hle/kernel/process_capability.h')
-rw-r--r--src/core/hle/kernel/process_capability.h10
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.
///