Commit 2548c25
committed
use VirtAddr instead of &'static mut BootInfo
In the future, we'll no longer map the BootInfo into the bootloader's
page tables, so we can't/shouldn't create a mutable reference to it.
We don't need to use a &'static mut anyway using VirtAddr works just as
well.1 parent 8d4379b commit 2548c25
1 file changed
+5
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
| 582 | + | |
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
| 586 | + | |
591 | 587 | | |
592 | 588 | | |
593 | 589 | | |
| |||
637 | 633 | | |
638 | 634 | | |
639 | 635 | | |
640 | | - | |
| 636 | + | |
641 | 637 | | |
642 | 638 | | |
643 | 639 | | |
| |||
648 | 644 | | |
649 | 645 | | |
650 | 646 | | |
651 | | - | |
| 647 | + | |
652 | 648 | | |
653 | 649 | | |
654 | 650 | | |
| |||
0 commit comments