X86下vxworks的romStart分析:
来源:互联网 发布:arp攻击软件下载 编辑:程序博客网 时间:2024/06/06 05:18
vxworks 压缩型BOOT的romStart分析:
binArrayStart:压缩的二进制image的起始地址
binArrayEnd:压缩的二进制image的结束地址
压缩的二进制image中没有romInit.o和bootInit.o
将ROM_OFFSET(binArrayStart)开始解压RAM_DST_ADRS地址,即RAM_HIGH_ADRS地址,
然后直接跳转到usrInit().
下面这段拷贝,具体含义是:
/*
* copy text to uncached locations to avoid problems with
* copy back caches
* copy the entire data segment because there is no way to ensure that
* binArray is the last thing in the data segment because of GP relative
* addressing
*/
知道可以说一下!呵呵
((FUNCPTR)ROM_OFFSET(copyLongs)) (ROM_TEXT_ADRS, (UINT)romInit,
((UINT)binArrayStart - (UINT)romInit)/ sizeof (long));
((FUNCPTR)ROM_OFFSET(copyLongs))
((UINT *)((UINT)ROM_TEXT_ADRS + ((UINT)BINARRAYEND_ROUNDOFF -
(UINT)romInit)), (UINT *)BINARRAYEND_ROUNDOFF,
((UINT)wrs_kernel_data_end - (UINT)binArrayEnd) / sizeof (long));
- X86下vxworks的romStart分析:
- VxWorks启动代码romStart()函数分析
- VxWorks启动代码romStart()函数分析
- VxWorks启动代码romStart()函数分析
- VxWorks启动之romStart剖析
- x86上vxworks启动分析
- VxWorks上从romInit跳转到romStart时的地址计算
- Linux X86下的TLB机制分析
- VxWorks下的USB驱动程序原理与分析
- VxWorks下的调试
- Vxworks5.5之romStart函数分析
- 搞定vxWorks On X86
- VxWorks的信号量机制分析
- VxWorks for x86系统中实时时钟的应用
- vxworks for x86读取bios时间的解决方法(转)
- vxworks for x86读取bios时间的解决方法
- 转:vxWorks 653的x86 arch 代码移植
- vxworks下select()的使用
- 数据库访问性能优化
- CString::format应用
- 简单实现多条件查询 by hyw
- java中的代码块理解
- TIPS:基本素质之内存和指针
- X86下vxworks的romStart分析:
- Windows平台上iPhone基于cygwin开发环境的搭建方法
- 打印!
- 移植yaffs2文件系统到mini2440 嵌入式 yaffs2文件系统的移植
- JS操作XML
- 在Spring中使用Quartz调度器
- pku2239 Selecting Courses
- 写毕业论文需要学习的word技巧
- eclipse中文乱码问题解决方案