people/lynusvaz/gpxe.git
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

15 years agoError numbers moved to errno.h
Michael Brown [Wed, 18 May 2005 09:55:38 +0000 (09:55 +0000)]
Error numbers moved to errno.h

15 years agoFirst version
Michael Brown [Tue, 17 May 2005 18:39:27 +0000 (18:39 +0000)]
First version

15 years agoAdded errno, strerror and the "%m" printf metacharacter. These will allow
Michael Brown [Tue, 17 May 2005 18:26:41 +0000 (18:26 +0000)]
Added errno, strerror and the "%m" printf metacharacter.  These will allow
us to return proper PXE status codes, while simultaneously allowing for
more consistent error reporting (complete with verbose error messages as a
build-time option).

15 years agoChanged to 5.5
Michael Brown [Tue, 17 May 2005 16:47:59 +0000 (16:47 +0000)]
Changed to 5.5

15 years agoImport from Etherboot 5.4
Michael Brown [Tue, 17 May 2005 16:44:57 +0000 (16:44 +0000)]
Import from Etherboot 5.4

15 years agoInitial revision
Michael Brown [Tue, 17 May 2005 16:44:57 +0000 (16:44 +0000)]
Initial revision

15 years agoQuickly hacked to use a buffer rather than a processor.
Michael Brown [Tue, 17 May 2005 14:49:46 +0000 (14:49 +0000)]
Quickly hacked to use a buffer rather than a processor.
These don't yet take advantage of the buffer functionality.

15 years agoUpdate to use buffer rather than processor
Michael Brown [Tue, 17 May 2005 14:35:20 +0000 (14:35 +0000)]
Update to use buffer rather than processor

15 years agoAdded const to fill_buffer
Michael Brown [Tue, 17 May 2005 14:34:46 +0000 (14:34 +0000)]
Added const to fill_buffer

15 years agoUpdated to use buffer rather than processor
Michael Brown [Tue, 17 May 2005 14:26:14 +0000 (14:26 +0000)]
Updated to use buffer rather than processor

15 years agoLoad buffer is now handled by the autoload() function.
Michael Brown [Tue, 17 May 2005 13:44:08 +0000 (13:44 +0000)]
Load buffer is now handled by the autoload() function.

15 years agoMoved NBI support to nbi.c, modified to work with new load mechanism
Michael Brown [Tue, 17 May 2005 13:42:20 +0000 (13:42 +0000)]
Moved NBI support to nbi.c, modified to work with new load mechanism

15 years agoFirst version
Michael Brown [Tue, 17 May 2005 13:41:00 +0000 (13:41 +0000)]
First version

15 years agoRestructured to allow per-object image formats
Michael Brown [Tue, 17 May 2005 13:40:31 +0000 (13:40 +0000)]
Restructured to allow per-object image formats

15 years agoHeap function prototypes moved to heap.h
Michael Brown [Tue, 17 May 2005 13:39:27 +0000 (13:39 +0000)]
Heap function prototypes moved to heap.h

15 years agoAdd twiddle() so that progress is visible.
Michael Brown [Tue, 17 May 2005 13:39:00 +0000 (13:39 +0000)]
Add twiddle() so that progress is visible.

15 years agoAdded print_images() and autoload().
Michael Brown [Tue, 17 May 2005 13:38:24 +0000 (13:38 +0000)]
Added print_images() and autoload().

15 years agoMoved find_segment into elf_loader.c
Michael Brown [Tue, 17 May 2005 13:37:29 +0000 (13:37 +0000)]
Moved find_segment into elf_loader.c

15 years agoMoved os_regs into start32.S
Michael Brown [Tue, 17 May 2005 13:37:01 +0000 (13:37 +0000)]
Moved os_regs into start32.S

15 years agoAdded debug messages
Michael Brown [Tue, 17 May 2005 13:36:12 +0000 (13:36 +0000)]
Added debug messages

15 years agoUse shared symbols for heap_ptr and heap_end
Michael Brown [Tue, 17 May 2005 13:35:43 +0000 (13:35 +0000)]
Use shared symbols for heap_ptr and heap_end

15 years agoAdded copy_phys_to_phys
Michael Brown [Tue, 17 May 2005 13:34:57 +0000 (13:34 +0000)]
Added copy_phys_to_phys

15 years agoAdded "image" directory
Michael Brown [Tue, 17 May 2005 13:34:25 +0000 (13:34 +0000)]
Added "image" directory

15 years agoImage formats moved into the new config system
Michael Brown [Tue, 17 May 2005 13:33:49 +0000 (13:33 +0000)]
Image formats moved into the new config system

15 years agoUse __unused instead of __used for static data structures.
Michael Brown [Tue, 17 May 2005 12:16:28 +0000 (12:16 +0000)]
Use __unused instead of __used for static data structures.
Remove compiler.h defines from osdep.h

15 years agoUse the heap functions to allocate a load buffer.
Michael Brown [Fri, 13 May 2005 13:30:51 +0000 (13:30 +0000)]
Use the heap functions to allocate a load buffer.

15 years agoFirst version
Michael Brown [Fri, 13 May 2005 13:29:15 +0000 (13:29 +0000)]
First version

15 years agoAdd realloc, since the load buffer code requires it.
Michael Brown [Fri, 13 May 2005 13:20:16 +0000 (13:20 +0000)]
Add realloc, since the load buffer code requires it.

15 years agoAdded debugging
Michael Brown [Fri, 13 May 2005 11:24:02 +0000 (11:24 +0000)]
Added debugging

15 years agoTidied up init_heap()
Michael Brown [Fri, 13 May 2005 11:16:14 +0000 (11:16 +0000)]
Tidied up init_heap()

15 years agoAdded ASSERT() macro
Michael Brown [Fri, 13 May 2005 10:18:21 +0000 (10:18 +0000)]
Added ASSERT() macro

15 years agoAdded old allot/forget calls for backwards compatibility.
Michael Brown [Thu, 12 May 2005 16:38:07 +0000 (16:38 +0000)]
Added old allot/forget calls for backwards compatibility.

15 years agoMerged the unaligned and aligned heap APIs and simplified the code.
Michael Brown [Thu, 12 May 2005 16:34:57 +0000 (16:34 +0000)]
Merged the unaligned and aligned heap APIs and simplified the code.

15 years agoUse the global load_buffer, and the boot_image function.
Michael Brown [Mon, 9 May 2005 18:10:04 +0000 (18:10 +0000)]
Use the global load_buffer, and the boot_image function.

15 years agoAdd INIT_LOADBUF
Michael Brown [Mon, 9 May 2005 18:04:20 +0000 (18:04 +0000)]
Add INIT_LOADBUF

15 years agoMake "struct buffer"s reusable between sessions.
Michael Brown [Mon, 9 May 2005 18:03:44 +0000 (18:03 +0000)]
Make "struct buffer"s reusable between sessions.

15 years agoInclude string.h, because we need to define copy_{to,from}_phys
Michael Brown [Mon, 9 May 2005 18:03:14 +0000 (18:03 +0000)]
Include string.h, because we need to define copy_{to,from}_phys

15 years agoFirst version
Michael Brown [Mon, 9 May 2005 18:02:22 +0000 (18:02 +0000)]
First version

15 years agoFirst versions
Michael Brown [Mon, 9 May 2005 18:01:50 +0000 (18:01 +0000)]
First versions

15 years agoProtocols now load data into a buffer; they don't execute it.
Michael Brown [Mon, 9 May 2005 14:27:29 +0000 (14:27 +0000)]
Protocols now load data into a buffer; they don't execute it.

15 years agooff_t should be signed.
Michael Brown [Mon, 9 May 2005 14:26:25 +0000 (14:26 +0000)]
off_t should be signed.

15 years agoReturn -1 to indicate buffer overflow. Allow buffer fill level to be read
Michael Brown [Mon, 9 May 2005 14:26:10 +0000 (14:26 +0000)]
Return -1 to indicate buffer overflow.  Allow buffer fill level to be read
easily from struct buffer.

15 years agoAdded debugging
Michael Brown [Mon, 9 May 2005 13:47:04 +0000 (13:47 +0000)]
Added debugging

15 years agoAdded explanatory comment.
Michael Brown [Mon, 9 May 2005 13:25:43 +0000 (13:25 +0000)]
Added explanatory comment.

15 years agoModified to use physical addresses, and to not assume that we can directly
Michael Brown [Mon, 9 May 2005 13:24:01 +0000 (13:24 +0000)]
Modified to use physical addresses, and to not assume that we can directly
refer to data outside of our data or stack segments.

15 years agoAdd off_t and physaddr_t, and the copy_{to,from}_phys helper routines.
Michael Brown [Mon, 9 May 2005 13:21:56 +0000 (13:21 +0000)]
Add off_t and physaddr_t, and the copy_{to,from}_phys helper routines.

15 years agoAdd memcpy
Michael Brown [Mon, 9 May 2005 12:48:00 +0000 (12:48 +0000)]
Add memcpy

15 years agoStart of an implementation using doubly-linked lists and virtual
Michael Brown [Mon, 9 May 2005 10:11:11 +0000 (10:11 +0000)]
Start of an implementation using doubly-linked lists and virtual
addresses.  This will have to be reworked to use physical addresses thanks
to the PXE spec.

15 years agoMake vga_font const to avoid warning about large symbol
Michael Brown [Tue, 3 May 2005 13:17:08 +0000 (13:17 +0000)]
Make vga_font const to avoid warning about large symbol

15 years agoMake PCI ID tables const so as not to trigger a warning about a large
Michael Brown [Tue, 3 May 2005 12:36:06 +0000 (12:36 +0000)]
Make PCI ID tables const so as not to trigger a warning about a large
symbol.

15 years agoAllow read-only symbols to be large
Michael Brown [Tue, 3 May 2005 12:34:52 +0000 (12:34 +0000)]
Allow read-only symbols to be large

15 years agoMove tulip_private structure into shared data.
Michael Brown [Tue, 3 May 2005 12:29:32 +0000 (12:29 +0000)]
Move tulip_private structure into shared data.

15 years agoReduce large symbol warning threshold, now that most of the really
Michael Brown [Tue, 3 May 2005 12:24:52 +0000 (12:24 +0000)]
Reduce large symbol warning threshold, now that most of the really
large symbols have been fixed.

15 years agoD'oh
Michael Brown [Tue, 3 May 2005 12:18:31 +0000 (12:18 +0000)]
D'oh

15 years agoUse __shared
Michael Brown [Tue, 3 May 2005 12:16:49 +0000 (12:16 +0000)]
Use __shared

15 years agoAdded example of how to use __shared.
Michael Brown [Tue, 3 May 2005 12:14:29 +0000 (12:14 +0000)]
Added example of how to use __shared.
Moved transmit before poll, since typically transmit will be implemented first.

15 years ago#if 0 out the whole file for now; it cannot be linked because the base
Michael Brown [Tue, 3 May 2005 11:56:33 +0000 (11:56 +0000)]
#if 0 out the whole file for now; it cannot be linked because the base
 memory interface has changed.

15 years agoRe-add the "etherboot.%" all-drivers image.
Michael Brown [Tue, 3 May 2005 11:51:19 +0000 (11:51 +0000)]
Re-add the "etherboot.%" all-drivers image.

15 years agoSymbol fixups
Michael Brown [Tue, 3 May 2005 11:29:33 +0000 (11:29 +0000)]
Symbol fixups

15 years agoArbitrary alignment is now available.
Michael Brown [Tue, 3 May 2005 09:56:57 +0000 (09:56 +0000)]
Arbitrary alignment is now available.
Use shared symbols.
Correct other symbol violations.

15 years agoRemoved spurious semicolon
Michael Brown [Tue, 3 May 2005 09:02:24 +0000 (09:02 +0000)]
Removed spurious semicolon

15 years agoUse shared symbols
Michael Brown [Mon, 2 May 2005 17:45:24 +0000 (17:45 +0000)]
Use shared symbols

15 years agoUse shared symbols to save space
Michael Brown [Mon, 2 May 2005 16:35:44 +0000 (16:35 +0000)]
Use shared symbols to save space

15 years agoMoved definition of __shared into compiler.h
Michael Brown [Mon, 2 May 2005 16:21:52 +0000 (16:21 +0000)]
Moved definition of __shared into compiler.h

15 years agoCorrect symbol violations reported by "make symcheck"
Michael Brown [Mon, 2 May 2005 15:22:32 +0000 (15:22 +0000)]
Correct symbol violations reported by "make symcheck"

15 years agoReport on misuses of shared symbols, and excessively large static symbols.
Michael Brown [Mon, 2 May 2005 15:21:12 +0000 (15:21 +0000)]
Report on misuses of shared symbols, and excessively large static symbols.

15 years agoFirst version
Michael Brown [Mon, 2 May 2005 14:43:15 +0000 (14:43 +0000)]
First version

15 years agoTweaked to read more information (including symbol size) from blib.a
Michael Brown [Mon, 2 May 2005 13:49:54 +0000 (13:49 +0000)]
Tweaked to read more information (including symbol size) from blib.a

15 years agoAdd DOWNLOAD_PROTO_XXX options.
Michael Brown [Mon, 2 May 2005 12:45:23 +0000 (12:45 +0000)]
Add DOWNLOAD_PROTO_XXX options.