diff --git a/build.rs b/build.rs index acc24d2..3c6cb46 100644 --- a/build.rs +++ b/build.rs @@ -45,7 +45,7 @@ fn scan_folder(loc: &Path) -> (HashMap>, Vec) { } // Write folder/file information to output file -fn fill_from_location(f: &mut fs::File, loc: &Path ) -> Result<(), (Error)> { +fn fill_from_location(f: &mut fs::File, loc: &Path ) -> Result<(), Error> { let (folders, mut files) = scan_folder(loc); let mut folder_it:Vec<_> = folders.keys().collect(); diff --git a/src/arch/x86_64/paging/mod.rs b/src/arch/x86_64/paging/mod.rs index 2b4cce2..70b8ff9 100644 --- a/src/arch/x86_64/paging/mod.rs +++ b/src/arch/x86_64/paging/mod.rs @@ -45,9 +45,7 @@ fn page_table_lock() { return; } } - unsafe { crate::arch::interrupt::pause(); - } } }