Aufgrund einer Wartung wird GitLab am 25.01 zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 25.01 between 8:00 and 9:00 am.

Commit 2ff37a88 authored by Jonathan Schwender's avatar Jonathan Schwender Committed by Stefan Lankes
Browse files

Fix return type of ! functions



Remove `;` to remove warning
Signed-off-by: default avatarJonathan Schwender <schwenderjonathan@gmail.com>
parent 386ee525
...@@ -55,6 +55,5 @@ pub unsafe fn boot_kernel(virtual_address: u64, mem_size: u64, entry_point: u64) ...@@ -55,6 +55,5 @@ pub unsafe fn boot_kernel(virtual_address: u64, mem_size: u64, entry_point: u64)
let func: extern "C" fn(boot_info: &'static mut BootInfo) -> ! = let func: extern "C" fn(boot_info: &'static mut BootInfo) -> ! =
core::mem::transmute(entry_point); core::mem::transmute(entry_point);
func(&mut BOOT_INFO)
func(&mut BOOT_INFO);
} }
...@@ -42,5 +42,5 @@ pub unsafe extern "C" fn loader_main() -> ! { ...@@ -42,5 +42,5 @@ pub unsafe extern "C" fn loader_main() -> ! {
let (kernel_location, entry_point) = load_kernel(&elf, app.as_ptr() as u64, mem_size); let (kernel_location, entry_point) = load_kernel(&elf, app.as_ptr() as u64, mem_size);
// boot kernel // boot kernel
arch::boot_kernel(kernel_location, mem_size, entry_point); arch::boot_kernel(kernel_location, mem_size, entry_point)
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment