mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
29505630ea13418259820e7869f0b354db1bc871
We require/assume that these pointers are correct. Using references is cleaner than blindly dereferencing raw pointers.
Important: The Rust book guarantees that: “At runtime, a raw pointer * and a reference pointing to the same piece of data have an identical representation.”
(cherry picked from commit 15feb9a120)
Blog OS (Returning from Exceptions)
This repository contains the source code for the Returning from Exceptions post of the Writing an OS in Rust series.
Check out the master branch for more information.
Building
You need to have nasm, grub-mkrescue, xorriso, qemu, a nightly Rust compiler, and xargo installed. Then you can run it using make run.
Please file an issue if you have any problems.
License
The source code is dual-licensed under MIT or the Apache License (Version 2.0).
Description
Languages
HTML
96.5%
SCSS
1.5%
CSS
1.2%
JavaScript
0.4%
Python
0.2%