Threads: Added enum values for the Switch's 4 cpu cores and implemented svcGetInfo(AllowedCpuIdBitmask)

This commit is contained in:
Subv 2018-01-10 00:58:25 -05:00
parent 188feba457
commit 7ad20154fc
5 changed files with 28 additions and 16 deletions

View file

@ -23,6 +23,7 @@ struct PageInfo {
/// Values accepted by svcGetInfo
enum class GetInfoType : u64 {
// 1.0.0+
AllowedCpuIdBitmask = 0,
TotalMemoryUsage = 6,
TotalHeapUsage = 7,
RandomEntropy = 11,