Changes

Jump to navigation Jump to search
210 bytes added ,  23:42, 12 September 2017
Line 382: Line 382:     
== svcReadWriteRegister ==
 
== svcReadWriteRegister ==
Read/write Tegra hardware registers with a hardcoded whitelist. Input address is physical-address.
+
Read/write IO registers with a hardcoded whitelist. Input address is physical-address and must be aligned to 4.
 +
 
 +
rw_mask is 0 for reading and 0xffffffff for writing. You can also write individual bits by using a mask value.
 +
 
 +
You can only write to registers inside physical pages 0x70019000, 0x7001C000, 0x7001D000, and they all share the same whitelist.
   −
rw_mask is 0 for reading and -1 for writing.
      
The whitelist is same for writing as for reading.
 
The whitelist is same for writing as for reading.

Navigation menu