We run our operation code in 32 bits mode but we have a need to change to 64bits mode just for one instruction. How can I go to 64bits mode, execute one instruction and go back to 32 bits mode.
At first, please use "insert->insert code" when posting code. Then, why not post at first.
So now to your code: It calls the monitor (EL3) which runs in 64bit mode and does the read on behalf of your application (running in EL1).
So you need to have also a write function in the monitor.
Thanks