| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Document the GPT boot protocol; add additional assurance by
requiring that EAX contains "!GPT" for the GPT information
to be valid.
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
Using cltq (cdq) to clear %edx when %eax is zero is cheaper by one
byte.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Use the start field for the boot sector address...
|
| |
| |
| |
| |
| |
| | |
Fix a case of bad confusion of the start and end fields
(length = end-start+1, so we can't easily reuse the load of the start
field.)
|
| |
| |
| |
| |
| | |
xhcgw with %ax and a register is one byte shorter than movw with %ax
if %ax is then dead.
|
| |
| |
| |
| |
| |
| | |
Set up %bp as a permanent frame pointer and use it to reference stack
and phdr fields; by putting phdr in the bootsect slot we can use it
for phdr references with small displacements. This saves 5 bytes.
|
| |
| |
| |
| |
| | |
With %bx advanced to the end of the boot sector, we can use -2(%bx)
instead of (bootsec+510), thus saving one byte.
|
| |
| |
| |
| | |
Save one byte...
|
| |
| |
| |
| | |
The offsets into phdr, from the EFI spec, are in decimal, not hex.
|
| |
| |
| |
| | |
Move the advancing of %bx into read_sector, saving 3 bytes.
|
| |
| |
| |
| |
| |
| | |
Need to tell read_sector where to load the boot sector (unlike the MBR
code, where we always loaded into 0x7c00, this code uses multiple
buffers.)
|
| |
| |
| |
| |
| | |
Shuffle some code slightly to reduce register pressure; no size change
but this might make the code easier to follow and/or change.
|
| |
| |
| |
| | |
Shuffle some code to reduce the total size by 3 bytes
|
| |
| |
| |
| | |
Same instruction, but repe is more correct for cmpsw
|
| |
| |
| |
| | |
Beginnings of a master boot record for GPT partition tables.
|
| |
| |
| |
| | |
-fstack-protector flag enabled by default.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Booting from a logical partition failed with the "Requested logical
partition not found" error due to a wrong test for partition signature
in find_logical_partition().
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Add support for ISOLINUX-style LOCALBOOT in SYSLINUX/EXTLINUX. No way
to do the same for PXELINUX, due to the keyword collision. Suck.
|
| |
| |
| |
| |
| | |
Following changes to other Makefiles use $(CC) for examining compiler
options here as well.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the variable GZIP exists in the environment, overriding it in the
Makefile exports it into the environment, causing failures:
gzip -cd syslogo.ppm.gz | \
../ppmtolss16 \#000000=0 \#d0d0d0=7 \#f6f6f6=15 \
> syslogo.lss
gzip.gz: No such file or directory
204480 pixels, 25715 bytes, (74.85% compression)
Use $GZIPPROG instead.
|
| |
| |
| |
| | |
Hopefully other users might have better luck than me :-/
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rewrite the algorithm to prefer entries which can be directly moved
into their target slots; this should reduce the number of descriptors
in most cases (although not necessarily *all* cases.)
Try to clean up the code some while we're at it... the code is
confusing enough as it is.
|
| |
| |
| |
| |
| | |
The old code could fail to coalesce backwards in the case where a
range is totally obliterated. For now, just scan the whole list.
|
| | |
|
| |
| |
| |
| |
| |
| | |
There are plenty of systems out there with more than 64 e820
descriptors. The hard-coded limit is only used during initialization,
so we might as well go nuts.
|
| |
| |
| |
| | |
Print minimal message while loading.
|
| |
| |
| |
| |
| |
| | |
Use the syslinux_memmap data structure for the free memory list. This
means we get range coalescing; this sometimes generates lists that are
vastly shorter than without range coalescing.
|
| |
| |
| |
| |
| | |
Handle the case of an upward move when there is something in the way.
This happens when loading an SDI image.
|
| |
| |
| |
| |
| |
| |
| | |
ext2/3 directory blocks are *not* ended with inode == 0; that reflects
a deleted block (like 0xe5 in FAT.) Directory blocks are ended by
directory block exhaustion; the last block is simply made as large as
the whole directory block.
|
| |
| |
| |
| | |
COM32 module to load a Microsoft System Deployment Image (SDI) file.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Class E IPv4 addresses are expected to be reassigned as available for
unicast addresses (probably for site-local use, but that is a major
usage domain of PXE.)
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Remove reference to readpit.c32, an experimental module never intended
for release.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
DMI code have some wrong offsets.
This patch fixes this offsets and improve the grammar.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
From : Erwan Velu <erwan.velu@free.fr>
This patch fixes the pci detection stuff demo'd in pcitest.c32
- Fix a wrong type in malloc
- Incorrect use of strdup
- Replacing strncpy by strnlcpy (thx hpa)
This two fixes makes pcitest.c32 working far better, no more crash when
running it twice.
I'd like to thank Sebastian Herbszt for its reports and tests.
This patch was made for 3.62-pre16 but applies fine on 3.63-pre1.
Signed-off-by:Erwan Velu <erwan.velu@free.fr>
--------------------------------------------------------------------------------
Les opinions et prises de position emises par le signataire du present
message lui sont propres et ne sauraient engager la responsabilite de la
societe SEANODES.
Ce message ainsi que les eventuelles pieces jointes constituent une
correspondance privee et confidentielle a l'attention exclusive du
destinataire designe ci-dessus. Si vous n'etes pas le destinataire du
present message ou une personne susceptible de pouvoir le lui delivrer, il
vous est signifie que toute divulgation, distribution ou copie de cette
transmission est strictement interdite. Si vous avez recu ce message par
erreur, nous vous remercions d'en informer l'expediteur par telephone ou de
lui retourner le present message, puis d'effacer immediatement ce message de
votre systeme.
The views and opinions expressed by the author of this message are personal.
SEANODES shall assume no liability, express or implied for such message.
This e-mail and any attachments is a confidential correspondence intended
only for use of the individual or entity named above. If you are not the
intended recipient or the agent responsible for delivering the message to
the intended recipient, you are hereby notified that any disclosure,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify the sender by phone
or by replying this message, and then delete this message from your system.
|
| |
| |
| |
| |
| | |
Use $(CC) in gcc_ok macro, not plain gcc. This seems to work, iff the
gcc_ok macro is declared with =, not :=
|
| |
| |
| |
| | |
hello.exe isn't really anything we care about; clean it up on "make tidy".
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Use "-nostdinc -iwithprefix include" to prevent the inclusion of
system header files, but still permitting *compiler* header files.
|
| |
| |
| |
| |
| | |
Break off execute() into its own source file, with the intent of being
able to re-use it for a CLI module.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
H. Peter Anvin wrote:
> Erwan: I would have to get you to do this, since it would mean
> changing the license (trying to keep libcom32 under the BSD/MIT
> licenses), and you have them under your own copyright (as opposed to
> mine), which means I can't do this change.
Please find attached the patch to changing the license to MIT on modules
I did contribute in com32/modules/.
|