aboutsummaryrefslogtreecommitdiff
path: root/src/romlayout.S
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-05-28 13:33:50 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-06-04 11:06:58 -0400
commit31bcda20eff45de7fdd2aad30d42f28165ccd69a (patch)
tree7a5737412a82419ea676bbac43a7cd72f7b089ed /src/romlayout.S
parentf4c511cd7a5a475d542389341a320cb1c946fe25 (diff)
downloadseabios-hppa-31bcda20eff45de7fdd2aad30d42f28165ccd69a.zip
seabios-hppa-31bcda20eff45de7fdd2aad30d42f28165ccd69a.tar.gz
seabios-hppa-31bcda20eff45de7fdd2aad30d42f28165ccd69a.tar.bz2
smm: Use a C struct to define the layout of the SMM area.
Describe the memory layout using a struct instead of hard coded offsets. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/romlayout.S')
-rw-r--r--src/romlayout.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/romlayout.S b/src/romlayout.S
index 5b48062..0d6af39 100644
--- a/src/romlayout.S
+++ b/src/romlayout.S
@@ -269,7 +269,7 @@ entry_smi:
movl $1f + BUILD_BIOS_ADDR, %edx
jmp transition32_for_smi
.code32
-1: movl $BUILD_SMM_ADDR, %esp
+1: movl $BUILD_SMM_ADDR + 0x8000, %esp
calll _cfunc32flat_handle_smi - BUILD_BIOS_ADDR
rsm
.code16gcc