惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
人人都是产品经理
人人都是产品经理
Hugging Face - Blog
Hugging Face - Blog
罗磊的独立博客
博客园 - 【当耐特】
D
Docker
Y
Y Combinator Blog
L
LangChain Blog
博客园 - 三生石上(FineUI控件)
I
InfoQ
阮一峰的网络日志
阮一峰的网络日志
F
Fortinet All Blogs
J
Java Code Geeks
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
B
Blog
The GitHub Blog
The GitHub Blog
腾讯CDC
MongoDB | Blog
MongoDB | Blog
博客园 - Franky
爱范儿
爱范儿
A
About on SuperTechFans
量子位
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

博客园 - Jeff

4个月 C++ 有限状态机 POJ1019 POJ1035 POJ1007 POJ1005 ONLINE_JUDGE Linux shell定时器 怪异的grep结果 URL2FILE C primer笔记 Vxworks增加system call C语言常用宏定义技巧 分苹果 Socket 为什么选择SMP而不是AMP Windriver的项目类型 RTP affinity Symmetric multiprocessing (SMP)
RTP memory in Vxworks
Jeff · 2011-08-31 · via 博客园 - Jeff

2011-08-31 10:24  Jeff  阅读(1198)  评论()    收藏  举报

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***