Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Monitor stack pointer configuration in non secure mode
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
119 subscribers
Views
3630 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
Monitor stack pointer configuration in non secure mode
naveen venugopal
over 12 years ago
Note: This was originally posted on 28th December 2011 at
http://forums.arm.com
Hi
Please help me to understand whether the monitor stack pointer has to be configured in the non secure mode in the boot sequence.
I understand that all the other stack pointers(usr, svc, fiq ,irq ) has to be configured for the non secure area.
But should i configure the monitor stack pointer also in non secure mode????
Please help
Parents
Martin Weidmann
over 12 years ago
Note: This was originally posted on 3rd January 2012 at
http://forums.arm.com
Simple answer is - no.
You have a "Secure Monitor" which is a bit of software responsible for switching between the Secure and Normal worlds. The "Secure Monitor" software executes mainly in "Monitor mode". When the processor is "Monitor mode" it is ALWAYS in the Secure world.
To initialize any of the Monitor mode registers (lr_mon, sp_min, spsr_mon) you need to be in Monitor mode. Whenever you are in Monitor mode you are in the Secure world.
As something said, the boot code for the Secure world will be responsible for setting up Monitor mode/Secure Monitor. The Normal world code should not need to do anything related to the Monitor.
Cancel
Vote up
0
Vote down
Cancel
Reply
Martin Weidmann
over 12 years ago
Note: This was originally posted on 3rd January 2012 at
http://forums.arm.com
Simple answer is - no.
You have a "Secure Monitor" which is a bit of software responsible for switching between the Secure and Normal worlds. The "Secure Monitor" software executes mainly in "Monitor mode". When the processor is "Monitor mode" it is ALWAYS in the Secure world.
To initialize any of the Monitor mode registers (lr_mon, sp_min, spsr_mon) you need to be in Monitor mode. Whenever you are in Monitor mode you are in the Secure world.
As something said, the boot code for the Secure world will be responsible for setting up Monitor mode/Secure Monitor. The Normal world code should not need to do anything related to the Monitor.
Cancel
Vote up
0
Vote down
Cancel
Children
No data