Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37279 )
Change subject: src/soc/intel/fsp-car: Align stack before jumping to C code ......................................................................
src/soc/intel/fsp-car: Align stack before jumping to C code
GCC has had a 16 byte stack requirement since quite some time now...
Change-Id: I0f5b62b5fef3ca7ec6d9010723527a356eb566ed Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/soc/intel/common/block/cpu/car/cache_as_ram_fsp.S 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/37279/1
diff --git a/src/soc/intel/common/block/cpu/car/cache_as_ram_fsp.S b/src/soc/intel/common/block/cpu/car/cache_as_ram_fsp.S index d7ef834..4174f36 100644 --- a/src/soc/intel/common/block/cpu/car/cache_as_ram_fsp.S +++ b/src/soc/intel/common/block/cpu/car/cache_as_ram_fsp.S @@ -99,6 +99,10 @@ xorl %eax, %eax rep stosl
+ /* Need to align stack to 16 bytes at call instruction. Account for + the two pushes below. */ + andl $0xfffffff0, %esp + sub $8, %esp /* Restore the timestamp from bootblock_crt0.S (ebp:mm1) */ push %ebp movd %mm1, %eax
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37279 )
Change subject: src/soc/intel/fsp-car: Align stack before jumping to C code ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/37279/2//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/37279/2//COMMIT_MSG@7 PS2, Line 7: src/soc/intel/fsp-car: Align stack before jumping to C code Nit: the other patches in the series omit the leading `src/`
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37279 )
Change subject: src/soc/intel/fsp-car: Align stack before jumping to C code ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/37279/2//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/37279/2//COMMIT_MSG@7 PS2, Line 7: src/soc/intel/fsp-car: Align stack before jumping to C code
Nit: the other patches in the series omit the leading `src/`
Oh right. thx.
Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37279 )
Change subject: src/soc/intel/fsp-car: Align stack before jumping to C code ......................................................................
Patch Set 2: Code-Review+2
Kyösti Mälkki has removed a vote from this change. ( https://review.coreboot.org/c/coreboot/+/37279 )
Change subject: src/soc/intel/fsp-car: Align stack before jumping to C code ......................................................................
Removed Code-Review+2 by Kyösti Mälkki kyosti.malkki@gmail.com
Arthur Heymans has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/37279 )
Change subject: src/soc/intel/fsp-car: Align stack before jumping to C code ......................................................................
Abandoned
lost interest.