diff --git a/paging/mod.rs b/paging/mod.rs deleted file mode 100644 index f01796217a373d3a047bf27f1d713f698d530ca1..0000000000000000000000000000000000000000 --- 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 fb90cfd38a04766b76da2fa9f0542c70983c1996..a13712085822f9a3d4bab8cdcdb570ff950d8a03 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() }; }