summaryrefslogtreecommitdiff
path: root/com32/lib/syslinux/shuffle_pm.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-03-14 19:06:36 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-03-14 19:06:36 -0700
commit37b99c20bf10933524f3b8c1ec04215d5c94c18d (patch)
treec4552e2d59ca2be9c901fda0fb2d447a8f5b7ab8 /com32/lib/syslinux/shuffle_pm.c
parent0b4922aa3fb090ee05d2e7c20379aabe2a047835 (diff)
downloadsyslinux-37b99c20bf10933524f3b8c1ec04215d5c94c18d.tar.gz
Finish the shuffle and boot interface, and add an ELF loading module.
The shuffle and boot interface, including the library support, should now work as advertised. Add an ELF-loading module as a demo, and it's probably useful for someone, too.
Diffstat (limited to 'com32/lib/syslinux/shuffle_pm.c')
-rw-r--r--com32/lib/syslinux/shuffle_pm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/com32/lib/syslinux/shuffle_pm.c b/com32/lib/syslinux/shuffle_pm.c
index 45235e07..f8af66ad 100644
--- a/com32/lib/syslinux/shuffle_pm.c
+++ b/com32/lib/syslinux/shuffle_pm.c
@@ -38,6 +38,7 @@
#include <syslinux/movebits.h>
int syslinux_shuffle_boot_pm(struct syslinux_movelist *fraglist,
+ struct syslinux_memmap *memmap,
uint16_t bootflags,
struct syslinux_pm_regs *regs)
{
@@ -45,7 +46,7 @@ int syslinux_shuffle_boot_pm(struct syslinux_movelist *fraglist,
com32sys_t ireg;
char *regbuf;
- nd = syslinux_prepare_shuffle(fraglist);
+ nd = syslinux_prepare_shuffle(fraglist, memmap);
if (nd < 0)
return -1;