coreboot/src/drivers/intel
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
..
dptf drivers/intel/dptf: Remove prompts from DPTF config options 2020-07-26 21:34:03 +00:00
fsp1_1 arch/x86: Move prologue to .init section 2021-01-07 11:02:03 +00:00
fsp2_0 drivers/intel/fsp2_0: recreate FSP targets on config change 2020-12-21 02:32:16 +00:00
gma drivers/intel/gma: add macro for one internal panel in gfx struct 2021-01-03 11:52:04 +00:00
i210 drivers/intel/i210: Request Bus Master in .final ops 2020-11-30 07:58:13 +00:00
ish acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
mipi_camera acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
pmc_mux acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
ptt src: Remove unused 'include <stdint.h> 2020-07-14 16:11:10 +00:00
soundwire acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
usb4/retimer acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00