diff --git a/paging/mod.rs b/paging/mod.rs deleted file mode 100644 index f017962..0000000 --- a/paging/mod.rs +++ /dev/null @@ -1,6 +0,0 @@ -/// A newtype representing a virtual address. -#[derive(Copy, Clone, Debug, Eq, Ord, PartialEq, PartialOrd)] -pub struct Virtual { - /// The inner value. - pub inner: usize, -} diff --git a/panic.rs b/panic.rs index fb90cfd..a137120 100644 --- a/panic.rs +++ b/panic.rs @@ -9,7 +9,7 @@ extern "C" fn eh_personality() {} #[cfg(not(test))] /// Required to handle panics #[lang = "panic_fmt"] -extern "C" fn panic_fmt() -> ! { +extern "C" fn panic_fmt(fmt: ::core::fmt::Arguments, file_line: &(&'static str, u32)) -> ! { loop { unsafe { halt() }; }