diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2009-03-31 16:31:18 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-03-31 16:31:18 -0700 |
commit | 0d8c3d040d9f733f95384f2d5e46609f73bd9c78 (patch) | |
tree | 9341a6bcfc7da3abf15ea514ad44f6d3c3233f19 /com32/include/syslinux/movebits.h | |
parent | 1656aefeb6b7195db38d25065137c4f37655f33a (diff) | |
download | syslinux-0d8c3d040d9f733f95384f2d5e46609f73bd9c78.tar.gz |
shuffler: make the new shuffler actually work
Make the new shuffler actually work. This includes changing
rllpack.inc to run in 32-bit mode (since simple_pm_call now switches
to 32-bit mode) and changing the new shuffler interface to move the
shuffle list before actually doing any work.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/include/syslinux/movebits.h')
-rw-r--r-- | com32/include/syslinux/movebits.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/com32/include/syslinux/movebits.h b/com32/include/syslinux/movebits.h index f35ef228..ff3711ee 100644 --- a/com32/include/syslinux/movebits.h +++ b/com32/include/syslinux/movebits.h @@ -59,8 +59,13 @@ int syslinux_add_movelist(struct syslinux_movelist **, addr_t dst, addr_t src, addr_t len); int syslinux_allocate_from_list(struct syslinux_movelist **freelist, addr_t dst, addr_t len); -int syslinux_prepare_shuffle(struct syslinux_movelist *fraglist, - struct syslinux_memmap *memmap); +int syslinux_do_shuffle(struct syslinux_movelist *fraglist, + struct syslinux_memmap *memmap, + addr_t entry_point, addr_t entry_type, + uint16_t bootflags); +struct syslinux_memmap * +syslinux_target_memmap(struct syslinux_movelist *fraglist, + struct syslinux_memmap *memmap); /* Operatons on struct syslinux_memmap */ struct syslinux_memmap *syslinux_init_memmap(void); |