Changes

246 bytes added ,  19:28, 7 August 2023
no edit summary
Line 244: Line 244:     
== OpenSession ==
 
== OpenSession ==
Takes a '''DeviceCode''' and an input u32. Returns an [[#IPowctlSession]].
+
Takes a '''DeviceCode''' and an input [[#AccessMode]]. Returns an [[#IPowctlSession]].
    
== IPowctlSession ==
 
== IPowctlSession ==
Line 1,053: Line 1,053:  
|-
 
|-
 
| 0xC || 0x34 || Reserved
 
| 0xC || 0x34 || Reserved
 +
|}
 +
 +
= AccessMode =
 +
This is "nn::ddsf::AccessMode".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Name || Block
 +
|-
 +
| 0 || None
 +
|-
 +
| 1 || Read
 +
|-
 +
| 2 || Write
 +
|-
 +
| 3 || ReadWrite
 +
|-
 +
| 4 || Shared
 +
|-
 +
| 5 || WriteShared
 +
|-
 +
| 6 || ReadWriteShared
 
|}
 
|}