kernel/process: Rename GetAllowedProcessorMask() and GetAllowedThreadPriorityMask()

Makes them consistent with their kernel capability counterparts.
This commit is contained in:
Lioncash 2018-12-30 21:09:00 -05:00
parent 205e6d3b97
commit 8769604144
2 changed files with 11 additions and 11 deletions

View file

@ -173,13 +173,13 @@ public:
return ideal_core;
}
/// Gets the bitmask of allowed CPUs that this process' threads can run on.
u64 GetAllowedProcessorMask() const {
/// Gets the bitmask of allowed cores that this process' threads can run on.
u64 GetCoreMask() const {
return capabilities.GetCoreMask();
}
/// Gets the bitmask of allowed thread priorities.
u64 GetAllowedThreadPriorityMask() const {
u64 GetPriorityMask() const {
return capabilities.GetPriorityMask();
}