mirror of
https://github.com/lupyuen/nuttx-ox64.git
synced 2025-01-12 20:58:31 +08:00
Log MMU PTE
This commit is contained in:
parent
3e240916b6
commit
26bc056ab1
1 changed files with 11 additions and 4 deletions
15
README.md
15
README.md
|
@ -2035,18 +2035,22 @@ __Map the User Address Space: (Levels 1, 2, 3)__
|
|||
```text
|
||||
nx_start_application: Starting init task: /system/bin/init
|
||||
// Level 1 (Code, Data, Heap)
|
||||
// `mmuflags=0x0` means it's a link to a PTE
|
||||
mmu_ln_setentry: ptlevel=1, lnvaddr=0x50600000, paddr=0x50601000, vaddr=0x80100000, mmuflags=0x0
|
||||
mmu_ln_setentry: index=0x2, paddr=0x50601000, mmuflags=0x1, pte_addr=0x50600010, pte_val=0x14180401
|
||||
|
||||
// Level 2 (Code, Data)
|
||||
// `mmuflags=0x0` means it's a link to a PTE
|
||||
mmu_ln_setentry: ptlevel=2, lnvaddr=0x50601000, paddr=0x50602000, vaddr=0x80100000, mmuflags=0x0
|
||||
mmu_ln_setentry: index=0, paddr=0x50602000, mmuflags=0x1, pte_addr=0x50601000, pte_val=0x14180801
|
||||
|
||||
// Level 3 (Data: 0x16)
|
||||
// Level 3 (Data)
|
||||
// `mmuflags=0x16` means Read + Write + User
|
||||
mmu_ln_setentry: ptlevel=3, lnvaddr=0x50602000, paddr=0x50603000, vaddr=0x80100000, mmuflags=0x16
|
||||
mmu_ln_setentry: index=0x100, paddr=0x50603000, mmuflags=0xd7, pte_addr=0x50602800, pte_val=0x14180cd7
|
||||
|
||||
// Level 3 (Code: 0x1a)
|
||||
// Level 3 (Code)
|
||||
// `mmuflags=0x1a` means Read + Execute + User
|
||||
mmu_ln_setentry: ptlevel=3, lnvaddr=0x50602000, paddr=0x50604000, vaddr=0x80000000, mmuflags=0x1a
|
||||
mmu_ln_setentry: index=0, paddr=0x50604000, mmuflags=0xdb, pte_addr=0x50602000, pte_val=0x141810db
|
||||
|
||||
|
@ -2056,15 +2060,18 @@ mmu_ln_setentry: index=0x1, paddr=0x50605000, mmuflags=0xdb, pte_addr=0x50602008
|
|||
mmu_ln_setentry: ptlevel=3, lnvaddr=0x50602000, paddr=0x50619000, vaddr=0x80015000, mmuflags=0x1a
|
||||
mmu_ln_setentry: index=0x15, paddr=0x50619000, mmuflags=0xdb, pte_addr=0x506020a8, pte_val=0x141864db
|
||||
|
||||
// Level 3 (Data: 0x16)
|
||||
// Level 3 (Data)
|
||||
// `mmuflags=0x16` means Read + Write + User
|
||||
mmu_ln_setentry: ptlevel=3, lnvaddr=0x50602000, paddr=0x5061a000, vaddr=0x80101000, mmuflags=0x16
|
||||
mmu_ln_setentry: index=0x101, paddr=0x5061a000, mmuflags=0xd7, pte_addr=0x50602808, pte_val=0x141868d7
|
||||
|
||||
// Level 2 (Heap)
|
||||
// `mmuflags=0x0` means it's a link to a PTE
|
||||
mmu_ln_setentry: ptlevel=2, lnvaddr=0x50601000, paddr=0x5061b000, vaddr=0x80200000, mmuflags=0x0
|
||||
mmu_ln_setentry: index=0x1, paddr=0x5061b000, mmuflags=0x1, pte_addr=0x50601008, pte_val=0x14186c01
|
||||
|
||||
// Level 3 (Heap: 0x16)
|
||||
// Level 3 (Heap)
|
||||
// `mmuflags=0x16` means Read + Write + User
|
||||
mmu_ln_setentry: ptlevel=3, lnvaddr=0x5061b000, paddr=0x5061c000, vaddr=0x80200000, mmuflags=0x16
|
||||
mmu_ln_setentry: index=0, paddr=0x5061c000, mmuflags=0xd7, pte_addr=0x5061b000, pte_val=0x141870d7
|
||||
|
||||
|
|
Loading…
Reference in a new issue