Several workaround in mips simulation of SkyEye
2007-08-09 12:47
344 查看
Until 2007.8.9 , there is three workaround that need to do in kernel source for SkyEye.
1. define endian macro in include/asm-mips/inst.h to select proper union declearation. That will be employed in build_clear_page. To fix it , we should find some right place to define such macro in kernel source.
2.we use jiffies++ to replace jiffies_64++ in do_timer [ kernel/timer.c ] since jiffies_64 can not be updated correctly. It only update its upper 32 bit not its bottom 32 bit.
3. in obj_to_index function [ mm/slab.c ] reciprocal_divide can not get correct value .So we have to use offset / cache->buffer_size to replace it. Need to find its rootcause.
1. define endian macro in include/asm-mips/inst.h to select proper union declearation. That will be employed in build_clear_page. To fix it , we should find some right place to define such macro in kernel source.
2.we use jiffies++ to replace jiffies_64++ in do_timer [ kernel/timer.c ] since jiffies_64 can not be updated correctly. It only update its upper 32 bit not its bottom 32 bit.
3. in obj_to_index function [ mm/slab.c ] reciprocal_divide can not get correct value .So we have to use offset / cache->buffer_size to replace it. Need to find its rootcause.
相关文章推荐
- The DCOM settings which are independent of whether the PC is in a work group or in a domain
- Null or zero primary key encountered in unit of work clone exception not working 解决方法
- [gpu pro3]CryEngine3:ThreeYearsOfWorkInReview
- Implementing the Repository and Unit of Work Patterns in an ASP.NET MVC Application (9 of 10)
- Unit of Work in ORM
- The Art of Doing Twice the Work in Half the Time (Essence)
- GroupName of radiobutton doesn't work in gridview
- Workaround for Lack of Attribute-level Privilege
- Workaround of VS Remote Debugging connect from Win2K8 to WinXP
- Three case of kernel loading in SkyEye
- SQL Server error "Xml data type is not supported in distributed queries" and workaround for it
- suggest parentheses around comparison in operand of &|
- Thinking In Design Pattern——Unit Of Work(工作单元)模式探索
- Thinking In Design Pattern——Unit Of Work(工作单元)模式探索
- first work day of 2007, first work day in new company
- Equipment involved in protection of ongoing work
- suggest parentheses around comparison in operand of &
- Thinking In Design Pattern——Unit Of Work(工作单元)模式探索
- Coalition, Iraqi Forces Work to Halt Cycle of Violence in Baghdad
- How to workaround the IE default behavior of re-posting the entire form when pressing "刷新"(or F5)