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