Commit cd2761e
committed
Limit BIOS bootloader's
When determining the maximum physical address for the BIOS bootloader's
identity mapping, we currently use the highest address in the E380
memory map, no matter how high it is. However, the bootloader runs in
protected mode, and therefore, it cannot address more than 4 GiB of
memory. We can save some time by not identity mapping addresses over 4
GiB, as the bootloader cannot address them anyway.
This commit changes the BIOS bootloader to skip addresses over 4 GiB
when determining the maximum physical address.
This is one of the changes described in issue #259.max_phys_addr to 4 GiB1 parent ac46d04 commit cd2761e
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
89 | 94 | | |
90 | 95 | | |
91 | 96 | | |
| |||
106 | 111 | | |
107 | 112 | | |
108 | 113 | | |
109 | | - | |
| 114 | + | |
110 | 115 | | |
111 | 116 | | |
112 | 117 | | |
| |||
0 commit comments