Modules/armv7 - Just a little debug
authorJohn Hodge <[email protected]>
Wed, 26 Oct 2011 13:15:02 +0000 (21:15 +0800)
committerJohn Hodge <[email protected]>
Wed, 26 Oct 2011 13:15:02 +0000 (21:15 +0800)
Modules/Input/PS2KbMouse/pl050.c
Modules/armv7/GIC/gic.c

index 6f82e51..5a0a32a 100644 (file)
@@ -84,11 +84,14 @@ static inline void PL050_WriteMouseData(Uint8 Data)
                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)
index 21c3a30..9eb720f 100644 (file)
@@ -41,7 +41,9 @@ int GIC_Install(char **Arguments)
 
        // 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

UCC git Repository :: git.ucc.asn.au