Michael Brown
fd49648a35
Separated out the Etherboot-specific parts of the old pxe.h header.
20 роки тому
Michael Brown
b9c7468dea
Added PXENV+ and !PXE structures, and the loader API.
20 роки тому
Michael Brown
442ba12b9e
Finished documenting the UNDI API.
20 роки тому
Michael Brown
cd9742e054
Documented up to PXENV_UNDI_CLOSE
20 роки тому
Michael Brown
3503941582
Documented Preboot, TFTP and UDP data structures
20 роки тому
Michael Brown
eb40aac2b4
Documented PXENV_GET_CACHED_INFO structures
20 роки тому
Michael Brown
acb9d42cf8
Add UDP parameter structures
20 роки тому
Michael Brown
22b7f0ec74
Define PXE types in terms of other PXE types where possible
20 роки тому
Michael Brown
1e0a5d8b30
Worked out a sensible doxygen grouping
20 роки тому
Michael Brown
29733a153d
Added all API codes and basic prototypes.
20 роки тому
Michael Brown
8355ce8a32
Documented the basic PXE data types
20 роки тому
Michael Brown
a96759f9c8
Use "#var" rather than "@c var" for doxygen.
20 роки тому
Michael Brown
bf32da87f0
Doxygenation
20 роки тому
Michael Brown
7a4b45d3b0
Don't include etherboot.h; we get a circular dependency
20 роки тому
Michael Brown
a9fabe7546
Doxygenation
20 роки тому
Michael Brown
8bc4551f5e
API docs to .h
20 роки тому
Michael Brown
2ddbac101e
Move API docs to buffer.h, implementation to buffer.c.
20 роки тому
Michael Brown
c18ea5282c
Doxygenated
20 роки тому
Michael Brown
e911a74724
More documentation
20 роки тому
Michael Brown
a135024626
load_buffer is now handled via load_buffer.h
20 роки тому
Michael Brown
0e921cdd9e
More doxygen docs
20 роки тому
Michael Brown
484d6e7d24
__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.
20 роки тому
Michael Brown
75a90cb143
Hide __attribute__ from doxygen
20 роки тому
Michael Brown
0eb4d9973c
Add EBADIMG, EIMGRET, ETIMEDOUT and EINVAL
20 роки тому
Michael Brown
f888bd589d
doxygen doesn't allow us to do the --include compiler.h trick...
20 роки тому
Michael Brown
7f1901860d
Error numbers moved to errno.h
20 роки тому
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).
20 роки тому
Michael Brown
40c7b127aa
Added const to fill_buffer
20 роки тому
Michael Brown
9c832a6a69
First version
20 роки тому
Michael Brown
7205f0846c
Heap function prototypes moved to heap.h
20 роки тому
Michael Brown
0571dcdb05
Added print_images() and autoload().
20 роки тому
Michael Brown
3ce6504f14
Use shared symbols for heap_ptr and heap_end
20 роки тому
Michael Brown
3bbf5f28a3
Use __unused instead of __used for static data structures.
Remove compiler.h defines from osdep.h
20 роки тому
Michael Brown
c695c75b01
First version
20 роки тому
Michael Brown
5c8ea0b93a
Add realloc, since the load buffer code requires it.
20 роки тому
Michael Brown
f0d048bf91
Added ASSERT() macro
20 роки тому
Michael Brown
94d512b979
Added old allot/forget calls for backwards compatibility.
20 роки тому
Michael Brown
eff4fa5a04
Merged the unaligned and aligned heap APIs and simplified the code.
20 роки тому
Michael Brown
f649a4d0fd
Add INIT_LOADBUF
20 роки тому
Michael Brown
73429d6da1
Make "struct buffer"s reusable between sessions.
20 роки тому
Michael Brown
58ee2c4b2e
First versions
20 роки тому
Michael Brown
0fe74493f4
Protocols now load data into a buffer; they don't execute it.
20 роки тому
Michael Brown
bab2924e89
Return -1 to indicate buffer overflow. Allow buffer fill level to be read
easily from struct buffer.
20 роки тому
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.
20 роки тому
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.
20 роки тому
Michael Brown
68e90c75b6
Removed spurious semicolon
20 роки тому
Michael Brown
60b82eb5cd
Moved definition of __shared into compiler.h
20 роки тому
Michael Brown
734d2e9f2d
First version
20 роки тому
Michael Brown
a918abc036
Split TCP code out into proto/tcp.c
20 роки тому
Michael Brown
cc980d1c94
Moved DOWNLOAD_PROTO_XXX options to config.h
20 роки тому