When the area to be mapped straddles the 2GB boundary, the expression (high+size) will overflow on the first loop iteration. Fix by using (end-size), which cannot underflow. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
| 2135 | 2135 |
|
| 2136 | 2136 |
|
| 2137 | 2137 |
|
| 2138 |
|
|
| 2138 |
|
|
| 2139 | 2139 |
|
| 2140 | 2140 |
|
| 2141 | 2141 |
|