Changes

Jump to navigation Jump to search
145 bytes added ,  07:44, 10 September 2019
Line 21: Line 21:  
     KernelLdr_ApplyRelocations(&KernelLdr_Main, __dynamic_start);
 
     KernelLdr_ApplyRelocations(&KernelLdr_Main, __dynamic_start);
 
     KernelLdr_libc_init_array();
 
     KernelLdr_libc_init_array();
 +
</pre>
 +
 +
[9.0.0+]
 +
Then it clears TPIDR_EL1 to 0, and sets VBAR_EL1.
 +
<pre>
 +
    // 9.0.0+
 +
    TPIDR_EL1 = 0
 +
    VBAR_EL1 = KernelLdr_ExceptionTable
 
</pre>
 
</pre>
  

Navigation menu