| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Remove unused variable as part of -Werror cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| |
|
|
|
|
|
|
|
| |
Automatically reformat com32/modules/sdi.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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One-to-many relationships, in which one chunk of a file is used in
more than one place, tends to naturally show up in decoding certain
fileformats, including (but not limited to) Microsoft SDI. Make the
shuffler library handle those cases correctly, and remove a
special-purpose hack in sdi.c.
This is based on the observation that all one-to-many relationships
can be treated as a one-to-one shuffle followed by
destination-to-destination copies; i.e. one copy is (arbitrarily)
assigned the "master copy" status, and all aliases are then copied
from the master copy when the master copy is already in its final
place. All other copies can then be simply ignored for the duration
of the shuffle, just as zero-memory is.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
| |
Per Sergii Kolisnyk, change SDIReserved to MDBType.
|
| |
|
|
|
|
|
| |
Verify the checksum in the SDI header.
SDIheader variable names and checksum algo are from
http://skolk.livejournal.com/
|
| |
|
|
|
|
|
| |
This doesn't use Remi's code, but definitely used some concepts from
his patch.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
Support gzipped SDI images, simply by replacing loadfile() with
zloadfile(). Suggested by Remi Lefevre.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
| |
Print minimal message while loading.
|
|
|
COM32 module to load a Microsoft System Deployment Image (SDI) file.
|