mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27: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
|
||||
|
||||
|
||||
BIN
blog/content/edition-3/posts/02-booting/qemu-wrapping-add.png
Normal file
BIN
blog/content/edition-3/posts/02-booting/qemu-wrapping-add.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
Reference in New Issue
Block a user