mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-01 23:38:23 -04:00
kern: add SvcReadWriteRegister
This commit is contained in:
parent
ef1763334b
commit
9f79710cb7
3 changed files with 98 additions and 10 deletions
|
@ -48,7 +48,7 @@ namespace ams::kern::board::nintendo::nx {
|
|||
|
||||
/* Privileged Access. */
|
||||
static void ReadWriteRegisterPrivileged(u32 *out, ams::svc::PhysicalAddress address, u32 mask, u32 value);
|
||||
static void ReadWriteRegister(u32 *out, ams::svc::PhysicalAddress address, u32 mask, u32 value);
|
||||
static Result ReadWriteRegister(u32 *out, ams::svc::PhysicalAddress address, u32 mask, u32 value);
|
||||
|
||||
static ALWAYS_INLINE u32 ReadRegisterPrivileged(ams::svc::PhysicalAddress address) {
|
||||
u32 v;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue