Michael Brown
d24042f0bb
Update now that if_ether.h has moved.
18 anni fa
Michael Brown
49f933fbc3
Moved if_ether.h and if_arp.h to include/gpxe, for consistency with Linux
kernel.
Removed obsolete struct arprequest from if_arp.h and put it in nic.c so
that nic.c will still compile. ARP will very shortly be handled by
net/arp.c instead.
18 anni fa
Michael Brown
af23ff8a24
Assertions are now handled via the POSIX-like <assert.h>.
18 anni fa
Michael Brown
df9cbc23cc
Added documentation and ASSERT() statements.
19 anni fa
Michael Brown
33dbdda28e
Allow data blocks to be less than sizeof ( struct buffer_free_block ) in
size. (The restriction on the size of free blocks remains.)
19 anni fa
Michael Brown
cbed5ed9ad
Always include code for sending multicast packets.
19 anni fa
Michael Brown
be7897523d
IGMP protocol now uses the generic background protocol mechanism.
19 anni fa
Michael Brown
85a380530d
Add generic mechanism for background protocols (e.g. ARP, IGMP)
19 anni fa
Geert Stappers
5265975334
patch of Helge Wagner
19 anni fa
Michael Brown
0e494614b5
Some versions of doxygen seem to object to "@ret None" or similar.
19 anni fa
Michael Brown
809933d9f7
Split PXE code into preboot, udp, tftp, undi and loader units.
PXE code now compiles without errors (though it won't actually work).
19 anni fa
Michael Brown
8fcb6448bd
Moved pxe_errors.c to pxe/interface/
19 anni fa
Michael Brown
6bcd74b65c
Moved pxe_export.c to pxe.c, since the old pxe.c no longer exists.
19 anni fa
Michael Brown
a96759f9c8
Use "#var" rather than "@c var" for doxygen.
19 anni fa
Michael Brown
bf32da87f0
Doxygenation
19 anni fa
Michael Brown
8bc4551f5e
API docs to .h
19 anni fa
Michael Brown
2ddbac101e
Move API docs to buffer.h, implementation to buffer.c.
19 anni fa
Michael Brown
d0c9183903
Doxygenation
19 anni fa
Michael Brown
eff1cd867b
errno.h now required in order to compile.
19 anni fa
Michael Brown
e911a74724
More documentation
19 anni fa
Michael Brown
a2915ad06d
Added preliminary doxygen documentation
19 anni fa
Michael Brown
0e921cdd9e
More doxygen docs
19 anni fa
Michael Brown
d04b607eb9
Add doxygen documentation
19 anni fa
Michael Brown
127362581f
Document %m
19 anni fa
Michael Brown
307cf36fca
Linker symbols no longer defined in etherboot.h
Use %m to print error
19 anni fa
Michael Brown
ab07740755
First version
19 anni fa
Michael Brown
ff9104e029
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).
19 anni fa
Michael Brown
40c7b127aa
Added const to fill_buffer
19 anni fa
Michael Brown
022661283a
Load buffer is now handled by the autoload() function.
19 anni fa
Michael Brown
510de6cb8c
Restructured to allow per-object image formats
19 anni fa
Michael Brown
0571dcdb05
Added print_images() and autoload().
19 anni fa
Michael Brown
9968c9513e
Moved find_segment into elf_loader.c
19 anni fa
Michael Brown
3ce6504f14
Use shared symbols for heap_ptr and heap_end
19 anni fa
Michael Brown
6e8f29d3cb
Image formats moved into the new config system
19 anni fa
Michael Brown
5c8ea0b93a
Add realloc, since the load buffer code requires it.
19 anni fa
Michael Brown
59a1662978
Added debugging
19 anni fa
Michael Brown
42250e9b1a
Tidied up init_heap()
19 anni fa
Michael Brown
f0d048bf91
Added ASSERT() macro
19 anni fa
Michael Brown
eff4fa5a04
Merged the unaligned and aligned heap APIs and simplified the code.
19 anni fa
Michael Brown
a5a14dc05d
Use the global load_buffer, and the boot_image function.
19 anni fa
Michael Brown
73429d6da1
Make "struct buffer"s reusable between sessions.
19 anni fa
Michael Brown
58ee2c4b2e
First versions
19 anni fa
Michael Brown
0fe74493f4
Protocols now load data into a buffer; they don't execute it.
19 anni fa
Michael Brown
bab2924e89
Return -1 to indicate buffer overflow. Allow buffer fill level to be read
easily from struct buffer.
19 anni fa
Michael Brown
a89651f3bb
Added debugging
19 anni fa
Michael Brown
b2869ed6b8
Added explanatory comment.
19 anni fa
Michael Brown
e75b7480d0
Modified to use physical addresses, and to not assume that we can directly
refer to data outside of our data or stack segments.
19 anni fa
Michael Brown
ef05a27f25
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.
19 anni fa
Michael Brown
462234f373
Make vga_font const to avoid warning about large symbol
19 anni fa
Michael Brown
a918abc036
Split TCP code out into proto/tcp.c
19 anni fa