projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34ffe9a
)
<syslinux/bootrm.h>: fix order of SS and DS
author
H. Peter Anvin
<hpa@zytor.com>
Thu, 19 Jun 2008 06:42:47 +0000
(23:42 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Thu, 19 Jun 2008 06:42:47 +0000
(23:42 -0700)
SS is segment 2, DS is segment 3; this header had them backwards.
Fortunately not too many things relied on having DS != SS.
com32/include/syslinux/bootrm.h
patch
|
blob
|
history
diff --git
a/com32/include/syslinux/bootrm.h
b/com32/include/syslinux/bootrm.h
index
3688a92
..
66bdbbd
100644
(file)
--- a/
com32/include/syslinux/bootrm.h
+++ b/
com32/include/syslinux/bootrm.h
@@
-44,8
+44,8
@@
struct syslinux_rm_regs {
uint16_t es; /* Offset 0 */
uint16_t _unused_cs; /* Offset 2 */
- uint16_t
d
s; /* Offset 4 */
- uint16_t
s
s; /* Offset 6 */
+ uint16_t
s
s; /* Offset 4 */
+ uint16_t
d
s; /* Offset 6 */
uint16_t fs; /* Offset 8 */
uint16_t gs; /* Offset 10 */