smm: Make local variables relative to ebp

Hardware / Coreboot - Raul E Rangel [chromium.org] - 27 June 2018 22:11 EDT

This reduces the cognitive overhead of referencing locals via esp since it changes with every push.

BUG=b:80539294 TEST=built and booted on grunt.

Change-Id: Ib7eb98ce3483d4fc803696c1b2496d8384317536

0140541f50 smm: Make local variables relative to ebp
src/cpu/x86/smm/smm_stub.S | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)

Upstream: review.coreboot.org


  • Share