[syslinux] where to swap

Geert Stappers stappers at stappers.nl
Sat Mar 25 10:51:50 PDT 2017


It is good to see this

----- Forwarded message from syslinux-bot for Martin Str|mberg <ams op ludd.ltu.se> -----

Date: Sat, 25 Mar 2017 05:54:09 -0700
From: syslinux-bot for Martin Str|mberg <ams op ludd.ltu.se>
To: Syslinux commits mailing list <syslinux-commits op zytor.com>
Cc: ams op ludd.ltu.se
Subject: [syslinux:master] mbr/isohdpfx.S: correct pointer for heads/sectors
X-Mailer: Syslinux-git-log-daemon

Commit-ID:  48e94f4fa7b3c32cbd43b6e57c64bc933f76d059
Gitweb:     http://www.syslinux.org/commit/48e94f4fa7b3c32cbd43b6e57c64bc933f76d059
Author:     Martin Str|mberg <ams op ludd.ltu.se>
AuthorDate: Sat, 25 Mar 2017 08:15:04 -0400
Committer:  Gene Cumm <gene.cumm op gmail.com>
CommitDate: Sat, 25 Mar 2017 08:15:10 -0400

mbr/isohdpfx.S: correct pointer for heads/sectors

sectors is pushed first then heads but pointers were in reverse order.

Signed-off-by: Gene Cumm <gene.cumm op gmail.com>

---
 mbr/isohdpfx.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mbr/isohdpfx.S b/mbr/isohdpfx.S
index 17e1efe..a693ccb 100644
--- a/mbr/isohdpfx.S
+++ b/mbr/isohdpfx.S
@@ -48,8 +48,8 @@ isolinux_start_hybrid		= 0x7c00+64+4
 stack		= 0x7c00
 partoffset	= (stack-8)
 driveno		= (stack-14)
-heads		= (stack-16)
-sectors		= (stack-18)
+sectors		= (stack-16)
+heads		= (stack-18)
 ebios_flag	= (stack-20)
 secpercyl	= (stack-24)
 
_______________________________________________
Syslinux-commits mailing list
Syslinux-commits op zytor.com
http://www.zytor.com/mailman/listinfo/syslinux-commits

----- End forwarded message -----


And please see also the patch in http://www.syslinux.org/archives/2017-March/025706.html

In that patch is the push to stack order swapped.


So my question is:  Where to swap?




Groeten
Geert Stappers
-- 
Leven en laten leven


More information about the Syslinux mailing list