diff options
Diffstat (limited to 'src/cpu/intel/car/non-evict/cache_as_ram.S')
-rw-r--r-- | src/cpu/intel/car/non-evict/cache_as_ram.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/intel/car/non-evict/cache_as_ram.S b/src/cpu/intel/car/non-evict/cache_as_ram.S index 0768c323f1..8f4cfe7409 100644 --- a/src/cpu/intel/car/non-evict/cache_as_ram.S +++ b/src/cpu/intel/car/non-evict/cache_as_ram.S @@ -174,6 +174,11 @@ addrsize_set_high: movl $(CONFIG_DCACHE_RAM_BASE + CONFIG_DCACHE_RAM_SIZE), %eax movl %eax, %esp + /* Align the stack 16 bytes */ + andl $0xfffffff0, %esp + /* Account for pushing the BIST result */ + subl $12, %esp + /* Restore the BIST result. */ movl %ebp, %eax movl %esp, %ebp |