31 ERROR(
"failed to initialize mailbox");
Result write(Channel channel, u32 message)
Write 28-bit message.
Result read(Channel channel, u32 *message) const
Read 28-bit message.
Result initialize()
Initialize the Mailbox.
u32 m_mask
Current bitmask of enabled devices.
BroadcomPower()
Constructor.
Result initialize()
Initialize the power manager.
Result enable(Device device)
Set power on.
BroadcomMailbox m_mailbox
Mailbox for communicating with the GPU.
#define ERROR(msg)
Output an error message.