kern: add InfoType_IsSvcPermitted
This commit is contained in:
1 parent
ef1b67b87b
commit
14e768cd10
7 files changed
+73
No files matched your search
@@ -306,6 +306,10 @@ namespace ams::kern {
|
||||
}
|
||||
}
|
||||
|
||||
constexpr bool IsPermittedSvc(svc::SvcId id) const {
|
||||
return (id < m_svc_access_flags.GetCount()) && m_svc_access_flags[id];
|
||||
}
|
||||
|
||||
constexpr bool IsPermittedInterrupt(u32 id) const {
|
||||
return (id < m_irq_access_flags.GetCount()) && m_irq_access_flags[id];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user