mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-24 19:54:22 -04:00
kern: add hardware single step extension
This commit is contained in:
parent
904ab19823
commit
4075d24e0c
10 changed files with 226 additions and 4 deletions
|
@ -271,6 +271,16 @@ namespace ams::kern::svc {
|
|||
*out = KTraceValue;
|
||||
}
|
||||
break;
|
||||
case ams::svc::MesosphereMetaInfo_IsSingleStepEnabled:
|
||||
{
|
||||
/* Return whether the kernel supports hardware single step. */
|
||||
#if defined(MESOSPHERE_ENABLE_HARDWARE_SINGLE_STEP)
|
||||
*out = 1;
|
||||
#else
|
||||
*out = 0;
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return svc::ResultInvalidCombination();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue