aboutsummaryrefslogtreecommitdiff
path: root/src/romlayout.S
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-11-03 09:45:51 -0500
committerKevin O'Connor <kevin@koconnor.net>2014-11-03 09:53:43 -0500
commit85230163bda80356fed5832336e4356ef56073c5 (patch)
treed4da48789f9ce069c240184872ceaaeff9033b26 /src/romlayout.S
parent136d4ec190af616bb4fa8624dd9c648e5c9e0d2a (diff)
downloadseabios-hppa-85230163bda80356fed5832336e4356ef56073c5.zip
seabios-hppa-85230163bda80356fed5832336e4356ef56073c5.tar.gz
seabios-hppa-85230163bda80356fed5832336e4356ef56073c5.tar.bz2
Fix PNP regression introduced in 99cb8f3e due to missed conversion
Commit 99cb8f3e missed a conversion from 12(%esp) to BREGS_eax(%esp) causing winxp to break. Reported-by: Ian Campbell <Ian.Campbell@citrix.com> 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 7dd597f..7a5df0e 100644
--- a/src/romlayout.S
+++ b/src/romlayout.S
@@ -286,7 +286,7 @@ entry_pnp_real:
movw %cx, %ds
leal BREGS_size-6+12(%esp), %eax // %eax points to start of u16 args
calll handle_pnp
- movw %ax, 12(%esp) // Modify %eax to return %ax
+ movw %ax, BREGS_eax(%esp) // Modify %eax to return %ax
POPBREGS
popfl
popl %esp