summaryrefslogtreecommitdiff
path: root/com32/include/syslinux/movebits.h
Commit message (Collapse)AuthorAgeFilesLines
* Run Nindent on com32/include/syslinux/movebits.hH. Peter Anvin2009-05-291-22/+21
| | | | | | | | | Automatically reformat com32/include/syslinux/movebits.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* shuffler: work around KVM problem with the new shufflerH. Peter Anvin2009-04-131-0/+3
| | | | | | | | | | | | | | KVM uses V86 mode to simulate real mode. This causes problems with the new shuffler. This changes the shuffler handover to be in 16-bit protected mode instead, and requires the stub to do the actual entry to real mode. For the KVM hack to work, all segments must have: (seg.base & 0xfff0000f) == 0 && seg.limit == 0xffff As a result, we have to make sure the real-mode entry stub is paragraph-aligned, lest we violate the first criterion. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* shuffler: make the new shuffler actually workH. Peter Anvin2009-03-311-2/+7
| | | | | | | | | 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>
* Move the prototypes for syslinux_shuffle_boot_*()H. Peter Anvin2008-02-121-12/+0
| | | | | | | Move the prototypes for syslinux_shuffle_boot_[pr]m() from <syslinux/movebits.h> to <syslinux/boot[pr]m.h>, which anyway has the required structure definitions. #include <syslinux/movebits.h> in those files instead of relying on forward structure definitions.
* Add a register-setting shuffle and boot for real mode; clean up headers.syslinux-3.40-pre14H. Peter Anvin2007-03-141-7/+4
| | | | | - Add an API function to shuffle and boot which sets *all* RM registers; - Move those structures to <syslinux/bootpm.h> and <syslinux/bootrm.h>
* Finish the shuffle and boot interface, and add an ELF loading module.H. Peter Anvin2007-03-141-8/+61
| | | | | | 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.
* Wrapper infrastructure for "shuffle and boot"H. Peter Anvin2007-03-121-0/+44
Initial checkin of a wrapper infrastructure for the "shuffle and boot" interface, both real and protected mode. This code automatically will figure out the necessary sequence of moves, taking into account swaps and overlaps as necessary.