Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2cf8e56a authored by Neil Leeder's avatar Neil Leeder Committed by Stephen Boyd
Browse files

arm: common: Use label to identify cpaccess dummy instruction



Use a label instead of using function start address. It's not
guaranteed that the compiler will make the mrc instruction
the first instruction in the function.

Self-modifying code replaces the dummy instruction with a new
instruction during runtime according to user inputs.

Change-Id: I8c37f4e414ce5983f0317a51a3cf790b45763bfc
Acked-by: default avatarSuren Eda Naarayana Kulothungan <sedanaar@qualcomm.com>
Signed-off-by: default avatarNeil Leeder <nleeder@codeaurora.org>
parent adb400fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment