| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [PXEXT] Add FILE_API_CHECK API function | H. Peter Anvin | 2008-03-26 | 1 | -0/+35 |
| | | | | | | Add FILE_API_CHECK to the PXEXT API so the NBP can query the availability and status of the API. | ||||
| * | [Settings] Remove assumption that all settings have DHCP tag values | Michael Brown | 2008-03-25 | 1 | -4/+4 |
| | | | | | | | | | | | | | Allow for settings to be described by something other than a DHCP option tag if desirable. Currently used only for the MAC address setting. Separate out fake DHCP packet creation code from dhcp.c to fakedhcp.c. Remove notion of settings from dhcppkt.c. Rationalise dhcp.c to use settings API only for final registration of the DHCP options, rather than using {store,fetch}_setting throughout. | ||||
| * | [DHCP] Fix up fake-packet creation as used by PXENV_GET_CACHED_INFO | Michael Brown | 2008-03-23 | 1 | -25/+34 |
| | | | | | | | | | | | | Add dedicated functions create_dhcpdiscover(), create_dhcpack() and create_proxydhcpack() for use by external code such as the PXE preboot code. Register ProxyDHCP options under the global scope "proxydhcp". Unregister previously-acquired DHCP and ProxyDHCP settings when DHCP succeeds. | ||||
| * | [Settings] Migrate DHCP and NVO code to the new settings API (untested) | Michael Brown | 2008-03-21 | 1 | -7/+8 |
| | | |||||
| * | [PXE] Work around a buffer-size bug in WinPE | Michael Brown | 2008-03-10 | 1 | -2/+12 |
| | | | | | | | | | | | | WinPE's pxeboot.n12 takes the BufferLimit returned by gPXE (indicating the size of gPXE's internal DHCP packet buffers) and erroneously passes it in as BufferSize (indicating the size of pxeboot.n12's DHCP packet buffer). If these don't match, then pxeboot.n12 ends up instructing gPXE to overwrite parts of its data segment. Change gPXE's internal DHCP packet buffers to be exactly sizeof(BOOTPLAYER_t) bytes to work around this problem. | ||||
| * | [PXEXT] Add PXENV_FILE_EXEC call to PXE extensions API. | Michael Brown | 2008-03-04 | 1 | -1/+39 |
| | | | | | | | | | This allows pxelinux to execute arbitrary gPXE commands. This is remarkably unsafe (not least because some of the commands will assume full ownership of memory and do nasty things like edit the e820 map underneath the calling pxelinux), but it does allow access to the "sanboot" command. | ||||
| * | Start restructuring pxe_tftp.c to cope with multicast (MTFTP) receives. | Michael Brown | 2008-02-02 | 1 | -147/+231 |
| | | |||||
| * | Add pxe_set_cached_filename() so that pxe_tftp.c can also update the | Michael Brown | 2008-01-22 | 1 | -12/+20 |
| | | | | | stored DHCP packets. | ||||
| * | Use XFER_INIT() macro. | Michael Brown | 2008-01-22 | 1 | -7/+1![]() |
| | | |||||
| * | Make seek information part of the xfer metadata, rather than an entirely | Michael Brown | 2008-01-08 | 1 | -1/+0![]() |
| | | | | | | | | separate xfer method. Add missing .alloc_iob entries to several xfer_interface_operations structures. | ||||
| * | Fix compiler warnings that appear only on OpenBSD. | Michael Brown | 2007-12-06 | 1 | -2/+2 |
| | | |||||
| * | Don't complain when callers provide too-short buffers for | Michael Brown | 2007-12-07 | 1 | -7/+6![]() |
| | | | | | PXENV_GET_CACHED_INFO. NTLDR does this. | ||||
| * | Provide individually cached constructed copies of DHCP packets via | Michael Brown | 2007-11-22 | 1 | -86/+109 |
| | | | | | | | 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. | ||||
| * | Do not fill in the BufferLimit field in struct | Michael Brown | 2007-11-22 | 1 | -3/+32 |
| | | | | | | 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. | ||||
| * | Add PXE FILE API. | Michael Brown | 2007-08-04 | 1 | -0/+191 |
| | | |||||
| * | Make read_user() non-blocking, and add select() call. | Michael Brown | 2007-08-04 | 1 | -15/+38 |
| | | |||||
| * | Centralise construction of the DHCP request and response packets. | Michael Brown | 2007-07-31 | 1 | -10/+8![]() |
| | | |||||
| * | Add per-file error identifiers | Michael Brown | 2007-07-24 | 2 | -0/+2 |
| | | |||||
| * | Separate the "is data ready" function of xfer_seek() into an | Michael Brown | 2007-07-08 | 1 | -0/+1 |
| | | | | | | xfer_window() function, which can return a scalar rather than a boolean. | ||||
| * | Kill off unused request() method in data-xfer interface. | Michael Brown | 2007-07-08 | 1 | -1/+0![]() |
| | | |||||
| * | Use net_device_operations structure and netdev_nullify() to allow for | Michael Brown | 2007-07-07 | 1 | -9/+17 |
| | | | | | | | | | | | | safe dropping of the netdev ref by the driver while other refs still exist. Add netdev_irq() method. Net device open()/close() methods should no longer enable or disable IRQs. Remove rx_quota; it wasn't used anywhere and added too much complexity to implementing correct interrupt-masking behaviour in pxe_undi.c. | ||||
| * | Allow recording of TX and RX errors to aid in end-user debugging. | Michael Brown | 2007-07-05 | 1 | -4/+4 |
| | | |||||
| * | !PXE and PXENV+ structures are in code segment, not data segment. | Michael Brown | 2007-07-04 | 1 | -3/+4 |
| | | |||||
| * | Add (untested) UNDI loader C-level implementation. | Michael Brown | 2007-07-04 | 2 | -74/+39![]() |
| | | |||||
| * | Separated out initialisation functions from startup/shutdown functions. | Michael Brown | 2007-07-04 | 1 | -26/+12![]() |
| | | |||||
| * | Move pxe_netdev and set_pxe_netdev to pxe_undi.c and remove | Michael Brown | 2007-07-03 | 2 | -182/+15![]() |
| | | | | | now-obsolete pxe.c. | ||||
| * | Implemented (untested) PXENV_START_UNDI. | Michael Brown | 2007-07-03 | 1 | -32/+41 |
| | | |||||
| * | Report our interface type as "gPXE" to avoid working around Etherboot | Michael Brown | 2007-07-03 | 1 | -1/+1 |
| | | | | | 5.4 bugs when driving ourselves via UNDI. | ||||
| * | Kill off PXENV_UNDI_FORCE_INTERRUPT support; we have no reason to | Michael Brown | 2007-07-03 | 1 | -7/+4![]() |
| | | | | | | suspect that we need it, and implementing it would require needlessly complicating the net device API. | ||||
| * | Reserve space for link-layer header in pxenv_undi_transmit() when not | Michael Brown | 2007-07-03 | 1 | -2/+10 |
| | | | | | handed a P_UNKNOWN packet. | ||||
| * | Add missing call to free_iob() in pxenv_undi_isr(). | Michael Brown | 2007-07-03 | 1 | -5/+6 |
| | | | | | Correct typo in pxenv_set_station_address(). | ||||
| * | Add trivial net device statistics (TX and RX packet count), reported | Michael Brown | 2007-07-03 | 1 | -8/+13 |
| | | | | | via UNDI API and also by ifstat command; may be useful for debugging. | ||||
| * | Place netdev_open()/netdev_close() calls in appropriate places. | Michael Brown | 2007-07-03 | 1 | -8/+24 |
| | | |||||
| * | Add mechanism for providing TX completion events. | Michael Brown | 2007-07-03 | 1 | -9/+43 |
| | | |||||
| * | Add untested support for UNDI transmit and receive. | Michael Brown | 2007-07-02 | 1 | -112/+107![]() |
| | | |||||
| * | Use a common base-memory packet buffer for DHCP construction (as used | Michael Brown | 2007-07-02 | 1 | -3/+3 |
| | | | | | by PXE and NBI) and UNDI packets (as used by undinet and UNDI). | ||||
| * | pxe_netdev now holds a reference to the network device. | Michael Brown | 2007-07-02 | 2 | -55/+41![]() |
| | | | | | | | | | | Use generic fields in struct device_description rather than assuming that the struct device * is contained within a pci_device or isapnp_device; this assumption is broken when using the undionly driver. Add PXENV_UNDI_SET_STATION_ADDRESS. | ||||
| * | Call shutdown() from pxenv_undi_shutdown(). Probably not totally | Michael Brown | 2007-07-02 | 1 | -0/+3 |
| | | | | | correct, but it's enough to get RIS working. | ||||
| * | Implement the two UNDI API calls used by RIS. | Michael Brown | 2007-06-30 | 1 | -42/+75 |
| | | |||||
| * | Implement the "overwrite TFTP filename" Microsoft RIS bug workaround. | Michael Brown | 2007-06-30 | 2 | -3/+23 |
| | | |||||
| * | Separate out pxe_start_nbp() from pxe_image.c into pxe_call.c | Michael Brown | 2007-06-30 | 1 | -11/+10![]() |
| | | | | | Implement PXENV_RESTART_TFTP. | ||||
| * | I really, really screwed up the semantics of BufferSize and BufferLimit. | Michael Brown | 2007-06-29 | 1 | -6/+7 |
| | | |||||
| * | Windows RIS now gets as far as downloading NTLDR. | Michael Brown | 2007-06-29 | 2 | -5/+14 |
| | | |||||
| * | Partial migration of UDP to data-xfer interface. (Will not link at | Michael Brown | 2007-06-20 | 1 | -30/+7![]() |
| | | | | | present; DHCP is broken). | ||||
| * | Updated TFTP and PXE UDP API code to use not-yet-implemented data-xfer | Michael Brown | 2007-06-11 | 2 | -91/+89![]() |
| | | | | | UDP API. | ||||
| * | Updated to use POSIX-style file I/O layer. | Michael Brown | 2007-05-18 | 1 | -298/+149![]() |
| | | |||||
| * | Include stdlib.h rather than malloc.h | Michael Brown | 2007-01-18 | 1 | -1/+1 |
| | | |||||
| * | Split DBG() statement containing two inet_ntoa() statements; they | Michael Brown | 2007-01-14 | 1 | -3/+3 |
| | | | | | return a static buffer. | ||||
| * | Dump buffer and packet information in PXENV_UDP_READ as well | Michael Brown | 2007-01-14 | 1 | -0/+7 |
| | | |||||
| * | Fill in BufferSize in PXENV_GET_CACHED_INFO | Michael Brown | 2007-01-14 | 1 | -0/+1 |
| | | |||||

