/dev/bsp/DISPLAY

From WiiUBrew
< /dev | bsp
Jump to navigation Jump to search

/bsp/DISPLAY provides a minimalist interface for the display controller. It is only utilised by the MCP recovery menu.

Attributes

DC_INIT

Attribute properties
Permissions BSP_PERMISSIONS_IOS_SUPV_WRITE
Data size 0x4
Methods
Method Description Values
Write Initialises one of two available display controllers depending on the input value. 0, 1

DC_CONFIG

Attribute properties
Permissions BSP_PERMISSIONS_IOS_SUPV_READ
Data size 0x14
Methods
Method Description
Read Gets the current DC_CONFIG parameters.

DC_CONFIG

typedef struct {
   uint32_t id; // controller ID
   uint32_t unk;
   uint32_t width;
   uint32_t height;
   void* framebuffer;
} DC_CONFIG;

DC_SYNC

Attribute properties
Permissions BSP_PERMISSIONS_IOS_SUPV_WRITE
Data size 0x0
Methods
Method Description
Write Not implemented. Always returns 0.