zephyr/include/arch
Andrew Boie 87dd0492db x86: add CONFIG_X86_KERNEL_OFFSET
Previously, DTS specification of physical RAM bounds did not
correspond to the actual bounds of system RAM as the first
megabyte was being skipped.

There were reasons for this - the first 1MB on PC-like systems
is a no-man's-land of reserved memory regions, but we need DTS
to accurately capture physical memory bounds.

Instead, we introduce a config option which can apply an offset
to the beginning of physical memory, and apply this to the "RAM"
region defined in the linker scripts.

This also fixes a problem where an extra megabyte was being
added to the size of system RAM.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-06-18 19:35:52 +02:00
..
arc linker: Remove deprecated Kconfig options related to linker scripts 2020-06-12 11:14:28 +02:00
arm linker: Remove deprecated Kconfig options related to linker scripts 2020-06-12 11:14:28 +02:00
common zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
nios2 linker: Remove deprecated Kconfig options related to linker scripts 2020-06-12 11:14:28 +02:00
posix zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
riscv linker: Remove deprecated Kconfig options related to linker scripts 2020-06-12 11:14:28 +02:00
x86 x86: add CONFIG_X86_KERNEL_OFFSET 2020-06-18 19:35:52 +02:00
xtensa zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
arch_inlines.h headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
cpu.h arch: arm64: Introduce ARM64 (AArch64) architecture 2020-02-01 08:08:43 -05:00
syscall.h x86: add system call functions for 64-bit 2020-01-13 16:35:10 -05:00