]> xenbits.xensource.com Git - seabios.git/commitdiff
Fix PNP regression introduced in 99cb8f3e due to missed conversion
authorKevin O'Connor <kevin@koconnor.net>
Mon, 3 Nov 2014 14:45:51 +0000 (09:45 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 3 Nov 2014 14:53:43 +0000 (09:53 -0500)
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>
src/romlayout.S

index 7dd597f57731947b004765acec65b313c3c32aee..7a5df0e9448c1f9e2ffad890c3fbddc390df1bc2 100644 (file)
@@ -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