Marshall Dawson uploaded patch set #5 to this change.
cpu/x86: Introduce .near_reset_vector
Add a section to ensure _start16bit is always within 64KB of the reset
vector. Otherwise the first jmp may not be reachable in a larger
program. Restrict its use only where it becomes necessary.
TEST=Artificially increase google/grunt's C_ENV_BOOTBLOCK_SIZE to 128KB
and compare _start16bit at 0xfffe0000 vs. 0xfffff000 before/after.
Change-Id: I6e7888c778e1d1cc426e4160543f4a4662ebf834
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
---
M src/cpu/x86/16bit/entry16.inc
M src/cpu/x86/16bit/reset16.ld
2 files changed, 15 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/36418/5
To view, visit change 36418. To unsubscribe, or for help writing mail filters, visit settings.