mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Add screenshot of wrapping_add output (#1073)
This commit is contained in:
@@ -626,8 +626,7 @@ fn kernel_main(boot_info: &'static mut BootInfo) -> ! {
|
||||
|
||||
We use the [`wrapping_add`] method here because Rust panics on implicit integer overflow (at least in debug mode). By adding a prime number, we try to add some variety. The result looks as follows:
|
||||
|
||||
TODO
|
||||
|
||||

|
||||
|
||||
### Booting on Real Hardware
|
||||
|
||||
|
||||
Reference in New Issue
Block a user