coreboot/src/soc/intel/quark
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
..
bootblock arch/x86: Move prologue to .init section 2021-01-07 11:02:03 +00:00
include/soc soc/intel/{broadwell,quark}: Drop PEI_DATA typedef 2020-11-25 09:15:36 +00:00
romstage cbfs: Introduce cbfs_ro_map() and cbfs_ro_load() 2020-12-03 00:00:19 +00:00
acpi.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
chip.c
chip.h
ehci.c
fsp_params.c
gpio_i2c.c
i2c.c
Kconfig arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
lpc.c
Makefile.inc
memmap.c
northcluster.c
reg_access.c
reset.c
sd.c
spi.c
spi_debug.c
storage_test.c
tsc_freq.c
uart.c
uart_common.c include/console/uart: make index parameter unsigned 2020-09-12 14:59:33 +00:00