Skip to content
Commit 2f467395 authored by Vikas Manocha's avatar Vikas Manocha Committed by Anas Nashif
Browse files

arch: arm: use cmsis functions to configure PSP and interrupts



cmsis provides intrinsic functions to configure processor special
function register like control, psp(process stack pointer). Let's use
these functions which are maintained in cmsis repository.

This patch uses cmsis function to:
	- set process stack pointer(PSP)
	- switch SP to PSP
	- disable interrupts

It also moves stack initialization from assembly to C

Signed-off-by: default avatarVikas Manocha <vikas.manocha@st.com>
parent d0ad4197
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment