Fix heap/page table overlap; Switch to 1Kb pages

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2881 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2010-08-24 02:03:45 +00:00
parent 4920cce713
commit 2dd2ccc3a9
8 changed files with 73 additions and 63 deletions
+5 -3
View File
@@ -94,9 +94,11 @@
*
* NOTE: In some architectures, it may be necessary to take some memory
* from the beginning of this region for vectors or for a page table.
* In such cases, CONFIG_PAGING_LOCKED_P/VBASE should take that into
* consideration to prevent overlapping the locked memory region and the
* system data at the beginning of SRAM.
* In such cases, either (1) CONFIG_PAGING_LOCKED_P/VBASE might take that
* into consideration to prevent overlapping the locked memory region
* and the system data at the beginning of SRAM, (2) you extend CONFIG_PAGING_NLOCKED
* include these pages at the beginning of memory and map let them be
* mapped read-only.
*/
#if defined(CONFIG_PAGING_LOCKED_PBASE) && defined(CONFIG_PAGING_LOCKED_VBASE)