mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Merge branch 'post-05' into post-06
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user