2 * Acess2 Kernel ARMv7 Port
3 * - By John Hodge (thePowersGang)
8 #ifndef _PLATFORM__TEGRA2_H_
9 #define _PLATFORM__TEGRA2_H_
13 Uint32 PTV_0; // Control / Target value
14 Uint32 PCR_0; // Current value / IRQ clear
18 Uint32 CNTR_1US; // 16:16 microsecond counter
19 Uint32 USEC_CFG; // 8:8 num/den (n+1)/(den+1) us per clock
20 Uint32 _padding[0x3c-0x8];
21 Uint32 CNTR_Freeze; // Freeze timers when in debug?
25 struct sTimerRegs TMR1;
26 struct sTimerRegs TMR2;
28 struct sTimerUSRegs TIMERUS;
30 struct sTimerRegs TMR3;
31 struct sTimerRegs TMR4;
49 Uint32 FIR; // Force interrupt status
50 Uint32 FIR_SET; // Set bit in FIR
51 Uint32 FIR_CLR; // Clear bit in FIR
52 Uint32 CPU_IER; // RO - Interrupt Enable register
55 Uint32 CPU_IEP; // 1 = FIQ
56 Uint32 COP_IER; // RO - Interrupt Enable register
59 Uint32 COP_IEP; // 1 = FIQ
71 struct sArbGntRegs Arb;
72 char _pad1[0x100-sizeof(struct sIRQRegs)-sizeof(struct sIRQRegs)];
74 char _pad2[0x100-sizeof(struct sIRQRegs)];
76 char _pad3[0x100-sizeof(struct sIRQRegs)];