mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-19 15:57:48 +00:00
reexport -> re-export
This commit is contained in:
@@ -707,7 +707,7 @@ SECTIONS {
|
||||
Instead of page aligning the `.multiboot_header` section, we merge it into the `.rodata` section. That way, we don't waste a whole page for the few bytes of the Multiboot header. We could merge it into any section, but `.rodata` fits best because it has the same flags (neither writable nor executable). The Multiboot header still needs to be at the beginning of the file, so `.rodata` must be our first section now.
|
||||
|
||||
### Testing it
|
||||
Time to test it! We reexport the `remap_the_kernel` function from the memory module and call it from `rust_main`:
|
||||
Time to test it! We re-export the `remap_the_kernel` function from the memory module and call it from `rust_main`:
|
||||
|
||||
```rust
|
||||
// in src/memory/mod.rs
|
||||
|
||||
Reference in New Issue
Block a user