Both functions are defined separately for the two architecture with minor differences. * `load_firmware()`: call `arch::uefi::load_uefi` which are available on both architecture; * `load_kernel()`: manually align to `arch::layout::KERNEL_START` 2MB for both architecture (e.g. no-op for `aarch64`); Signed-off-by: Bo Chen <bchen@crusoe.ai> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||