mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Add missing import in code example
Reported in https://github.com/phil-opp/blog_os/issues/480#issuecomment-455777535
This commit is contained in:
@@ -114,6 +114,8 @@ We can now initialize the 8259 PIC from our `_start` function:
|
||||
#[cfg(not(test))]
|
||||
#[no_mangle]
|
||||
pub extern "C" fn _start() -> ! {
|
||||
use blog_os::interrupts::PICS; // new
|
||||
|
||||
println!("Hello World{}", "!");
|
||||
|
||||
blog_os::gdt::init();
|
||||
@@ -141,7 +143,7 @@ Until now nothing happened because interrupts are still disabled in the CPU conf
|
||||
#[cfg(not(test))]
|
||||
#[no_mangle]
|
||||
pub extern "C" fn _start() -> ! {
|
||||
use blog_os::interrupts::PICS; // new
|
||||
use blog_os::interrupts::PICS;
|
||||
|
||||
println!("Hello World{}", "!");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user