Kernel[Tegra2] - Messing about debugging tegra stuff
[tpg/acess2.git] / KernelLand / Kernel / arch / armv7 / platform_tegra2.h
index 67f7582..2af310e 100644 (file)
@@ -13,15 +13,29 @@ struct sTimerRegs
        Uint32  PTV_0;  // Control / Target value
        Uint32  PCR_0;  // Current value / IRQ clear
 };
+struct sTimerUSRegs
+{
+       Uint32  CNTR_1US;       // 16:16 microsecond counter
+       Uint32  USEC_CFG;       // 8:8 num/den (n+1)/(den+1) us per clock
+       Uint32  _padding[0x3c-0x8];
+       Uint32  CNTR_Freeze;    // Freeze timers when in debug?
+};
 struct sTimersMap
 {
-       struct sTimerRegs       TMR0;
        struct sTimerRegs       TMR1;
-       // TMRUS
-       char _padding[ 0x50-0x10 ];
-
        struct sTimerRegs       TMR2;
+
+       struct sTimerUSRegs     TIMERUS;
+
        struct sTimerRegs       TMR3;
+       struct sTimerRegs       TMR4;
+};
+
+struct sClockResetMap
+{
+       Uint32  RST_Source;
+       Uint32  RST_Devices;
+       // ...
 };
 
 #if 0

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