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.
This commit is contained in:
Lioncash
2018-12-19 19:09:18 -05:00
parent 6ff5135521
commit 27caf71204
2 changed files with 40 additions and 1 deletions

View File

@ -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.
///