mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-09-07 18:16:06 +00:00
kern/pm: support for 5.x under mesosphere
This commit is contained in:
parent
657470830f
commit
79c9bed528
4 changed files with 394 additions and 367 deletions
|
@ -294,6 +294,19 @@ namespace ams::kern::svc {
|
|||
R_TRY(GetInitialProcessIdRange(out, static_cast<ams::svc::InitialProcessIdRangeInfo>(info_subtype)));
|
||||
}
|
||||
break;
|
||||
case ams::svc::SystemInfoType_IsMesosphere:
|
||||
{
|
||||
/* Verify the handle is invalid. */
|
||||
R_UNLESS(handle == ams::svc::InvalidHandle, svc::ResultInvalidHandle());
|
||||
|
||||
/* Verify that the sub-type is zero. */
|
||||
R_UNLESS(info_subtype == 0, svc::ResultInvalidCombination());
|
||||
|
||||
/* We don't actually have any data to return. */
|
||||
/* Clear the output. */
|
||||
*out = 0;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return svc::ResultInvalidEnumValue();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue