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