Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37895 )
Change subject: arch/x86: Top align bootblock program
......................................................................
Patch Set 4:
(3 comments)
https://review.coreboot.org/c/coreboot/+/37895/4/src/cpu/x86/16bit/reset16.l...
File src/cpu/x86/16bit/reset16.ld:
https://review.coreboot.org/c/coreboot/+/37895/4/src/cpu/x86/16bit/reset16.l...
PS4, Line 28: INCLUDE "bootblock/lib/program.ld"
Have you given much thought into ensuring a minimum alignment for just the pieces (presumably bootblock.top along w/ reset vector)? And then also ensuring the bss/data comes prior or after depending on option?
https://review.coreboot.org/c/coreboot/+/37895/4/src/cpu/x86/16bit/reset16.l...
PS4, Line 30: .bootblock_top . : {
This sequence will punch a hole between bss/heap and 2 text segments.
https://review.coreboot.org/c/coreboot/+/37895/4/src/cpu/x86/16bit/reset16.l...
PS4, Line 46: 0xf0
Why the 256 (0xf0 + 16) total offset subtracted from the calculation? I'm not following all the math as to the reasoning.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/37895
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If32518b1c19d08935727330314904b52a246af3c
Gerrit-Change-Number: 37895
Gerrit-PatchSet: 4
Gerrit-Owner: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: HAOUAS Elyes
ehaouas@noos.fr
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Aaron Durbin
adurbin@chromium.org
Gerrit-CC: David Hendricks
david.hendricks@gmail.com
Gerrit-CC: Marshall Dawson
marshalldawson3rd@gmail.com
Gerrit-CC: Nico Huber
nico.h@gmx.de
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-CC: Stefan Reinauer
stefan.reinauer@coreboot.org
Gerrit-CC: Werner Zeh
werner.zeh@siemens.com
Gerrit-Comment-Date: Tue, 28 Jan 2020 17:38:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment