Correct the filenames in comments for where _start() is. (#488)

This commit is contained in:
Donald Pinckney
2018-10-25 08:29:22 -04:00
committed by Philipp Oppermann
parent 1ed19359b5
commit d6c812ea28

View File

@@ -26,7 +26,7 @@ A double fault behaves like a normal exception. It has the vector number `8` and
Let's provoke a double fault by triggering an exception for that we didn't define a handler function: Let's provoke a double fault by triggering an exception for that we didn't define a handler function:
```rust ```rust
// in src/lib.rs // in src/main.rs
#[cfg(not(test))] #[cfg(not(test))]
#[no_mangle] #[no_mangle]
@@ -155,7 +155,7 @@ So the CPU tries to call the _double fault handler_ now. However, on a double fa
Let's try it ourselves! We can easily provoke a kernel stack overflow by calling a function that recurses endlessly: Let's try it ourselves! We can easily provoke a kernel stack overflow by calling a function that recurses endlessly:
```rust ```rust
// in src/lib.rs // in src/main.rs
#[cfg(not(test))] #[cfg(not(test))]
#[no_mangle] // don't mangle the name of this function #[no_mangle] // don't mangle the name of this function