Michael Brown
6b0e147e0d
Don't complain when callers provide too-short buffers for
PXENV_GET_CACHED_INFO. NTLDR does this.
17 lat temu
Michael Brown
838ecba131
Provide individually cached constructed copies of DHCP packets via
PXENV_GET_CACHED_INFO. If we dont do this, Altiris' NBP screws up; it
relies on being able to grab pointers to each of the three packets and
then read them at will later.
17 lat temu
Michael Brown
3a2473f123
Do not fill in the BufferLimit field in struct
s_PXENV_GET_CACHED_INFO, because this field doesn't exist in earlier
versions of the PXE spec, and some callers don't allocate space for it.
17 lat temu
Michael Brown
5e26df0325
Centralise construction of the DHCP request and response packets.
18 lat temu
Michael Brown
dca470cb21
Add (untested) UNDI loader C-level implementation.
18 lat temu
Michael Brown
89349d7fad
Separated out initialisation functions from startup/shutdown functions.
18 lat temu
Michael Brown
0924cf678e
Implemented (untested) PXENV_START_UNDI.
18 lat temu
Michael Brown
e42eba4af4
Use a common base-memory packet buffer for DHCP construction (as used
by PXE and NBI) and UNDI packets (as used by undinet and UNDI).
18 lat temu
Michael Brown
d05d8edd42
Implement the "overwrite TFTP filename" Microsoft RIS bug workaround.
18 lat temu
Michael Brown
8130443f9f
Separate out pxe_start_nbp() from pxe_image.c into pxe_call.c
Implement PXENV_RESTART_TFTP.
18 lat temu
Michael Brown
9125070f51
I really, really screwed up the semantics of BufferSize and BufferLimit.
18 lat temu
Michael Brown
40d6d3dcf4
Windows RIS now gets as far as downloading NTLDR.
18 lat temu
Michael Brown
5ff23aa406
Include stdlib.h rather than malloc.h
18 lat temu
Michael Brown
6dcb182aee
Fill in BufferSize in PXENV_GET_CACHED_INFO
18 lat temu
Michael Brown
f018da8215
Implement enough of PXENV_GET_CACHED_INFO to support pxelinux.
19 lat temu
Michael Brown
71754ada2a
Allow linking by converting functions to stubs
19 lat temu
Michael Brown
a0a872f7f1
Updated PXE UDP implementation to use the new Etherboot UDP API.
Updated PXE API dispatcher to use copy_{to,from}_user, and moved to
arch/i386 since the implementation is quite architecture-dependent.
(The individual PXE API calls can be largely
architecture-independent.)
19 lat temu
Michael Brown
0e494614b5
Some versions of doxygen seem to object to "@ret None" or similar.
20 lat temu
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).
20 lat temu