X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Farch%2Farmv7%2Fplatform_tegra2.h;h=2af310e695bba2e33e67a35c90e00c84b726e2ee;hb=9b107e55699bea78c68d35a6a6591f2c1f6a9cc4;hp=67f758293d82d039f81310d16cdd95a4acf10a6e;hpb=be5123fe1f4aa66b76ce8ef589362ad21b6bbf72;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/arch/armv7/platform_tegra2.h b/KernelLand/Kernel/arch/armv7/platform_tegra2.h index 67f75829..2af310e6 100644 --- a/KernelLand/Kernel/arch/armv7/platform_tegra2.h +++ b/KernelLand/Kernel/arch/armv7/platform_tegra2.h @@ -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