people/lynusvaz/gpxe.git
13 years agoRename .cvsignore files to .gitignore
Michael Brown [Sat, 9 Jun 2007 21:57:00 +0000 (22:57 +0100)]
Rename .cvsignore files to .gitignore

13 years agoUpdate email addresses in drivers
Marty Connor [Sat, 9 Jun 2007 19:23:17 +0000 (15:23 -0400)]
Update email addresses in drivers

13 years agoUpdated email mdc's email address
Marty Connor [Fri, 8 Jun 2007 15:23:26 +0000 (11:23 -0400)]
Updated email mdc's email address

13 years agoConflicts with native asn1.c
Michael Brown [Fri, 8 Jun 2007 12:37:35 +0000 (12:37 +0000)]
Conflicts with native asn1.c

13 years agoAdd a couple of tests for the URI parsing and resolving code.
Michael Brown [Sun, 3 Jun 2007 02:15:00 +0000 (02:15 +0000)]
Add a couple of tests for the URI parsing and resolving code.

13 years agoAdded missing va_end()
Michael Brown [Sun, 3 Jun 2007 02:11:25 +0000 (02:11 +0000)]
Added missing va_end()

13 years agoAdd facility for resolving base+relative URIs (and paths).
Michael Brown [Sun, 3 Jun 2007 02:01:02 +0000 (02:01 +0000)]
Add facility for resolving base+relative URIs (and paths).

13 years agoAdded dirname()
Michael Brown [Sun, 3 Jun 2007 01:51:10 +0000 (01:51 +0000)]
Added dirname()

13 years agoAdded [v]asprintf()
Michael Brown [Sun, 3 Jun 2007 01:50:03 +0000 (01:50 +0000)]
Added [v]asprintf()

13 years agoMove [v]ssnprintf() from iscsi.c into vsprintf.c; we need them
Michael Brown [Thu, 31 May 2007 13:26:50 +0000 (13:26 +0000)]
Move [v]ssnprintf() from iscsi.c into vsprintf.c; we need them
elsewhere as well.

13 years agoAdd xfer_[v]printf() functions.
Michael Brown [Mon, 28 May 2007 20:09:44 +0000 (20:09 +0000)]
Add xfer_[v]printf() functions.

13 years agoMake URI structures reference-counted.
Michael Brown [Mon, 28 May 2007 17:35:15 +0000 (17:35 +0000)]
Make URI structures reference-counted.

13 years agoMove increment/decrement debug messages to DBG2 level
Michael Brown [Sun, 27 May 2007 01:04:52 +0000 (01:04 +0000)]
Move increment/decrement debug messages to DBG2 level

13 years agoEliminate PF_INET; just use the AF_INET from the struct sockaddr instead.
Michael Brown [Sat, 26 May 2007 20:41:23 +0000 (20:41 +0000)]
Eliminate PF_INET; just use the AF_INET from the struct sockaddr instead.

13 years agoAdded EPIPE description.
Michael Brown [Sat, 26 May 2007 15:05:31 +0000 (15:05 +0000)]
Added EPIPE description.

13 years agoModify data-xfer semantics: it is no longer necessary to call one of
Michael Brown [Sat, 26 May 2007 15:04:36 +0000 (15:04 +0000)]
Modify data-xfer semantics: it is no longer necessary to call one of
request(), seek() or deliver_xxx() in order to start the data flow.
Autonomous generators must be genuinely autonomous (having their own
process), or otherwise arrange to be called.  TCP does this by
starting the retry timer immediately.

Add some debugging statements.

13 years agoModify process semantics; rescheduling is now automatic.
Michael Brown [Sat, 26 May 2007 15:00:56 +0000 (15:00 +0000)]
Modify process semantics; rescheduling is now automatic.

Add reference-counting to processes.

Add timer_running() test.

13 years agoFree I/O buffers when we are finished with them!
Michael Brown [Fri, 25 May 2007 16:01:31 +0000 (16:01 +0000)]
Free I/O buffers when we are finished with them!

13 years agoUse list_for_each_entry_safe() when flushing queue.
Michael Brown [Sat, 19 May 2007 22:05:16 +0000 (22:05 +0000)]
Use list_for_each_entry_safe() when flushing queue.

13 years agoAdd local address to socket openers.
Michael Brown [Sat, 19 May 2007 20:14:18 +0000 (20:14 +0000)]
Add local address to socket openers.

13 years agoRename pkbpad.c to iobpad.c
Michael Brown [Sat, 19 May 2007 18:42:27 +0000 (18:42 +0000)]
Rename pkbpad.c to iobpad.c

13 years agopkbuff->iobuf changeover
Michael Brown [Sat, 19 May 2007 18:39:40 +0000 (18:39 +0000)]
pkbuff->iobuf changeover

Achieved via Perl using:

perl -pi -e 's/pk_buff/io_buffer/g; s/Packet buffer/I\/O buffer/ig; ' \
-e 's/pkbuff\.h/iobuf.h/g; s/pkb_/iob_/g; s/_pkb/_iob/g; ' \
-e 's/pkb/iobuf/g; s/PKB/IOB/g;'

13 years agoAdd explicit "freeing" debug messages.
Michael Brown [Fri, 18 May 2007 15:42:02 +0000 (15:42 +0000)]
Add explicit "freeing" debug messages.

13 years agoMust request data before anything actually happens...
Michael Brown [Fri, 18 May 2007 15:36:11 +0000 (15:36 +0000)]
Must request data before anything actually happens...

13 years agoAdd debugging
Michael Brown [Fri, 18 May 2007 15:26:44 +0000 (15:26 +0000)]
Add debugging

13 years agoAdd alloc_iob() and free_iob(). (Direct search-and-replace
Michael Brown [Fri, 18 May 2007 14:45:16 +0000 (14:45 +0000)]
Add alloc_iob() and free_iob().  (Direct search-and-replace
equivalents for alloc_pkb() and free_pkb(), which will be retired in
due course).

13 years agoUpdated to use POSIX-style file I/O layer.
Michael Brown [Fri, 18 May 2007 14:33:20 +0000 (14:33 +0000)]
Updated to use POSIX-style file I/O layer.

13 years agoAdded POSIX-style blocking I/O calls, for use by PXE TFTP API.
Michael Brown [Fri, 18 May 2007 14:19:22 +0000 (14:19 +0000)]
Added POSIX-style blocking I/O calls, for use by PXE TFTP API.

13 years agoAllow construction of PXE status code from internal error number.
Michael Brown [Fri, 18 May 2007 14:17:35 +0000 (14:17 +0000)]
Allow construction of PXE status code from internal error number.

13 years agoPrefix all the open()-family routines with xfer_, to disambiguate them
Michael Brown [Fri, 18 May 2007 14:16:06 +0000 (14:16 +0000)]
Prefix all the open()-family routines with xfer_, to disambiguate them
from the normal POSIX-style open()

13 years agoDo not hold self-references. This then avoids the problem of having to
Michael Brown [Tue, 15 May 2007 16:53:46 +0000 (16:53 +0000)]
Do not hold self-references.  This then avoids the problem of having to
ensure that we only drop our self-reference exactly once.

To maintain the guarantee that an object won't go out of scope
unexpectedly while one of its event handlers is being called, the
event-calling functions now automatically obtain and drop extra
references.

13 years agoData-transfer interface should now be functionally complete.
Michael Brown [Tue, 15 May 2007 15:23:09 +0000 (15:23 +0000)]
Data-transfer interface should now be functionally complete.

13 years agoAdd always_inline attribute to force gcc to inline single-instruction
Michael Brown [Tue, 1 May 2007 10:17:29 +0000 (10:17 +0000)]
Add always_inline attribute to force gcc to inline single-instruction
functions.

13 years agoAdded (non-functional) reference count to struct image
Michael Brown [Tue, 1 May 2007 00:11:34 +0000 (00:11 +0000)]
Added (non-functional) reference count to struct image

13 years agoInitial sketch for a downloader object
Michael Brown [Tue, 1 May 2007 00:09:19 +0000 (00:09 +0000)]
Initial sketch for a downloader object

13 years agoAdd start() event
Michael Brown [Tue, 1 May 2007 00:07:57 +0000 (00:07 +0000)]
Add start() event

Add "xfer" to all xfer functions and "job" to all job functions.

13 years agoClarify behaviour of plug() by using intf_put() and intf_get().
Michael Brown [Tue, 1 May 2007 00:06:21 +0000 (00:06 +0000)]
Clarify behaviour of plug() by using intf_put() and intf_get().

13 years agoDocument the fact that a zeroed-out refcounted object will behave in
Michael Brown [Tue, 1 May 2007 00:04:21 +0000 (00:04 +0000)]
Document the fact that a zeroed-out refcounted object will behave in
the most generally useful way.

13 years agoD'oh
Michael Brown [Mon, 30 Apr 2007 01:24:52 +0000 (01:24 +0000)]
D'oh

13 years agoAdded plug_plug()
Michael Brown [Mon, 30 Apr 2007 01:23:01 +0000 (01:23 +0000)]
Added plug_plug()

13 years agoAdd (and use) generic reference counter, to improve signal:noise ratio
Michael Brown [Sun, 29 Apr 2007 23:53:39 +0000 (23:53 +0000)]
Add (and use) generic reference counter, to improve signal:noise ratio
in code defining reference-counted objects.

13 years agoSkeleton job control interface
Michael Brown [Sun, 29 Apr 2007 02:08:39 +0000 (02:08 +0000)]
Skeleton job control interface

13 years agoAdd seek()
Michael Brown [Sun, 29 Apr 2007 02:03:58 +0000 (02:03 +0000)]
Add seek()

Dehyphenate "data-transfer".

13 years agoPreliminary support for opening data-transfer interfaces
Michael Brown [Sat, 28 Apr 2007 20:56:24 +0000 (20:56 +0000)]
Preliminary support for opening data-transfer interfaces

13 years agoAdded PF_INET[6] and SOCK_{STREAM,DGRAM} definitions and debug
Michael Brown [Sat, 28 Apr 2007 20:53:48 +0000 (20:53 +0000)]
Added PF_INET[6] and SOCK_{STREAM,DGRAM} definitions and debug
functions.

13 years agoAdded deliver-as-iobuf/deliver-as-raw concepts.
Michael Brown [Fri, 27 Apr 2007 00:02:23 +0000 (00:02 +0000)]
Added deliver-as-iobuf/deliver-as-raw concepts.

13 years agoInitial sketch for the generic data-transfer interface.
Michael Brown [Thu, 26 Apr 2007 22:44:52 +0000 (22:44 +0000)]
Initial sketch for the generic data-transfer interface.

13 years agoTrivial ASN.1 decoding functions.
Michael Brown [Sat, 21 Apr 2007 18:53:26 +0000 (18:53 +0000)]
Trivial ASN.1 decoding functions.

13 years agohoffmeis: Preparations for syslog support (LOGSERVER in DHCP, linewise
Anselm Martin Hoffmeister [Mon, 9 Apr 2007 18:01:43 +0000 (18:01 +0000)]
hoffmeis: Preparations for syslog support (LOGSERVER in DHCP, linewise
output buffering defintions and the like)

13 years agohoffmeis: Fixing situation where absence of a newdata() handler for UDP
Anselm Martin Hoffmeister [Mon, 9 Apr 2007 17:34:10 +0000 (17:34 +0000)]
hoffmeis: Fixing situation where absence of a newdata() handler for UDP
connections might break things. Only-sending applications like syslog()
do not need a newdata() handler, so added a check if that handler exists.

13 years agoAdd 32-bit support.
Michael Brown [Thu, 22 Mar 2007 16:18:46 +0000 (16:18 +0000)]
Add 32-bit support.

Generate DHCP data block for images.

13 years agoProvide a buffer in base memory for code to fill with generated DHCP data.
Michael Brown [Thu, 22 Mar 2007 16:18:07 +0000 (16:18 +0000)]
Provide a buffer in base memory for code to fill with generated DHCP data.

13 years agoTypo
Michael Brown [Tue, 20 Mar 2007 18:55:00 +0000 (18:55 +0000)]
Typo

13 years agoSupport 32-bit (linear) NBI images. We don't yet provide a bootp data
Michael Brown [Wed, 14 Mar 2007 00:39:12 +0000 (00:39 +0000)]
Support 32-bit (linear) NBI images.  We don't yet provide a bootp data
block, so first32.c dies immediately.

13 years agoPorted bnx2 driver from Etherboot 5.4.
James Harper [Tue, 13 Mar 2007 23:03:50 +0000 (23:03 +0000)]
Ported bnx2 driver from Etherboot 5.4.

13 years agoAdded .nbi as a format.
Michael Brown [Sun, 11 Mar 2007 00:57:26 +0000 (00:57 +0000)]
Added .nbi as a format.

13 years agoMake _load_size accurately reflect the number of bytes in the actual
Michael Brown [Sun, 11 Mar 2007 00:54:35 +0000 (00:54 +0000)]
Make _load_size accurately reflect the number of bytes in the actual
image file.

13 years agot5x9 code relies on nic->ioaddr being set
Michael Brown [Sun, 11 Mar 2007 00:37:46 +0000 (00:37 +0000)]
t5x9 code relies on nic->ioaddr being set

13 years agoUpdated 3c509 to current device model
Michael Brown [Sat, 10 Mar 2007 22:28:22 +0000 (22:28 +0000)]
Updated 3c509 to current device model

13 years agoUpdated ISAPnP, EISA, MCA and ISA buses to current device model.
Michael Brown [Sat, 10 Mar 2007 18:08:33 +0000 (18:08 +0000)]
Updated ISAPnP, EISA, MCA and ISA buses to current device model.

ISA 3c509 is currently non-functional, although the EISA (3c509-eisa) and
MCA (3c529) variants should build OK.

None of this code is yet tested.

13 years agoStart a new release notes file (RELNOTES) in preparation for release
Marty Connor [Mon, 5 Mar 2007 03:55:26 +0000 (03:55 +0000)]
Start a new release notes file (RELNOTES) in preparation for release

13 years agoStart a new LOG file in preparation for release
Marty Connor [Mon, 5 Mar 2007 03:54:40 +0000 (03:54 +0000)]
Start a new LOG file in preparation for release

13 years agoUpdate non-GPL licensed files for gPXE
Marty Connor [Mon, 5 Mar 2007 03:53:40 +0000 (03:53 +0000)]
Update non-GPL licensed files for gPXE

13 years agoRemove outdated web files
Marty Connor [Fri, 2 Mar 2007 23:46:47 +0000 (23:46 +0000)]
Remove outdated web files

13 years agoAdd gpxe-tarball target to create clean release tarballs
Marty Connor [Fri, 2 Mar 2007 16:28:04 +0000 (16:28 +0000)]
Add gpxe-tarball target to create clean release tarballs

13 years agoAdd warning about formats that are not working until we fix them
Marty Connor [Fri, 2 Mar 2007 16:25:42 +0000 (16:25 +0000)]
Add warning about formats that are not working until we fix them

13 years agoVersion increment in preparation for release
Marty Connor [Fri, 2 Mar 2007 16:06:46 +0000 (16:06 +0000)]
Version increment in preparation for release

13 years agoRemove no-longer-used variable
Michael Brown [Mon, 19 Feb 2007 17:31:20 +0000 (17:31 +0000)]
Remove no-longer-used variable

13 years agoFix some bad pointer arithmatic in the tg3 driver that was causing the dynamic memory...
James Harper [Sat, 10 Feb 2007 00:28:41 +0000 (00:28 +0000)]
Fix some bad pointer arithmatic in the tg3 driver that was causing the dynamic memory pool to be corrupted (or worse)

13 years agoFix padding problem - from Michael
James Harper [Sat, 10 Feb 2007 00:27:46 +0000 (00:27 +0000)]
Fix padding problem - from Michael

13 years agoAllow queries in GET requests
Michael Brown [Thu, 1 Feb 2007 21:01:47 +0000 (21:01 +0000)]
Allow queries in GET requests

13 years agoAdd ability to read serial number from SMBIOS
Michael Brown [Thu, 1 Feb 2007 20:52:12 +0000 (20:52 +0000)]
Add ability to read serial number from SMBIOS

13 years agoSSL needs quite a lot of spare memory
Michael Brown [Thu, 1 Feb 2007 09:38:16 +0000 (09:38 +0000)]
SSL needs quite a lot of spare memory

13 years agoRequired for public key extraction
Michael Brown [Thu, 1 Feb 2007 09:13:27 +0000 (09:13 +0000)]
Required for public key extraction

13 years agoSSL requires inordinately large data storage
Michael Brown [Thu, 1 Feb 2007 07:22:13 +0000 (07:22 +0000)]
SSL requires inordinately large data storage

13 years agoDon't pass through zero-length requests
Michael Brown [Thu, 1 Feb 2007 07:18:56 +0000 (07:18 +0000)]
Don't pass through zero-length requests

13 years agoSHA1_DIGEST_SIZE also available as a static constant
Michael Brown [Thu, 1 Feb 2007 06:36:45 +0000 (06:36 +0000)]
SHA1_DIGEST_SIZE also available as a static constant

13 years agoMake context sizes available for statically-allocated structures
Michael Brown [Thu, 1 Feb 2007 05:48:56 +0000 (05:48 +0000)]
Make context sizes available for statically-allocated structures

13 years agoVanilla copies from axtls
Michael Brown [Thu, 1 Feb 2007 04:20:12 +0000 (04:20 +0000)]
Vanilla copies from axtls

13 years agoQuick hacks to get it working
Michael Brown [Thu, 1 Feb 2007 02:20:35 +0000 (02:20 +0000)]
Quick hacks to get it working

13 years agoAdd dummy setiv method
Michael Brown [Thu, 1 Feb 2007 02:19:16 +0000 (02:19 +0000)]
Add dummy setiv method

13 years agoFix prototypes
Michael Brown [Thu, 1 Feb 2007 02:18:56 +0000 (02:18 +0000)]
Fix prototypes

13 years agoMore assertions
Michael Brown [Thu, 1 Feb 2007 02:18:22 +0000 (02:18 +0000)]
More assertions

13 years agoAlso print out stack pointer (with optional stack dump)
Michael Brown [Thu, 1 Feb 2007 02:17:59 +0000 (02:17 +0000)]
Also print out stack pointer (with optional stack dump)

13 years agoPlaceholder
Michael Brown [Thu, 1 Feb 2007 02:17:33 +0000 (02:17 +0000)]
Placeholder

13 years agoAssert that division result is correct
Michael Brown [Wed, 31 Jan 2007 23:58:52 +0000 (23:58 +0000)]
Assert that division result is correct

13 years agoAdded __umoddi3
Michael Brown [Wed, 31 Jan 2007 22:26:14 +0000 (22:26 +0000)]
Added __umoddi3

13 years agoOriginal axtls RSA code
Michael Brown [Wed, 31 Jan 2007 22:18:29 +0000 (22:18 +0000)]
Original axtls RSA code

13 years agoAdded wrapper for AXTLS AES code
Michael Brown [Wed, 31 Jan 2007 18:09:20 +0000 (18:09 +0000)]
Added wrapper for AXTLS AES code

13 years agoAdded setiv method
Michael Brown [Wed, 31 Jan 2007 17:58:36 +0000 (17:58 +0000)]
Added setiv method

13 years agoAdd wrapper around axtls' sha1 code
Michael Brown [Wed, 31 Jan 2007 12:24:01 +0000 (12:24 +0000)]
Add wrapper around axtls' sha1 code

13 years agoAdding missing include
Michael Brown [Wed, 31 Jan 2007 12:19:50 +0000 (12:19 +0000)]
Adding missing include

13 years agoMade most of the build much quieter
Michael Brown [Wed, 31 Jan 2007 11:06:36 +0000 (11:06 +0000)]
Made most of the build much quieter

13 years agoWe need this, I think
Michael Brown [Wed, 31 Jan 2007 03:50:49 +0000 (03:50 +0000)]
We need this, I think

13 years agoForce inlining
Michael Brown [Wed, 31 Jan 2007 03:50:31 +0000 (03:50 +0000)]
Force inlining

13 years agoPlaceholder for TLS insertion
Michael Brown [Wed, 31 Jan 2007 03:47:42 +0000 (03:47 +0000)]
Placeholder for TLS insertion

13 years agoAdd HTTPS port
Michael Brown [Wed, 31 Jan 2007 03:44:38 +0000 (03:44 +0000)]
Add HTTPS port

13 years agoFilter insertion now actually works
Michael Brown [Wed, 31 Jan 2007 03:43:59 +0000 (03:43 +0000)]
Filter insertion now actually works

13 years agoSwap downstream/upstream order so that debug messages for filters show
Michael Brown [Wed, 31 Jan 2007 03:43:40 +0000 (03:43 +0000)]
Swap downstream/upstream order so that debug messages for filters show
up in the same colour as debug messages for the application stream.

13 years ago...but not when it's being used as a digest algorithm...
Michael Brown [Wed, 31 Jan 2007 03:42:47 +0000 (03:42 +0000)]
...but not when it's being used as a digest algorithm...