summaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/addrenv.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-25 11:18:32 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-25 11:18:32 -0600
commit28928fed5e3f5ef6b3ff882cda1fb448ce76196b (patch)
tree6fab8a2f346a4e8e2af6771e2f7c0bbdb897771a /nuttx/include/nuttx/addrenv.h
parent59d9019f45c3e0229b12eda8a57118e6e69f99ea (diff)
downloadnuttx-28928fed5e3f5ef6b3ff882cda1fb448ce76196b.tar.gz
nuttx-28928fed5e3f5ef6b3ff882cda1fb448ce76196b.tar.bz2
nuttx-28928fed5e3f5ef6b3ff882cda1fb448ce76196b.zip
Cortex-A/SAMA5 address environment support is code complete (untested)
Diffstat (limited to 'nuttx/include/nuttx/addrenv.h')
-rw-r--r--nuttx/include/nuttx/addrenv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/addrenv.h b/nuttx/include/nuttx/addrenv.h
index b5373880d..eedbf6d43 100644
--- a/nuttx/include/nuttx/addrenv.h
+++ b/nuttx/include/nuttx/addrenv.h
@@ -130,6 +130,10 @@
#define CONFIG_ARCH_STACK_SIZE (CONFIG_ARCH_STACK_NPAGES * CONFIG_MM_PGSIZE)
+/* A single page scratch region used for temporary mappings */
+
+#define ARCH_SCRATCH_VADDR (CONFIG_ARCH_STACK_VBASE + CONFIG_ARCH_STACK_SIZE)
+
/****************************************************************************
* Private Data
****************************************************************************/