| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Must check that argument to a fclose() is not NULL -- we can get to the
'err' label when file was not opened. fclose(NULL) is known to produce
core dump on some platforms and we don't want zbin to fail so loudly.
Signed-off-by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
|
|
|
|
|
|
| |
Option::ROM was assuming that ROM images using a short jump
instruction for the init entry point would have a zero byte at offset
5; this is not necessarily true.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for manipulating the jump instruction that forms the
option ROM initialisation entry point, so that mergerom.pl can treat
it just like other entry points.
Add support for merging the initialisation entry point (and IBM BOFM
table) to mergerom.pl; this is another slightly icky but unfortunately
necessary GPL vs. NDA workaround. When mergerom.pl replaces an entry
point in the original ROM, it now fills in the corresponding entry
point in the merged ROM with the original value; this allows (for
example) a merged initialisation entry point to do some processing and
then jump back to the original entry point.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This utility is required as a workaround for legal restrictions on
including GPL and non-GPL code within the same expansion ROM image.
While this is not encouraged, we are prepared to accept that
concatenation of ROM images and updating of the ROM header data
structures can be classed as "mere aggregation" within the terms of
the GPL.
If in any doubt, assume that you cannot include GPL and non-GPL code
within the same expansion ROM image. Contact the Etherboot team for
clarification on your specific circumstances.
|
|
|
|
|
| |
The Option::ROM module provides an easy way to read and edit fields
within option ROM headers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
During development it is often handy to change the config.h options from
their defaults, for example to enable debugging features.
To prevent accidental commits of debugging config.h changes, mdc
suggested having a config-local.h that is excluded from source control.
This file acts as a temporary config.h and can override any of the
defaults.
This commit is an attempt to implement the config-local.h feature.
The config.h file now has the following as its last line:
/* @TRYSOURCE config-local.h */
The @TRYSOURCE directive causes config-local.h to be included at that
point in the file. If config-local.h does not exist, no error will be
printed and parsing will continue as normal. Therefore, mkconfig.pl is
"trying" to "source" config-local.h.
|
|
|
|
|
|
|
|
| |
The generate-by-PCI-device-ID rules (bin/pci_VVVV_DDDD.rom) are generally
used for building actual ROM images to be burned, and the burning
utilities generally run under some DOS variant. Change the filename from
pci_VVVV_DDDD.rom to VVVVDDDD.rom so that it is compatible with the DOS
8.3-character filename limit.
|
|
|
|
| |
needing to know the gPXE internal ROM name.
|
| |
|
|
|
|
| |
treated as being provided by that object" code.
|
| |
|
|
|
|
| |
into account (and so remove the false positives due to .tbl.* symbols).
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
- value of n passed to wgetnstr should now be equivalent to output from strlen (i.e. length excluding NUL-terminating character)
|
|
|
|
| |
- added mucurses_test.c build targets
|
|
|
|
| |
the jmp instruction).
|
|
|
|
| |
Added iSCSI testing.
|
|
|
|
| |
the real pcap_inject in the case where we do have it.
|
| |
|
|
|
|
|
|
| |
libpcap are lacking the function. For now, we always use the
substitute version, since there's no easy way to determine whether or
not we need it.
|
|
|
|
| |
the first standalong uIP-based protocol module.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
individual options.
Created the embryonic beginnings of a cleanly separated driver and
protocol stack API.
|
|
|
|
|
|
|
|
| |
hijack daemon) and a functional but very ugly and very primitive
wrapper around uIP.
This passes proof-of-concept testing; it successfully initiates a TCP
connection and responds to pings.
|
| |
|
|
|
|
|
|
|
| |
Include automatic filtering (based on source MAC address of first
transmitted packet).
Proven to successfully elicit a ping response from a remote host.
|
|
|
|
|
| |
socket, accept new connections, open a network interface using libpcap
and forward (all) traffic.
|
| |
|
| |
|
|
|
|
| |
large symbols have been fixed.
|
| |
|
| |
|
|
|
|
| |
markers appear before the symbols that immediately follow the table.
|
|
|
|
| |
markers are now static labels within the objects that refer to them.
|
|
|
|
|
| |
(e.g. section start indicators) show up before the symbols they're
indicating the start of.
|
| |
|
| |
|
| |
|
| |
|