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

A53 - How to change between 32bits to 64bits

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.

Top replies

Parents
  • 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.

Reply
  • 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.

Children