arch/x86/car.ld: Rename suffix _start/_end
This is more in line with how linker symbol for regions are defined. Change-Id: I0bd7ae59a27909ed0fd38e6f7193816cb57e76af Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36695 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
committed by
Patrick Georgi
parent
fee2fdecc2
commit
df9cdcfc38
@@ -173,7 +173,7 @@ addrsize_set_high:
|
||||
movl %eax, %cr0
|
||||
|
||||
/* Setup the stack. */
|
||||
mov $_car_stack_end, %esp
|
||||
mov $_ecar_stack, %esp
|
||||
|
||||
/* Need to align stack to 16 bytes at call instruction. Account for
|
||||
the pushes below. */
|
||||
|
@@ -215,7 +215,7 @@ end_microcode_update:
|
||||
movl %eax, %cr0
|
||||
|
||||
/* Setup the stack. */
|
||||
mov $_car_stack_end, %esp
|
||||
mov $_ecar_stack, %esp
|
||||
|
||||
/* Need to align stack to 16 bytes at call instruction. Account for
|
||||
the pushes below. */
|
||||
|
@@ -161,7 +161,7 @@ addrsize_set_high:
|
||||
movl %eax, %cr0
|
||||
|
||||
/* Setup the stack. */
|
||||
mov $_car_stack_end, %esp
|
||||
mov $_ecar_stack, %esp
|
||||
|
||||
/* Need to align stack to 16 bytes at call instruction. Account for
|
||||
the pushes below. */
|
||||
|
@@ -376,7 +376,7 @@ fill_cache:
|
||||
rep stosl
|
||||
|
||||
/* Setup the stack. */
|
||||
mov $_car_stack_end, %esp
|
||||
mov $_ecar_stack, %esp
|
||||
|
||||
/* Need to align stack to 16 bytes at call instruction. Account for
|
||||
the pushes below. */
|
||||
|
@@ -46,7 +46,7 @@ static void romstage_main(unsigned long bist)
|
||||
printk(BIOS_DEBUG, "Romstage stack size limited to 0x%x!\n",
|
||||
size);
|
||||
|
||||
stack_base = (u32 *) (_car_stack_end - size);
|
||||
stack_base = (u32 *) (_ecar_stack - size);
|
||||
|
||||
for (i = 0; i < num_guards; i++)
|
||||
stack_base[i] = stack_guard;
|
||||
|
Reference in New Issue
Block a user