/dev/bsp/PPC/Summary

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

This page contains the data that can be returned by /dev/bsp/PPC#Summary on a 5.5.x retail IOSU.

Summary
WiiU hardware
BSP hwvers LATTE_*, HOLLYWOOD_CORTADO_ESPRESSO
Value
BSP_PPC_SUMMARY ppc = {
    .numberOfCores = 3,
    .activeCoreBitmap = 0b00000111,
    .clock60x = {
    /*  Other Lattes might have 239625000, 243000000, 
        or any other value halved, in accordance with LT_PLLSYS
        HOLLYWOOD_CORTADO_ESPRESSO always uses 167000000 */
        .systemClockFrequency = 248625000,
        .timerFrequency = .systemClockFrequency / 128,
    },
};
Wii hardware
BSP hwvers BOLLYWOOD_*, HOLLYWOOD_* (except CORTADO_ESPRESSO)
Value
BSP_PPC_SUMMARY ppc = {
    .numberOfCores = 1,
    .activeCoreBitmap = 0b00000001,
    .clock60x = {
    /*  162000000 when HW_CLOCKS & SPEED is set
        HOLLYWOOD_CORTADO always uses 167000000 */
        .systemClockFrequency = 243000000,
        .timerFrequency = .systemClockFrequency / 128,
    },
};