From 7da6696a342c1a77b10ae13927766b89c5bf729c Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Mon, 15 Aug 2016 11:29:53 -0600
Subject: [PATCH] Add simple paging, use rust libcore and compile without sse

---
 paging/mod.rs | 6 ------
 panic.rs      | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)
 delete mode 100644 paging/mod.rs

diff --git a/paging/mod.rs b/paging/mod.rs
deleted file mode 100644
index f0179621..00000000
--- 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 fb90cfd3..a1371208 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() };
     }
-- 
GitLab