git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modules/UDI - Buffer delete, chained CB support
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
arch
/
armv7
/
platform_tegra2.h
diff --git
a/KernelLand/Kernel/arch/armv7/platform_tegra2.h
b/KernelLand/Kernel/arch/armv7/platform_tegra2.h
index
67f7582
..
2af310e
100644
(file)
--- 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
};
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 sTimersMap
{
- struct sTimerRegs TMR0;
struct sTimerRegs TMR1;
struct sTimerRegs TMR1;
- // TMRUS
- char _padding[ 0x50-0x10 ];
-
struct sTimerRegs TMR2;
struct sTimerRegs TMR2;
+
+ struct sTimerUSRegs TIMERUS;
+
struct sTimerRegs TMR3;
struct sTimerRegs TMR3;
+ struct sTimerRegs TMR4;
+};
+
+struct sClockResetMap
+{
+ Uint32 RST_Source;
+ Uint32 RST_Devices;
+ // ...
};
#if 0
};
#if 0
UCC
git Repository :: git.ucc.asn.au