feedback: fix some typos

This commit is contained in:
acheronfail
2018-10-18 22:57:37 +11:00
parent 168e2b3d89
commit a80ae0d06a

View File

@@ -300,7 +300,7 @@ pub mod interrupts;
pub mod serial; pub mod serial;
``` ```
Now we can use our `print!` and `println!` macros in `interrupts.rs`. If you'd like to know more about the ins and outs of macros and how they differ from functions [you can find more information here](in-depth-rust-macros). Now we can use our `print!` and `println!` macros in `interrupts.rs`. If you'd like to know more about the ins and outs of macros and how they differ from functions [you can find more information here][in-depth-rust-macros].
[in-depth-rust-macros]: https://doc.rust-lang.org/book/second-edition/appendix-04-macros.html [in-depth-rust-macros]: https://doc.rust-lang.org/book/second-edition/appendix-04-macros.html
@@ -442,7 +442,7 @@ static BREAKPOINT_HANDLER_CALLED: AtomicUsize = AtomicUsize::new(0);
#[cfg(not(test))] #[cfg(not(test))]
#[no_mangle] #[no_mangle]
pub extern "C" fn _start() -> ! { pub extern "C" fn _start() -> ! {
blog_os::interrupts::init_idt(); init_idt();
// invoke a breakpoint exception // invoke a breakpoint exception
x86_64::instructions::int3(); x86_64::instructions::int3();