x86_64: minimally preparing for enabling newlib
The libc hooks for Newlib requires CONFIG_SRAM_SIZE and the symbol "_end" at the end of memory. This is in preparation for enabling Newlib for x86_64. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
4ae1f2941d
commit
06a3735754
@ -92,7 +92,7 @@ config 64BIT
|
||||
soc/**/Kconfig, or boards/**/Kconfig and the user should generally
|
||||
avoid modifying it.
|
||||
|
||||
if ARC || ARM || NIOS2 || X86
|
||||
if ARC || ARM || NIOS2 || X86 || X86_64
|
||||
|
||||
config SRAM_SIZE
|
||||
int "SRAM Size in kB"
|
||||
@ -126,7 +126,7 @@ config FLASH_BASE_ADDRESS
|
||||
normally set by the board's defconfig file and the user should generally
|
||||
avoid modifying it via the menu configuration.
|
||||
|
||||
endif # ARM || ARC || NIOS2 || X86
|
||||
endif # ARM || ARC || NIOS2 || X86 || X86_64
|
||||
|
||||
if ARCH_HAS_TRUSTED_EXECUTION
|
||||
|
||||
|
||||
@ -12,3 +12,5 @@ CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000000
|
||||
CONFIG_MAIN_STACK_SIZE=1024
|
||||
CONFIG_IDLE_STACK_SIZE=1024
|
||||
CONFIG_TEST_EXTRA_STACKSIZE=2048
|
||||
CONFIG_SRAM_BASE_ADDRESS=0x100000
|
||||
CONFIG_SRAM_SIZE=8192
|
||||
|
||||
@ -69,6 +69,7 @@ SECTIONS {
|
||||
*(.noinit*)
|
||||
} :ram
|
||||
|
||||
_end = .;
|
||||
|
||||
/* We enable orphan section warnings, so these standard sections all
|
||||
* have to be called out explicitly
|
||||
|
||||
Loading…
Reference in New Issue
Block a user