Kernel Loader: Difference between revisions

No edit summary
Line 175: Line 175:
         return kernel_base;
         return kernel_base;
     }
     }
</pre>
== KernelLdr_ShouldReserveAdditionalKernelData ==
This just gets a flag from the KernelConfiguration.
Note: Panic (infloop) happens on any smc call error, this isn't depicted in pseudocode for brevity reasons.
<pre>
    return (smc_get_config(ConfigItem_KernelConfiguration) >> 3) & 1;
</pre>
</pre>


Line 266: Line 276:
| 0x20
| 0x20
| 4
| 4
| INI1 load offset
| INI1 end offset
|-
|-
| 0x24
| 0x24