RTP memory in Vxworks
2011-08-31 10:24 Jeff 阅读(1161) 评论(0) 编辑 收藏 举报
cmd进入Command interpreter
c进入C interpreter
以下是用cmd命令,打印出rtp memory的情况:
有一点关于shared data比较奇怪,我open的时候大小明明设置的是0x9900300,这里显示的是0x9901000.
原因应该是和WindRiver的库函数有关.
[vxWorks *]# rtp meminfo -l -m 0x5a02010
Memory Information for 0x5a02010 RTP (name = "/romfs/pturm.vxe"):
Virtual Memory Context:
=======================
Virtual Memory Context ID: 0x5973c30
Private Virtual Memory Allocated: 0x2588000 bytes
Private Virtual Memory Mapped: 0x2586000 bytes
Private Mappings:
VIRTUAL ADDR BLOCK LENGTH PHYSICAL ADDR PROT (S/U) CACHE SPECIAL
------------------------ ----------------------- -------------------------
0xd9901000 0x00099000 0x031ef0000 R-X / R-X CB-/CO/- --
0xd999a000 0x022dd000 0x031f89000 RW- / RW- CB-/CO/- --
0xfd400000 0x00001000 ***unmapped***
0xfd401000 0x00200000 0x034266000 RW- / RW- CB-/CO/- --
0xfd601000 0x00001000 ***unmapped***
0xfd602000 0x00010000 0x034466000 RW- / RW- CB-/--/- --
Shared Data Mappings:
VIRTUAL ADDR BLOCK LENGTH PHYSICAL ADDR PROT (S/U) CACHE SPECIAL
------------------------ ------------------------- --------------------------
0xd0000000 0x09901000 0x0285ef000 RW- / RW- CB-/--/- --
Shared Object (POSIX) Mappings:
VIRTUAL ADDR BLOCK LENGTH PHYSICAL ADDR PROT (S/U) CACHE SPECIAL
------------------------ ----------------------- --------------------------
Memory Mapped Objects (POSIX):
==============================
ADDRESS LENGTH PROT FLAGS OFFSET OBJECT
----------------- ----------------- --------- ------------ --------------
0xfd602000 0x00010000 RW- PRIVATE N/A ***anonymous***