Three case of kernel loading in SkyEye

本文探讨了不同MMU配置下ELF映像符号地址的含义及其实际加载和执行地址的区别。首先介绍了在没有MMU的情况下,物理地址即为加载执行地址。接着分析了MMU开启前后虚拟地址与实际地址的转换过程。最后讨论了MMU启用时如何直接在虚拟地址上进行加载和执行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

 

1. NOMMU, The physical address in the ELF image symbol is just address for loading and executing.

2. MMU ,but not enable at the beginning, The address of symbol is virtual address, but the real address is different.So we need to load the image to its real address, and executing at its real address.

3.MMu and enabled, we can load the image to its virtual address, and executing at its virtual address.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值