完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
目前正在学习ARMv8 Arch Ref Manual. D1.10.2 Exception vectors有点疑惑: Table D1-6 定义了一个Vector Table应该具有的items 我们假定一个ARMv8 SOC实现了4个EL:EL0 / EL1 / EL2 / EL3 根据ARMv8 ARM手册:每一个EL,都有自己对应的Vector Table. 那么: EL0 / EL1 / EL2 / EL3 :它们各自的Vector Table,应该是什么样的? 比如: (1) EL0的Vector Table:应该有2个Block : Current Exception level with SP_EL0 Current Exception level with SP_ELx, x>0 (2) EL1的Vector Table:应该有4个Block : Current Exception level with SP_EL0 Current Exception level with SP_ELx, x>0 EL0 that is using AARCH64 EL0 that is using AARCH32 我的理解对吗? |
|
相关推荐
1个回答
|
|
EL0 does not have a vector table. Only EL1, EL2 and EL3 have vector tables. The location is set by VBAR_EL1, VBAR_EL2 and VBAR_EL3 respectively.
Each vector table has the same format, i.e. 16 entries (1 entry = 128 bytes) grouped into 4 blocks. Starting from the lowest offset, each block is used for exceptions taken from: Current Exception level with SP_EL0 Current Exception level with SP_ELx, x>0. Lower Exception level, where the implemented level immediately lower than the target level is using AArch64 Lower Exception level, where the implemented level immediately lower than the target level is using AArch32 Consider an IRQ from an AArch32 application (EL0) running on an AArch64 OS (EL1), being handled by an AArch64 hypervisor (EL2). In this case, the exception will be "from AArch32", but the hypervisor must save all the AArch64 states, as they may contain active values for the OS. Therefore, the exception entry for this case would be: VBAR_EL2 + 0x480 |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
iTOP-3A5000主控板龙芯架构外加机箱就是一台电脑主机
705 浏览 0 评论
迅为RK3568开发板EMMC镜像导出打包update.img
757 浏览 0 评论
飞凌嵌入式-ELFBOARD 硬件知识分享-ELF 2电源威廉希尔官方网站 讲解
1229 浏览 0 评论
1928 浏览 0 评论
飞凌嵌入式ElfBoard ELF 1板卡-mfgtools烧录流程介绍之烧写所需镜像
1661 浏览 0 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-28 18:43 , Processed in 0.678135 second(s), Total 71, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (威廉希尔官方网站 图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号