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

From WiiUBrew
< /dev‎ | bsp
Jump to navigation Jump to search
(Document SI BSP entity)
 
(No difference)

Latest revision as of 12:01, 28 December 2019

Attributes

BaseAddress

Availability: This attribute is always available.

Permissions: BSP_PERMISSIONS_IOS only.

Method Data Size Values
Query 4 constant Returns 0xD006400.

IOStrength

Availability: This attribute is always available. (BSP_AO_INIT_GLOBAL)

Permissions: BSP_PERMISSIONS_IOS only.

Method Data Size Values
Init 0 Clears bits 8, 7 and 6 in HW_IOSTRCTRL0; before setting bit 6 (on Hollywood and Bollywood hardware), or bit 7 (on Latte hardware).

IOPower

Availability: This attribute is always available. (BSP_AO_INIT_GLOBAL)

Permissions: BSP_PERMISSIONS_IOS only.

Method Data Size Values
Read 1 0 or 1 Returns 1 if bits 18 and 19 are both set in HW_IOPWRCTRL, 0 otherwise.
Write 1 0 or 1 Sets bits 18 and 19 in HW_IOPWRCTRL if the input data is 1, otherwise clears them.
Query 1 constant Required IOPower state for this hardware. Hard-coded to 1 on a retail IOSU, possibly 0 on other builds.
Init 0 Calls the write method with 1 if the query value is 1, or 0 if the query value is 0.

Subsystem

Availability: This attribute is always available. (BSP_AO_INIT_GLOBAL)

Permissions: BSP_PERMISSIONS_IOS only.

Method Data Size Values
Init 0 Calculates and sets a value in HW_SICLKDIV.