Closed chinamao closed 10 years ago
I was expecting this to be fixed in the work to address #20, but looking at the code I now see that although we now provide a hook for platform code to initialize the X0-X7 arguments in BL2, we do not transfer these to the CPU context in bl31_prepare_next_image_entry()
before calling el3_exit()
and exiting to BL3-3.
This needs an additional fix.
hi, experts: In bl31_entrypoint.S , ...... bl bl31_main b el3_exit
in el3_exit implementation, ...... bl restore_gp_registers ---> it will restore X0-X3
so, my questions is: Who saves X0-X3?
best wishes,