summaryrefslogtreecommitdiff
path: root/nuttx/configs/ea3131/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-01 21:28:14 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-01 21:28:14 +0000
commit8d91b3fa9d70252dbec1341af543e93ec7c32285 (patch)
tree3480520dbd9ee8b32b7d8248dbad763e7ba013fd /nuttx/configs/ea3131/README.txt
parent6a0c71965915af63afa7bafbcf9b26d37fd31ea7 (diff)
downloadpx4-nuttx-8d91b3fa9d70252dbec1341af543e93ec7c32285.tar.gz
px4-nuttx-8d91b3fa9d70252dbec1341af543e93ec7c32285.tar.bz2
px4-nuttx-8d91b3fa9d70252dbec1341af543e93ec7c32285.zip
Fix units used in page table address calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2908 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/ea3131/README.txt')
-rwxr-xr-xnuttx/configs/ea3131/README.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/nuttx/configs/ea3131/README.txt b/nuttx/configs/ea3131/README.txt
index f81270aae..28b8e8868 100755
--- a/nuttx/configs/ea3131/README.txt
+++ b/nuttx/configs/ea3131/README.txt
@@ -361,10 +361,17 @@ On-Demand Paging
...
The locked region is initially unmapped. But the data region and page table
- regions must be mapped in a similar manner.
+ regions must be mapped in a similar manner. Those
- data offset = ((0x00094000 >> 10) << 2) = 0x00000940
- L1 offset = ((0x0009c000 >> 10) << 2) = 0x000009c0
+ Data:
+ Virtual address = 0x11094000 Offset = 0x00064000
+ Physical address = 0x1104c000
+ L2 offset = ((0x00094000 >> 10) << 2) = 0x00000940
+
+ Page table:
+ Virtual address = 0x1109c000 Offset = 0x0009c000
+ Physical address = 0x11054000
+ L2 offset = ((0x0009c000 >> 10) << 2) = 0x000009c0
Build Sequence:
---------------