| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Automatically reformat com32/lib/syslinux/shuffle.c 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>
|
| |
|
|
|
|
| |
For performance, align the shuffle safe area to a dword boundary.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |\
| |
| |
| |
| |
| |
| | |
Conflicts:
com32/lib/syslinux/memmap.c
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Update copyright notices. Per agreement with my new employer, Intel
Corporation, add Intel copyright notices where appropriate.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| | |
| |
| |
| |
| |
| |
| | |
If we're going to mark memory unusable, it's cleaner to mark it
SMT_RESERVED.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| |/
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
We really need to be able to allocate the shuffle buffer itself...
|
| |
|
|
|
|
| |
When allocating more than one block of descriptors, make sure we
account for all the memory used correctly. Otherwise, very bad things
happen.
|
| |
|
|
|
|
|
|
|
|
|
| |
The memory used to hold shuffle descriptors must be unused during the
entire execution of the shuffle sequence, and therefore needs to be
free at input *and* output time.
Once we have picked a region for the shuffle descriptors, we can free
this working copy and start over with a clean memory map, the only
thing we do there is mark as reserved the memory used by the
descriptors.
|
| |
|
|
|
| |
Only use 64 as a static guarantee of the number of shuffle
descriptors; corresponding to 768 bytes of memory.
|
| |
|
|
|
| |
Query the maximum number of shuffle descriptors, and use that number
as the descriptor block size.
|
| |
|
|
|
|
| |
It is safe to assume that the number of moves will never decrease as
the reserved memory space increases; thus, no need to do individual
increments; skip ahead.
|
| |
|
|
|
| |
Allocate high memory out of the way to hold the shuffle descriptors,
and generate continuation descriptors as needed.
|
| | |
|
| |
|
|
|
| |
Put (disabled) debugging code in shuffle.c and load_linux.c for future
needs.
|
| | |
|
| |
|
|
|
|
| |
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.
|
|
|
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.
|