Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Distinguished Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
中文社区论区
Arm 各个exception level 都可以访问 sp_el0, 这么做的原因是什么?
Jump...
Cancel
State
Accepted Answer
Locked
Locked
Replies
1 reply
Subscribers
7 subscribers
Views
3845 views
Users
0 members are here
TrustZone
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Arm 各个exception level 都可以访问 sp_el0, 这么做的原因是什么?
onlinedj
over 6 years ago
最近在看ATF的代码,发现他会用到sp_el0, 翻了下文档,看到各个exception level都可以访问到。
请问这么设计的原因是什么?
Top replies
Ethan Zhang
over 6 years ago
+2
verified
Hi 例如调用SMC进入到EL3时,默认是用的SP_EL3,然后切换到SP_EL0,我的理解这样的目的是可以把核心的堆栈设计的很小,当处理其他信息时用的是另外一个堆栈,但是这个只是用了SP_EL0来存储地址,回到EL1或者EL0时并不会实际访问到堆栈的内容。