When writing an OS where the memory is exactly mapped from 0xffff_ff00_0000_0000 with a RAM of size0x0000_0100_0000_000 the following line does an overflow which makes the bootloader panic even if it should not.
|
let end_inclusive = (start + size) - 1usize; |
I'll could recommend changing the line to start + (size - 1) if we know that size != 0.
Otherwise, thank you for the great work