coreboot/src/soc/amd/common
Kyösti Mälkki 7522a8fe0f arch/x86: Move prologue to .init section
For arch/x86 the realmode part has to be located within the same 64
KiB as the reset vector. Some older intel platforms also require 4 KiB
alignment for _start16bit.

To enforce the above, and to separate required parts of .text without
matching *(.text.*) rules in linker scripts, tag the pre-C environment
assembly code with section .init directive.

Description of .init section for ELF:

This section holds executable instructions that contribute to the
process initialization code. When a program starts to run, the
system arranges to execute the code in this section before calling the
main program entry point (called main for C programs).

Change-Id: If32518b1c19d08935727330314904b52a246af3c
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47599
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-01-07 11:02:03 +00:00
..
acpi soc/amd/common/acpi: Create platform.asl to define acpi transitions 2020-10-28 17:17:22 +00:00
block arch/x86: Move prologue to .init section 2021-01-07 11:02:03 +00:00
fsp soc/amd/picasso: move chipset_handle_reset to common 2020-12-11 17:44:19 +00:00
vboot soc/amd/common/vboot: use transfer_buffer_valid function 2020-11-30 16:29:14 +00:00
Kconfig.common soc/amd: rename common Kconfig and use wildcard for SoC-specific Kconfig 2020-11-19 14:29:14 +00:00
Makefile.inc soc/amd/picasso: move chipset_handle_reset to common 2020-12-11 17:44:19 +00:00