summaryrefslogtreecommitdiff
path: root/memdisk/init.S16
diff options
context:
space:
mode:
authorhpa <hpa>2001-12-10 09:24:01 +0000
committerhpa <hpa>2001-12-10 09:24:01 +0000
commit7ea877cf24fdbb3968d4e818c6664a6478ffba45 (patch)
treedfb44a14beb24505166418434740edbd00466270 /memdisk/init.S16
parent5f730deba07322d48594722e603eeb198954daef (diff)
downloadsyslinux-7ea877cf24fdbb3968d4e818c6664a6478ffba45.tar.gz
Make sure we use calll/retl for the C code, so the stack frame layout
matches the one used in 32-bit mode.
Diffstat (limited to 'memdisk/init.S16')
-rw-r--r--memdisk/init.S162
1 files changed, 1 insertions, 1 deletions
diff --git a/memdisk/init.S16 b/memdisk/init.S16
index 0231d8f7..465d63bf 100644
--- a/memdisk/init.S16
+++ b/memdisk/init.S16
@@ -127,7 +127,7 @@ start:
main:
sti
- call setup # Call the C code
+ calll setup # Call the C code
# The setup function returns the drive number,
# which should be returned in %dl
movw %ax,%dx