summaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
* [Settings] Add per-netdevice settings blockMichael Brown2008-03-204-1/+17
| | | | | | | | | Add a configuration settings block for each net device. This will provide the parent scope for settings applicable only to that network device (e.g. non-volatile options stored on the NIC, options obtained via DHCP, etc.). Expose the MAC address as a setting.
* [Settings] Add settings hierarchyMichael Brown2008-03-201-46/+85
| | | | | | | | Add the notion of the settings hierarchy, complete with register/unregister routines. Rename set->store and get->fetch to avoid naming conflicts with get/put as used in reference counting.
* [Settings] Start revamping the configuration settings API.Michael Brown2008-03-202-82/+124
| | | | | | | | | | | | | | | | Add the concept of an abstract configuration setting, comprising a (DHCP) tag value and an associated byte sequence. Add the concept of a settings namespace. Add functions for extracting string, IPv4 address, and signed and unsigned integer values from configuration settings (analogous to dhcp_snprintf(), dhcp_ipv4_option(), etc.). Update functions for parsing and formatting named/typed options to work with new settings API. Update NVO commands and config UI to use new settings API.
* [Timers] Initialise timers on first useMichael Brown2008-03-181-0/+1
| | | | | | | Timers are sometimes required before the call to initialise(), so we cannot rely on initialise() to set up the timers before use. Also fix a potential integer overflow issue in generic_currticks_udelay()
* [Timers] Miscellaneous timer system fixesMichael Brown2008-03-182-21/+22
| | | | | | | | | Add missing comments to timer code. Lock system if no suitable timer source is found. Fix initialisation order so that timers are initialised before code that needs to use them.
* [Settings] show_setting() functions return snprintf()-style length.Michael Brown2008-03-181-2/+2
| | | | | | show_setting() and related functions now return an "actual length" in the style of snprintf(). This is to allow consumers to allocate buffers large enough to hold the formatted setting.
* Merge branch 'xl0-timer'Michael Brown2008-03-106-65/+40Star
|\
| * Modify gPXE core and drivers to work with the new timer subsystemAlexey Zaytsev2008-03-024-30/+1Star
| | | | | | | | Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
| * Introduce the new timer subsystem.Alexey Zaytsev2008-03-023-53/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Timer subsystem initialization code in core/timer.c Split the BIOS and RTDSC timer drivers from i386_timer.c Split arch/i386/firmware/pcbios/bios.c into the RTSDC timer driver and arch/i386/core/nap.c Split the headers properly: include/unistd.h - delay functions to be used by the gPXE core and drivers. include/gpxe/timer.h - the fimer subsystem interface to be used by the timer drivers and currticks() to be used by the code gPXE subsystems. include/latch.h - removed include/timer.h - scheduled for removal. Some driver are using currticks, which is only for core subsystems. Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
* | [PXEXT] Add PXENV_FILE_EXEC call to PXE extensions API.Michael Brown2008-03-042-0/+23
| | | | | | | | | | | | | | | | 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.
* | [Command] Add "sanboot" command.Michael Brown2008-03-041-0/+1
|/
* [Infiniband] Add preliminary support for multi-port devices.Michael Brown2008-02-271-14/+124
| | | | | | | | | | Arbel and Hermon cards both have multiple ports. Add the infrastructure required to register each port as a separate IB device. Don't yet register more than one port, since registration will currently fail unless a valid link is detected. Use ib_*_{set,get}_{drv,owner}data wrappers to access driver- and owner-private data on Infiniband structures.
* [Infiniband] Centralise MAD operationsMichael Brown2008-02-261-7/+70
| | | | | | | | | Pull out common code for handling management datagrams from arbel.c and hermon.c into infiniband.c. Add port number to struct ib_device. Add open(), close() and mad() methods to struct ib_device_operations.
* [Hermon] Add driver for Mellanox Hermon (ConnectX) cards.Michael Brown2008-02-231-0/+1
|
* Add DBGLVL_IO to trace all memory-mapped I/O.Michael Brown2008-02-211-0/+11
|
* Merge commit 'laptop/master'Michael Brown2008-01-221-0/+2
|\
| * Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxeMichael Brown2008-01-223-24/+25
| |\
| * | Add preliminary support for MTFTP.Michael Brown2007-12-261-0/+2
| | |
* | | Add pxe_set_cached_filename() so that pxe_tftp.c can also update theMichael Brown2008-01-221-0/+2
| | | | | | | | | | | | stored DHCP packets.
* | | Add XFER_INIT() macro.Michael Brown2008-01-221-0/+13
| |/ |/|
* | Make seek information part of the xfer metadata, rather than an entirelyMichael Brown2008-01-082-24/+16Star
| | | | | | | | | | | | | | separate xfer method. Add missing .alloc_iob entries to several xfer_interface_operations structures.
* | Added the embedded pxelinux payload patch from hpa.Michael Brown2008-01-081-0/+9
|/
* Kill off the now-obsolete *_fill_nic() functions.Michael Brown2007-12-151-31/+0Star
|
* Add RFC2090 TFTP multicast support.Michael Brown2007-11-282-0/+84
|
* Allow DHCP server to instruct gPXE to ignore ProxyDHCP (which willMichael Brown2007-11-211-1/+8
| | | | | | also avoid waiting for ProxyDHCP offers). Also reduce the ProxyDHCP timeout, because it's already irritating me.
* Add ProxyDHCP support.Michael Brown2007-11-211-1/+5
|
* Merge commit 'origin/mdc-working'Michael Brown2007-11-211-1/+2
|\
| * Add errfile definition for new e1000.cMarty Connor2007-11-181-2/+1Star
| |
| * Add ERRFILE information for e1000_main and e1000_hw, part of the new e1000 ↵Marty Connor2007-11-181-0/+2
| | | | | | | | | | | | driver It is likely we will rename e1000_main to e1000 when the new e1000 driver is debugged.
* | Remove some assumptions about DHCP obtaining only a single options block.Michael Brown2007-11-211-0/+2
| |
* | Add PXE-required DHCP options to DHCPDISCOVER and DHCPREQUEST packets.Michael Brown2007-11-211-0/+6
| |
* | Add UUID to DHCP request as option 97 (if available).Michael Brown2007-11-212-0/+6
| |
* | Added definition of a UUID and uuid_ntoa() (for debugging), andMichael Brown2007-11-211-0/+31
|/ | | | implemented smbios_get_uuid().
* Merge branch 'master' into 3leaf-deliveryMichael Brown2007-09-211-0/+11
|\
| * Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxeMichael Brown2007-09-211-0/+11
| |\
| | * Added netdev_priv() to ease Linux driver compatibility.Michael Brown2007-09-131-0/+11
| | |
| * | Infinband requires longer link-layer addresses and headers than Ethernet.Michael Brown2007-09-211-2/+2
| | |
| * | Added defines for Infiniband files (which can't be committed to theMichael Brown2007-09-211-0/+3
| | | | | | | | | | | | main tree yet, but reserving the error numbers now avoids problems later).
| * | Use RFC4390 whenever hardware address exceeds 16 bytes; this allows usMichael Brown2007-09-211-0/+7
| | | | | | | | | | | | to construct DHCP packets suitable for Infiniband.
| * | Add fls() for non-constant values.Michael Brown2007-09-211-5/+1Star
| | |
| * | Moved iobuf.h assertions outside the static inline functions, so thatMichael Brown2007-09-212-4/+42
| |/ | | | | | | | | | | | | the assert message's file and line number gives some clue as to the real location of the problem. Added similar assertions to list.h.
* | IB can't afford many RX buffers, because the MTU is so large. ReduceMichael Brown2007-09-181-1/+2
| | | | | | | | the TCP window to compensate.
* | Added arbel.cMichael Brown2007-09-181-1/+1
| |
* | Moved iobuf.h assertions outside the static inline functions, so thatMichael Brown2007-09-172-4/+42
| | | | | | | | | | | | | | the assert message's file and line number gives some clue as to the real location of the problem. Added similar assertions to list.h.
* | Some interesting packet corruption happening now.Michael Brown2007-09-171-3/+7
| |
* | Broadcast GID is now calculated by IPoIB layer.Michael Brown2007-09-171-2/+23
| |
* | Unicasts seem to be working. :)Michael Brown2007-09-171-5/+11
| |
* | Obtains a response to the get path record!Michael Brown2007-09-171-1/+62
| |
* | Use pkey table access to determine broadcast GID directly.Michael Brown2007-09-171-0/+8
| |
* | Dead code removalMichael Brown2007-09-171-63/+0Star
| |