Merge branch 'post-05' into post-06

This commit is contained in:
Philipp Oppermann
2019-11-25 13:24:09 +01:00

View File

@@ -1,9 +1,3 @@
// The x86-interrupt calling convention leads to the following LLVM error
// when compiled for a Windows target: "offset is not a multiple of 16". This
// happens for example when running `cargo test` on Windows. To avoid this
// problem we skip compilation of this module on Windows.
#![cfg(not(windows))]
use crate::{gdt, println};
use lazy_static::lazy_static;
use x86_64::structures::idt::{InterruptDescriptorTable, InterruptStackFrame};