Bootrom: Fill unused areas with 0xFF

This commit is contained in:
Matt Harlum 2024-04-07 08:09:26 +00:00 committed by Matt Harlum
parent 5046a1e4cc
commit c85a392572
2 changed files with 7 additions and 7 deletions

View File

@ -1,14 +1,14 @@
SECTIONS {
rom = .;
.bootldr 0x00: {
*(BOOTLDR)
}
*(BOOTLDR);
RESERVE(0x1000-.);
} = 0xFFFF
.device 0x1000 : {
*(DEVICE)
}
.fill : {
FILL8(0xFF);
RESERVE(0x8000-4-.);
LONG(0x4C494445);
} =0xffff
}
}

View File

@ -2,15 +2,15 @@ SECTIONS {
rom = .;
.header 0x00: {
LONG(0x4C495632);
} = 2
} = 0xFFFF
.bootldr 0x04: {
*(BOOTLDR)
*(BOOTLDR);
RESERVE(0x1000-.);
}
.device 0x1000 : {
*(DEVICE)
}
.fill : {
FILL8(0xFF);
RESERVE(0x8000-4-.);
LONG(0x4C494445);
} =0xffff