return ;
}
+ ENTER("xData", Data);
+
while( --timeout && gpPL050_MouseBase[1] & PL050_TXBUSY );
if(timeout)
gpPL050_MouseBase[2] = Data;
else
Log_Error("PL050", "Write to mouse timed out");
+ LEAVE('-');
}
static inline Uint8 PL050_ReadMouseData(void)
// Initialise
gpGIC_InterfaceBase = (void*)MM_MapHWPages(gGIC_InterfaceAddr, 1);
+ LOG("gpGIC_InterfaceBase = %p", gpGIC_InterfaceBase);
gpGIC_DistributorBase = (void*)MM_MapHWPages(gGIC_DistributorAddr, 1);
+ LOG("gpGIC_DistributorBase = %p", gpGIC_DistributorBase);
gpGIC_InterfaceBase[GICC_PMR] = 0xFF;
gpGIC_InterfaceBase[GICC_CTLR] = 1; // Enable CPU