Changes

27 bytes added ,  00:43, 26 April 2017
Line 232: Line 232:  
There appears to be userland code for handling exceptions, however this doesn't seem to be executed on retail.
 
There appears to be userland code for handling exceptions, however this doesn't seem to be executed on retail.
   −
On usermode exception, it jumps to main code binary entrypoint (main_binary_address+0) with X0=exception_info_ptr.
+
On usermode exception, it jumps to main code binary entrypoint (main_binary_address+0) with X0=exception_info_ptr and X1=exception_info2_ptr.
 
On boot, X0 is set to 0 triggering normal crt0 setup.
 
On boot, X0 is set to 0 triggering normal crt0 setup.