I am trying to write on a register using the following command:
asm("ldr r0, =0x00");
asm("MSR ICC_SEIEN_EL1, r0") ;
and getting this error:
tmp/ccnn8Apc.s: Assembler messages:
/tmp/ccnn8Apc.s:93787: Error: selected processor does not support requested special purpose register -- `msr ICC_SEIEN_EL1,r0'
Can somebody help me in finding out the root cause of this issue.
HI,
Apologies, I have confused you. Martin was right in his advice earlier to use MRC/MCR when accessing these registers in AArch32. Sorry about that.
I see that you have found the correct syntax for the MCR instruction. p15 is the coprocessor number which you were missing before. May I ask what error you are now seeing?
Chris
Hi Chris,
I have come to know that ICC_SEIEN has been removed from ARM architecture, do you know how do we control SEIs in the new architecture.