Skip to content

Commit

Permalink
fix(uefi): remove unused stubs
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Apr 9, 2024
1 parent bee5b4b commit 97e5c3c
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/arch/x86_64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,21 +95,6 @@ pub fn write_to_console(bytes: &[u8]) {
}
}

#[cfg(target_os = "uefi")]
pub unsafe fn find_kernel() -> &'static [u8] {
&[1, 2, 3]
}

#[cfg(target_os = "uefi")]
pub unsafe fn boot_kernel(
_elf_address: Option<u64>,
_virtual_address: u64,
_mem_size: u64,
_entry_point: u64,
) -> ! {
loop {}
}

#[cfg(all(target_os = "none", feature = "fc"))]
pub fn find_kernel() -> &'static [u8] {
use core::cmp;
Expand Down

0 comments on commit 97e5c3c

Please sign in to comment.