diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-07-26 15:28:01 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-07-26 15:28:01 -0600 |
commit | d691370b893a9ff86b86a226623e86782bbd75ae (patch) | |
tree | 55262396144c77c2680b3bfcd59b65bb32f5611c /nuttx/arch/arm/src/armv7-a/arm_head.S | |
parent | ddb019413f39bbe495dba2a55c60f9ff8f8e00ce (diff) | |
download | px4-nuttx-d691370b893a9ff86b86a226623e86782bbd75ae.tar.gz px4-nuttx-d691370b893a9ff86b86a226623e86782bbd75ae.tar.bz2 px4-nuttx-d691370b893a9ff86b86a226623e86782bbd75ae.zip |
Add a hello world configuration to help with the SAMA5 bringup
Diffstat (limited to 'nuttx/arch/arm/src/armv7-a/arm_head.S')
-rw-r--r-- | nuttx/arch/arm/src/armv7-a/arm_head.S | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/armv7-a/arm_head.S b/nuttx/arch/arm/src/armv7-a/arm_head.S index 496a8b1fd..c9228e57c 100644 --- a/nuttx/arch/arm/src/armv7-a/arm_head.S +++ b/nuttx/arch/arm/src/armv7-a/arm_head.S @@ -382,8 +382,13 @@ __start: mcr CP15_TTBR0(r4) mcr CP15_TTBR1(r4) - /* Clear the TTB control register (TTBCR) to indicate that we are using + /* Set the TTB control register (TTBCR) to indicate that we are using * TTBR0. r0 still holds the value of zero. + * + * N : 0=Selects TTBR0 and 16KB page table size indexed by VA[31:20] + * PD0 : 0=Perform translation table walks using TTBR0 + * PD1 : 0=Perform translation table walks using TTBR1 (but it is disabled) + * EAE : 0=Use 32-bit translation system */ mcr CP15_TTBCR(r0) |