Difference between revisions of "/dev/bsp/ddrperf"

From WiiUBrew
< /dev‎ | bsp
Jump to navigation Jump to search
(""document"" BSP ddrperf entity.)
 
(No difference)

Latest revision as of 05:46, 27 December 2019

Attributes

ctr_val

Availability: This attribute is always available.

Permissions: BSP_PERMISSIONS_IOS | BSP_PERMISSIONS_PPC_SUPV only.

Method Data Size Values
Read 0x40 Reads out a series of unknown hardware registers between 0x0D8B4680 and 0x0D8B469C in the first 0x20 bytes; followed by some MEM_EDRAM_REFRESH values.

ctr_cfg

Availability: This attribute is always available.

Permissions: BSP_PERMISSIONS_IOS | BSP_PERMISSIONS_PPC_SUPV only.

Method Data Size Values
Write 6 Configures a series of MEM_EDRAM_REFRESH values and sets unknown hardware registers between 0x0D8B4680 and 0x0D8B469C based on values provided (a 16-bit short and a 32-byte integer).

ctr_ctrl

Availability: This attribute is always available.

Permissions: BSP_PERMISSIONS_IOS | BSP_PERMISSIONS_PPC_SUPV only.

Method Data Size Values
Write 4 1, 2, 3 Sets bits 1 (when written value is 1) or 2 (when written value is 2) across several unknown hardware registers between 0x0D8B4660 and 0xD8B4680 and index 0x14 in MEM_EDRAM_REFRESH, before clearing bits 1 (when written value is 3) or 2 (when written value is 2) in the same registers.