mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Fix typo in 05-cpu-exceptions (#653)
Thanks for the great tutorial. Here is a typo I found.
This commit is contained in:
committed by
Philipp Oppermann
parent
87c64cf255
commit
4b3fbd27cc
@@ -373,7 +373,7 @@ Note how this solution requires no `unsafe` blocks. The `lazy_static!` macro doe
|
||||
|
||||
### Running it
|
||||
|
||||
The last step for making exceptions work in our kernel it to call the `init_idt` function from our `main.rs`. Instead of calling it directly, we introduce a general `init` function in our `lib.rs`:
|
||||
The last step for making exceptions work in our kernel is to call the `init_idt` function from our `main.rs`. Instead of calling it directly, we introduce a general `init` function in our `lib.rs`:
|
||||
|
||||
```rust
|
||||
// in src/lib.rs
|
||||
|
||||
Reference in New Issue
Block a user