people/xl0/gpxe-arm.git
14 years agoMerge from Etherboot 5.4
Michael Brown [Thu, 16 Mar 2006 17:05:38 +0000 (17:05 +0000)]
Merge from Etherboot 5.4

14 years agoFix up building with gcc 4.0.1 / gas 2.16.91
Michael Brown [Tue, 17 Jan 2006 01:47:41 +0000 (01:47 +0000)]
Fix up building with gcc 4.0.1 / gas 2.16.91

15 years agoReorder functions to match the linux driver.
George Baum [Mon, 11 Jul 2005 19:26:12 +0000 (19:26 +0000)]
Reorder functions to match the linux driver.
No code changes apart from commenting one unused function out.

15 years agoFix COMET TxUnderrun issue
Timothy Legge [Fri, 17 Jun 2005 20:11:10 +0000 (20:11 +0000)]
Fix COMET TxUnderrun issue

15 years agono need for depending on build library ("blib")
Geert Stappers [Tue, 14 Jun 2005 20:16:03 +0000 (20:16 +0000)]
no need for depending on build library ("blib")
when make is invoked without arguments

15 years agoAdded documentation and ASSERT() statements.
Michael Brown [Mon, 6 Jun 2005 12:01:19 +0000 (12:01 +0000)]
Added documentation and ASSERT() statements.

15 years agoAllow data blocks to be less than sizeof ( struct buffer_free_block ) in
Michael Brown [Mon, 6 Jun 2005 11:42:14 +0000 (11:42 +0000)]
Allow data blocks to be less than sizeof ( struct buffer_free_block ) in
size.  (The restriction on the size of free blocks remains.)

15 years agoReduce BACKOFF_LIMIT to a hopefully more reasonable value.
Michael Brown [Thu, 2 Jun 2005 10:16:05 +0000 (10:16 +0000)]
Reduce BACKOFF_LIMIT to a hopefully more reasonable value.

15 years agoIn multicast operation, the client still has a unicast local port.
Michael Brown [Thu, 2 Jun 2005 10:15:40 +0000 (10:15 +0000)]
In multicast operation, the client still has a unicast local port.

15 years agoAlways include code for sending multicast packets.
Michael Brown [Thu, 2 Jun 2005 10:14:26 +0000 (10:14 +0000)]
Always include code for sending multicast packets.

15 years ago Jan Kiszka provided a patch for the smc9000 for missing phy-setup
Timothy Legge [Thu, 2 Jun 2005 01:26:37 +0000 (01:26 +0000)]
 Jan Kiszka provided a patch for the smc9000 for missing phy-setup

15 years agoRewritten to use the functions in tftpcore.c.
Michael Brown [Wed, 1 Jun 2005 22:26:48 +0000 (22:26 +0000)]
Rewritten to use the functions in tftpcore.c.
Works with a non-multicast TFTP server (i.e. the fallback path works
fine).

15 years agoIGMP protocol now uses the generic background protocol mechanism.
Michael Brown [Wed, 1 Jun 2005 22:22:14 +0000 (22:22 +0000)]
IGMP protocol now uses the generic background protocol mechanism.

15 years agoAdd generic mechanism for background protocols (e.g. ARP, IGMP)
Michael Brown [Wed, 1 Jun 2005 22:18:38 +0000 (22:18 +0000)]
Add generic mechanism for background protocols (e.g. ARP, IGMP)

15 years agoIGMP functions separated out from nic.c
Michael Brown [Wed, 1 Jun 2005 21:18:31 +0000 (21:18 +0000)]
IGMP functions separated out from nic.c

15 years agoDon't try to fetch another packet once we've reached EOF.
Michael Brown [Wed, 1 Jun 2005 19:13:06 +0000 (19:13 +0000)]
Don't try to fetch another packet once we've reached EOF.

15 years agoMake rfc2090 multicast option optional
Michael Brown [Wed, 1 Jun 2005 19:10:25 +0000 (19:10 +0000)]
Make rfc2090 multicast option optional

15 years agoRe-order functions for more logical documentation
Michael Brown [Wed, 1 Jun 2005 18:02:24 +0000 (18:02 +0000)]
Re-order functions for more logical documentation

15 years agoDon't choke on duplicate OACK packets.
Michael Brown [Wed, 1 Jun 2005 18:00:01 +0000 (18:00 +0000)]
Don't choke on duplicate OACK packets.
Make await_tftp() static and create tftp_get() for fetching the next TFTP
packet instead.

15 years agoRemove prototypes for obsolete functions
Michael Brown [Wed, 1 Jun 2005 17:57:27 +0000 (17:57 +0000)]
Remove prototypes for obsolete functions

15 years agoDoxygenation
Michael Brown [Wed, 1 Jun 2005 13:28:07 +0000 (13:28 +0000)]
Doxygenation

15 years agoTFTP upgraded to use a core function library (in tftpcore.c) which will be
Michael Brown [Wed, 1 Jun 2005 13:13:05 +0000 (13:13 +0000)]
TFTP upgraded to use a core function library (in tftpcore.c) which will be
shared between TFTP, TFTM and MTFTP protocols.

15 years agoNow have enough functions to implement a standard TFTP client in around 50
Michael Brown [Wed, 1 Jun 2005 11:01:59 +0000 (11:01 +0000)]
Now have enough functions to implement a standard TFTP client in around 50
lines of code.

15 years agoAdd tftp_ack() and tftp_error()
Michael Brown [Tue, 31 May 2005 15:21:33 +0000 (15:21 +0000)]
Add tftp_ack() and tftp_error()

15 years agoFirst version
Michael Brown [Tue, 31 May 2005 14:47:58 +0000 (14:47 +0000)]
First version

15 years agopatch of Helge Wagner
Geert Stappers [Tue, 31 May 2005 11:32:45 +0000 (11:32 +0000)]
patch of Helge Wagner

15 years agoDocumented remainder of PXE TFTP API calls.
Michael Brown [Fri, 27 May 2005 16:47:45 +0000 (16:47 +0000)]
Documented remainder of PXE TFTP API calls.

15 years agoDocumented the purpose of the two timeout fields in
Michael Brown [Fri, 27 May 2005 16:47:16 +0000 (16:47 +0000)]
Documented the purpose of the two timeout fields in
s_PXENV_TFTP_READ_FILE.

15 years agoAdded diatribe about the mismatch between the PXE spec and the TFTP
Michael Brown [Fri, 27 May 2005 11:44:46 +0000 (11:44 +0000)]
Added diatribe about the mismatch between the PXE spec and the TFTP
protocol, and how we will work around it.

15 years agoRefer to implementation note on IP routing.
Michael Brown [Fri, 27 May 2005 11:37:09 +0000 (11:37 +0000)]
Refer to implementation note on IP routing.

15 years agoAdded implementation note on IP routing.
Michael Brown [Fri, 27 May 2005 11:36:36 +0000 (11:36 +0000)]
Added implementation note on IP routing.

Added reason for min value of 512 on s_PXENV_TFTP_OPEN::PacketSize.

15 years agoThoughts on how to coerce the PXE TFTP API into something resembling
Michael Brown [Thu, 26 May 2005 18:52:12 +0000 (18:52 +0000)]
Thoughts on how to coerce the PXE TFTP API into something resembling
the TFTP protocol.

15 years agoSeparate out the documentation of the PXE API from the documentation of
Michael Brown [Tue, 24 May 2005 17:00:55 +0000 (17:00 +0000)]
Separate out the documentation of the PXE API from the documentation of
the Etherboot implementation (i.e. don't do what Intel did).

15 years agoRemove the annoying #include lines
Michael Brown [Tue, 24 May 2005 00:25:50 +0000 (00:25 +0000)]
Remove the annoying #include lines

15 years agoSome versions of doxygen seem to object to "@ret None" or similar.
Michael Brown [Tue, 24 May 2005 00:11:25 +0000 (00:11 +0000)]
Some versions of doxygen seem to object to "@ret None" or similar.

15 years agoFixes for gcc >= 3.2 from Georg Baum
Michael Brown [Mon, 23 May 2005 23:47:54 +0000 (23:47 +0000)]
Fixes for gcc >= 3.2 from Georg Baum

15 years agoSplit PXE code into preboot, udp, tftp, undi and loader units.
Michael Brown [Mon, 23 May 2005 23:32:56 +0000 (23:32 +0000)]
Split PXE code into preboot, udp, tftp, undi and loader units.
PXE code now compiles without errors (though it won't actually work).

15 years agoAdded interface/pxe directory
Michael Brown [Mon, 23 May 2005 23:31:59 +0000 (23:31 +0000)]
Added interface/pxe directory

15 years agoMoved pxe_loader.c to pxe_image.c to avoid name clash
Michael Brown [Mon, 23 May 2005 23:05:45 +0000 (23:05 +0000)]
Moved pxe_loader.c to pxe_image.c to avoid name clash

15 years agoMoved pxe_errors.c to pxe/interface/
Michael Brown [Mon, 23 May 2005 22:47:21 +0000 (22:47 +0000)]
Moved pxe_errors.c to pxe/interface/

15 years agoRearranging PXE header files
Michael Brown [Mon, 23 May 2005 22:45:48 +0000 (22:45 +0000)]
Rearranging PXE header files

15 years agothe uncontroversal gcc 4.0 compilation fixes
George Baum [Mon, 23 May 2005 19:30:37 +0000 (19:30 +0000)]
the uncontroversal gcc 4.0 compilation fixes

15 years agoSeparated out the Etherboot-specific parts of the old pxe.h header.
Michael Brown [Mon, 23 May 2005 16:37:05 +0000 (16:37 +0000)]
Separated out the Etherboot-specific parts of the old pxe.h header.

15 years agoAdded PXENV+ and !PXE structures, and the loader API.
Michael Brown [Mon, 23 May 2005 16:26:49 +0000 (16:26 +0000)]
Added PXENV+ and !PXE structures, and the loader API.

15 years agoFinished documenting the UNDI API.
Michael Brown [Mon, 23 May 2005 13:57:23 +0000 (13:57 +0000)]
Finished documenting the UNDI API.

15 years agoDocumented up to PXENV_UNDI_CLOSE
Michael Brown [Mon, 23 May 2005 11:00:09 +0000 (11:00 +0000)]
Documented up to PXENV_UNDI_CLOSE

15 years agoDocumented Preboot, TFTP and UDP data structures
Michael Brown [Mon, 23 May 2005 10:02:44 +0000 (10:02 +0000)]
Documented Preboot, TFTP and UDP data structures

15 years agoDocumented PXENV_GET_CACHED_INFO structures
Michael Brown [Sun, 22 May 2005 23:00:56 +0000 (23:00 +0000)]
Documented PXENV_GET_CACHED_INFO structures

15 years agoAdd UDP parameter structures
Michael Brown [Sun, 22 May 2005 02:57:50 +0000 (02:57 +0000)]
Add UDP parameter structures

15 years agoDefine PXE types in terms of other PXE types where possible
Michael Brown [Sun, 22 May 2005 02:57:14 +0000 (02:57 +0000)]
Define PXE types in terms of other PXE types where possible

15 years agoWorked out a sensible doxygen grouping
Michael Brown [Sun, 22 May 2005 00:59:09 +0000 (00:59 +0000)]
Worked out a sensible doxygen grouping

15 years agoAdded all API codes and basic prototypes.
Michael Brown [Sat, 21 May 2005 17:19:57 +0000 (17:19 +0000)]
Added all API codes and basic prototypes.

15 years agoDocumented the basic PXE data types
Michael Brown [Sat, 21 May 2005 15:15:10 +0000 (15:15 +0000)]
Documented the basic PXE data types

15 years agoDocumented the UDP API calls.
Michael Brown [Fri, 20 May 2005 17:50:37 +0000 (17:50 +0000)]
Documented the UDP API calls.

15 years agoMoved pxe_export.c to pxe.c, since the old pxe.c no longer exists.
Michael Brown [Fri, 20 May 2005 15:32:41 +0000 (15:32 +0000)]
Moved pxe_export.c to pxe.c, since the old pxe.c no longer exists.

15 years agoDocumented the link stages
Michael Brown [Fri, 20 May 2005 13:35:39 +0000 (13:35 +0000)]
Documented the link stages

15 years agoDocumented the compilation stages
Michael Brown [Fri, 20 May 2005 12:44:14 +0000 (12:44 +0000)]
Documented the compilation stages

15 years agoEnable latex output
Michael Brown [Fri, 20 May 2005 11:52:16 +0000 (11:52 +0000)]
Enable latex output

15 years agoAdd doc/ directory and .S files.
Michael Brown [Fri, 20 May 2005 11:38:48 +0000 (11:38 +0000)]
Add doc/ directory and .S files.

15 years agoDoxygenation
Michael Brown [Fri, 20 May 2005 11:28:27 +0000 (11:28 +0000)]
Doxygenation

15 years agoUpdate to cope with changes in registers.h
Michael Brown [Fri, 20 May 2005 11:23:51 +0000 (11:23 +0000)]
Update to cope with changes in registers.h

15 years agoDon't use anonymous entries in a struct; it seems to aggravate gcc 3.4.3.
Michael Brown [Fri, 20 May 2005 11:22:09 +0000 (11:22 +0000)]
Don't use anonymous entries in a struct; it seems to aggravate gcc 3.4.3.

15 years agoUse "#var" rather than "@c var" for doxygen.
Michael Brown [Fri, 20 May 2005 10:27:02 +0000 (10:27 +0000)]
Use "#var" rather than "@c var" for doxygen.

15 years agoDoxygenation
Michael Brown [Fri, 20 May 2005 10:24:11 +0000 (10:24 +0000)]
Doxygenation

15 years agoDon't include etherboot.h; we get a circular dependency
Michael Brown [Thu, 19 May 2005 23:21:18 +0000 (23:21 +0000)]
Don't include etherboot.h; we get a circular dependency

15 years agoDoxygenation
Michael Brown [Thu, 19 May 2005 19:00:21 +0000 (19:00 +0000)]
Doxygenation

15 years agoAPI docs to .h
Michael Brown [Thu, 19 May 2005 18:41:54 +0000 (18:41 +0000)]
API docs to .h

15 years agoMove API docs to buffer.h, implementation to buffer.c.
Michael Brown [Thu, 19 May 2005 18:32:04 +0000 (18:32 +0000)]
Move API docs to buffer.h, implementation to buffer.c.

15 years agoSync from 5.4 branch EB.5.4.SYNC
Michael Brown [Thu, 19 May 2005 17:02:03 +0000 (17:02 +0000)]
Sync from 5.4 branch

15 years agoImported from Etherboot 5.4 tree
Michael Brown [Thu, 19 May 2005 16:51:32 +0000 (16:51 +0000)]
Imported from Etherboot 5.4 tree

15 years agoSynced across updates from Etherboot 5.4 tree
Michael Brown [Thu, 19 May 2005 16:47:19 +0000 (16:47 +0000)]
Synced across updates from Etherboot 5.4 tree

15 years agoAdded FSP
Michael Brown [Thu, 19 May 2005 16:10:52 +0000 (16:10 +0000)]
Added FSP

15 years agoVersion increased to 5.5.0
Michael Brown [Thu, 19 May 2005 16:07:13 +0000 (16:07 +0000)]
Version increased to 5.5.0

15 years agoDoxygenation
Michael Brown [Thu, 19 May 2005 15:35:47 +0000 (15:35 +0000)]
Doxygenation

15 years agoDoxygenation
Michael Brown [Thu, 19 May 2005 14:51:37 +0000 (14:51 +0000)]
Doxygenation

15 years agoerrno.h now required in order to compile.
Michael Brown [Thu, 19 May 2005 14:49:56 +0000 (14:49 +0000)]
errno.h now required in order to compile.

15 years agoAdd a const to avoid a warning
Michael Brown [Thu, 19 May 2005 13:02:38 +0000 (13:02 +0000)]
Add a const to avoid a warning

15 years agoAdd image formats (didn't check in properly to gpxe for some reason)
Michael Brown [Thu, 19 May 2005 12:58:23 +0000 (12:58 +0000)]
Add image formats (didn't check in properly to gpxe for some reason)

15 years agoDoxygenated
Michael Brown [Thu, 19 May 2005 12:53:59 +0000 (12:53 +0000)]
Doxygenated

15 years agoMore documentation
Michael Brown [Thu, 19 May 2005 11:54:41 +0000 (11:54 +0000)]
More documentation

15 years agoload_buffer is now handled via load_buffer.h
Michael Brown [Thu, 19 May 2005 00:19:07 +0000 (00:19 +0000)]
load_buffer is now handled via load_buffer.h

15 years agoAdded preliminary doxygen documentation
Michael Brown [Thu, 19 May 2005 00:17:48 +0000 (00:17 +0000)]
Added preliminary doxygen documentation

15 years agoMore doxygen docs
Michael Brown [Wed, 18 May 2005 15:28:33 +0000 (15:28 +0000)]
More doxygen docs

15 years agoAdd include directories as source dirs
Michael Brown [Wed, 18 May 2005 15:24:35 +0000 (15:24 +0000)]
Add include directories as source dirs

15 years agoOnly produce documentation where documentation actually exists.
Michael Brown [Wed, 18 May 2005 15:07:19 +0000 (15:07 +0000)]
Only produce documentation where documentation actually exists.

15 years ago__attribute__ does not need to be treated as a variadic macro, since
Michael Brown [Wed, 18 May 2005 15:02:23 +0000 (15:02 +0000)]
__attribute__ does not need to be treated as a variadic macro, since
it is always used as __attribute__((...)).  Since variadic macros seem
to confuse poor doxygen, change it to a single-valued macro.

15 years agoAdd doxygen documentation
Michael Brown [Wed, 18 May 2005 14:44:38 +0000 (14:44 +0000)]
Add doxygen documentation

15 years agoDocument %m
Michael Brown [Wed, 18 May 2005 14:44:05 +0000 (14:44 +0000)]
Document %m

15 years agoLinker symbols no longer defined in etherboot.h
Michael Brown [Wed, 18 May 2005 14:43:27 +0000 (14:43 +0000)]
Linker symbols no longer defined in etherboot.h
Use %m to print error

15 years agodoxygen docs go in bin/doc
Michael Brown [Wed, 18 May 2005 14:43:02 +0000 (14:43 +0000)]
doxygen docs go in bin/doc

15 years agoHide __attribute__ from doxygen
Michael Brown [Wed, 18 May 2005 14:42:02 +0000 (14:42 +0000)]
Hide __attribute__ from doxygen

15 years agoAdd EBADIMG, EIMGRET, ETIMEDOUT and EINVAL
Michael Brown [Wed, 18 May 2005 14:41:53 +0000 (14:41 +0000)]
Add EBADIMG, EIMGRET, ETIMEDOUT and EINVAL

15 years agodoxygen.cfg also references ARCH
Michael Brown [Wed, 18 May 2005 14:39:31 +0000 (14:39 +0000)]
doxygen.cfg also references ARCH

15 years agoWorking to produce reasonably pretty code
Michael Brown [Wed, 18 May 2005 14:38:26 +0000 (14:38 +0000)]
Working to produce reasonably pretty code

15 years agodoxygen doesn't allow us to do the --include compiler.h trick...
Michael Brown [Wed, 18 May 2005 14:26:35 +0000 (14:26 +0000)]
doxygen doesn't allow us to do the --include compiler.h trick...

15 years agoAdded doxygen comments and errno values.
Michael Brown [Wed, 18 May 2005 13:22:45 +0000 (13:22 +0000)]
Added doxygen comments and errno values.

15 years agoAdded rules to generate documentation using doxygen
Michael Brown [Wed, 18 May 2005 11:13:34 +0000 (11:13 +0000)]
Added rules to generate documentation using doxygen

15 years agoAdd DOXYGEN definition, comment out reference to not-yet-existent "image"
Michael Brown [Wed, 18 May 2005 11:12:17 +0000 (11:12 +0000)]
Add DOXYGEN definition, comment out reference to not-yet-existent "image"
directory.

15 years agoThere is no arch/i386/firmware/linuxbios directory
Michael Brown [Wed, 18 May 2005 11:11:57 +0000 (11:11 +0000)]
There is no arch/i386/firmware/linuxbios directory

15 years agoAll files in here are auto-generated
Michael Brown [Wed, 18 May 2005 10:52:25 +0000 (10:52 +0000)]
All files in here are auto-generated