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).
il y a 19 ans
Michael Brown
8fcb6448bd
Moved pxe_errors.c to pxe/interface/
il y a 19 ans
Michael Brown
6bcd74b65c
Moved pxe_export.c to pxe.c, since the old pxe.c no longer exists.
il y a 19 ans
Michael Brown
a96759f9c8
Use "#var" rather than "@c var" for doxygen.
il y a 19 ans
Michael Brown
bf32da87f0
Doxygenation
il y a 19 ans
Michael Brown
8bc4551f5e
API docs to .h
il y a 19 ans
Michael Brown
2ddbac101e
Move API docs to buffer.h, implementation to buffer.c.
il y a 19 ans
Michael Brown
d0c9183903
Doxygenation
il y a 19 ans
Michael Brown
eff1cd867b
errno.h now required in order to compile.
il y a 19 ans
Michael Brown
e911a74724
More documentation
il y a 19 ans
Michael Brown
a2915ad06d
Added preliminary doxygen documentation
il y a 19 ans
Michael Brown
0e921cdd9e
More doxygen docs
il y a 19 ans
Michael Brown
d04b607eb9
Add doxygen documentation
il y a 19 ans
Michael Brown
127362581f
Document %m
il y a 19 ans
Michael Brown
307cf36fca
Linker symbols no longer defined in etherboot.h
Use %m to print error
il y a 19 ans
Michael Brown
ab07740755
First version
il y a 19 ans
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).
il y a 19 ans
Michael Brown
40c7b127aa
Added const to fill_buffer
il y a 19 ans
Michael Brown
022661283a
Load buffer is now handled by the autoload() function.
il y a 19 ans
Michael Brown
510de6cb8c
Restructured to allow per-object image formats
il y a 19 ans
Michael Brown
0571dcdb05
Added print_images() and autoload().
il y a 19 ans
Michael Brown
9968c9513e
Moved find_segment into elf_loader.c
il y a 19 ans
Michael Brown
3ce6504f14
Use shared symbols for heap_ptr and heap_end
il y a 19 ans
Michael Brown
6e8f29d3cb
Image formats moved into the new config system
il y a 19 ans
Michael Brown
5c8ea0b93a
Add realloc, since the load buffer code requires it.
il y a 19 ans
Michael Brown
59a1662978
Added debugging
il y a 19 ans
Michael Brown
42250e9b1a
Tidied up init_heap()
il y a 19 ans
Michael Brown
f0d048bf91
Added ASSERT() macro
il y a 19 ans
Michael Brown
eff4fa5a04
Merged the unaligned and aligned heap APIs and simplified the code.
il y a 19 ans
Michael Brown
a5a14dc05d
Use the global load_buffer, and the boot_image function.
il y a 19 ans
Michael Brown
73429d6da1
Make "struct buffer"s reusable between sessions.
il y a 19 ans
Michael Brown
58ee2c4b2e
First versions
il y a 19 ans
Michael Brown
0fe74493f4
Protocols now load data into a buffer; they don't execute it.
il y a 19 ans
Michael Brown
bab2924e89
Return -1 to indicate buffer overflow. Allow buffer fill level to be read
easily from struct buffer.
il y a 19 ans
Michael Brown
a89651f3bb
Added debugging
il y a 19 ans
Michael Brown
b2869ed6b8
Added explanatory comment.
il y a 19 ans
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.
il y a 19 ans
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.
il y a 19 ans
Michael Brown
462234f373
Make vga_font const to avoid warning about large symbol
il y a 19 ans
Michael Brown
a918abc036
Split TCP code out into proto/tcp.c
il y a 19 ans
Michael Brown
cc980d1c94
Moved DOWNLOAD_PROTO_XXX options to config.h
il y a 19 ans
Michael Brown
f9f1d2c84c
More URL parsing moved into url.c
il y a 19 ans
Michael Brown
d5bf9e71ea
http.h obsoleted (no content)
il y a 19 ans
Michael Brown
63482e4fe9
Made parse_url do more of the processing, to avoid duplicating parts of
nic.c in http.c
il y a 19 ans
Michael Brown
2227a711fd
umountall() handled by nfs.c's reset function
il y a 19 ans
Michael Brown
85d9eae44e
Moved protocols to proto/
il y a 19 ans
Michael Brown
e1d6f3a8ac
Add NMB_RESOLVER
il y a 19 ans
Michael Brown
552f33c663
Always request DNS server. DHCP handling will be generalised in future.
il y a 19 ans
Michael Brown
78cdb1da8b
DNS resolver rewritten, moved to proto/dns.c
il y a 19 ans
Michael Brown
d817e60d21
"dns_resolver" changed to "dns"
il y a 19 ans