mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-18 17:14:28 -04:00
exo2: Implement SmcReadWriteRegister
This commit is contained in:
parent
8c4c1db506
commit
e3eadcd2e3
35 changed files with 918 additions and 139 deletions
|
@ -207,7 +207,7 @@ namespace ams::secmon::smc {
|
|||
return (info.restriction_mask & secmon::GetRestrictedSmcMask()) != 0;
|
||||
}
|
||||
|
||||
SmcResult InvokeSmcHandler(const HandlerInfo &info, const SmcArguments &args) {
|
||||
SmcResult InvokeSmcHandler(const HandlerInfo &info, SmcArguments &args) {
|
||||
/* Check if the smc is restricted. */
|
||||
if (AMS_UNLIKELY(IsHandlerRestricted(info))) {
|
||||
return SmcResult::NotPermitted;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue