mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
booti: Enable loading the kernel image to any address aligned to 2 MB
We've supported this for a long time, plus most u-boot setups quietly expect it. Otherwise they fail with different levels of memory overwrites. MFC after: 2 weeks
This commit is contained in:
parent
b633e08c70
commit
b07a6bd15a
@ -134,7 +134,7 @@ function write_v8booti() {
|
||||
write_le32(0) # code1
|
||||
write_le64(0) # text_offset
|
||||
write_le64(gEndOff) # image_size
|
||||
write_le64(0) # flags
|
||||
write_le64(hexstr_to_num("8")) # flags
|
||||
write_le64(0) # res1[0]
|
||||
write_le64(0) # res1[1]
|
||||
write_le64(0) # res1[2]
|
||||
|
Loading…
Reference in New Issue
Block a user