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
Architectures and Processors forum
Can I map the code/data memory as device memory
Jump...
Cancel
State
Accepted Answer
+1
person also asked this
people also asked this
Locked
Locked
Replies
3 replies
Subscribers
347 subscribers
Views
4147 views
Users
0 members are here
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
Can I map the code/data memory as device memory
allen.zhang
over 7 years ago
For example, map the EL3 firmware memory as device memory, What we should concern? Thanks!
Parents
+1
Peter Rielly
over 7 years ago
Hi,
The architecture doesn't allow code to be executed out of device memory so that would be a concern. If you only mean data pages then there is no particular reason this won't work, although it will be slow.
P
Cancel
Up
0
Down
Cancel
Reply
+1
Peter Rielly
over 7 years ago
Hi,
The architecture doesn't allow code to be executed out of device memory so that would be a concern. If you only mean data pages then there is no particular reason this won't work, although it will be slow.
P
Cancel
Up
0
Down
Cancel
Children
0
allen.zhang
over 7 years ago
in reply to
Peter Rielly
Thanks.
We have to run program as normal memory and IO range as device memory?
What about set the RO/RW/IO range as uncacheable memroy?
What about close MMU to run the el3 firmware?
Cancel
Up
0
Down
Cancel
0
Peter Rielly
over 7 years ago
in reply to
allen.zhang
Hi,
IO memory needs to be uncached but Device memory is always uncached so that is cool.
Instructions must be in Normal memory, which can be cached or uncached.
@EL3 with the MMU off *all* data accesses will be to Device memory and *all* instruction fetches will be to Normal memory. The address range doesn't matter.
Cancel
Up
0
Down
Cancel