summaryrefslogtreecommitdiffstats
path: root/src/hci
Commit message (Collapse)AuthorAgeFilesLines
* [cmdline] Minor tidy-ups to shell_banner.cMichael Brown2008-07-241-4/+4
|
* [cmdline] Added configurable shell banner timeoutAndrew Schran2008-07-241-5/+6
| | | | | | This change allows the time for which shell banners are displayed to be configured in the config.h file. The ability to access the shell can also be effectively disabled by setting this timeout to zero.
* [image] Fail "imgexec"/"boot" if the image to execute is ambiguousMichael Brown2008-07-081-1/+1
| | | | | | | | | | | | | | | If there is more than one loaded image, refuse to automatically select the image to execute. There are at least two possible cases, with different "correct" answers: 1. User loads image A by mistake, then loads image B and types "boot". User wants to execute image B. 2. User loads image A, then loads image B (which patches image A), then types "boot". User wants to execute image A. If a user actually wants to load multiple images, they must explicitly specify which image is to be executed.
* [settings] Allow "config" command to access root settings blockMichael Brown2008-07-081-7/+7
|
* [bzimage] Kill off the initrd image typeMichael Brown2008-07-081-22/+4Star
| | | | | | | We can just treat all non-kernel images as initrds, which matches our behaviour for multiboot kernels. This allows us to eliminate initrd as an image type, and treat the "initrd" command as just another synonym for "imgfetch".
* [GDB] Remote debugging over UDPStefan Hajnoczi2008-06-301-0/+105
| | | | | | | | | | | | | | | | | This commit implements GDB over UDP. Using UDP is more complex than serial and has required some restructuring. The GDB stub is now built using one or both of GDBSERIAL and GDBUDP config.h options. To enter the debugger, execute the gPXE shell command: gdbstub <transport> [<options>...] Where <transport> is "serial" or "udp". For "udp", the name of a configured network device is required: gdbstub udp net0 The GDB stub listens on UDP port 43770 by default.
* [cmdline] Fix image command-line construction for zero-length argument listsMichael Brown2008-06-271-5/+8
| | | | This fixes a bug introduced in commit 4c85017.
* [cmdline] Remove arbitrary limit on the length of image command linesMichael Brown2008-06-121-8/+17
|
* [iSCSI] Produce meaningful errors on login failureMichael Brown2008-06-041-7/+10
| | | | | | | | Return the most appropriate of EACCES, EPERM, ENODEV, ENOTSUP, EIO or EINVAL depending on the exact error returned by the target, rather than just always returning EPERM. Also, ensure that error strings exist for these errors.
* [HCI] Display "Not an executable image" when appropriateMichael Brown2008-04-081-0/+1
| | | | | | | | | | | | | PXE is a catch-all image format with no signature checks. If an unsupported image file is loaded, it will be treated as a PXE image. In most cases, the image will be too large to be loaded as a PXE image (which has to fit in base memory), so the error returned to the user will be that the segment could not fit within the memory region. Add an explicit check to pxe_image.c to reject images larger than base memory with ENOEXEC. Add ENOEXEC to the error string table.
* [usr] Offer user a second chance to enter the shell on boot failureMichael Brown2008-03-271-18/+1Star
|
* [Settings] Remove assumption that all settings have DHCP tag valuesMichael Brown2008-03-252-19/+18Star
| | | | | | | | | | | | 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.
* [Settings] Add settings hierarchyMichael Brown2008-03-203-10/+9Star
| | | | | | | | 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-203-98/+57Star
| | | | | | | | | | | | | | | | 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.
* [Settings] show_setting() functions return snprintf()-style length.Michael Brown2008-03-182-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-102-2/+2
|\
| * Modify gPXE core and drivers to work with the new timer subsystemAlexey Zaytsev2008-03-022-2/+2
| | | | | | | | Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
* | [Command] Add "sanboot" command.Michael Brown2008-03-041-0/+68
|/
* __nonnull changesHolger Lubitz2007-08-201-1/+18
|
* __nonnull changesHolger Lubitz2007-08-201-0/+2
|
* __nonnull changesHolger Lubitz2007-08-201-5/+5
|
* __nonnull changesHolger Lubitz2007-08-201-0/+8
|
* __nonnull changesHolger Lubitz2007-08-201-0/+5
|
* __nonnull changesHolger Lubitz2007-08-201-0/+9
|
* Print multiple commands per line in helpMichael Brown2007-08-031-2/+12
|
* Error message cleanups.Michael Brown2007-08-021-1/+2
|
* Allow images to hold references to the originating URI.Michael Brown2007-08-021-24/+59
| | | | Some shuffling around of the image management code; this needs tidying up.
* Allowed zero-cost enforced ordering of features in startup bannerMichael Brown2007-08-021-4/+4
| | | | | | list. Added FEATURE() macros to most relevant (non-driver) files.
* Add FEATURE() macro, plus code to display features at startup time,Michael Brown2007-08-021-1/+10
| | | | | and generate DHCP options to indicate features to DHCP server (and to PXE NBPs).
* Make has_key() a static inline, rather than omitting it altogether.Michael Brown2007-07-281-15/+1Star
|
* Revert "make bool m_echo static" - I suspect this to be defined by specMichael Brown2007-07-281-1/+1
| | | | This reverts commit 3cb133d27daf11e77fe48d44e1ce639711f903de.
* make bool m_echo staticHolger Lubitz2007-07-271-1/+1
|
* remove has_key by #if 0'ing outHolger Lubitz2007-07-271-1/+3
|
* make _wgetc staticHolger Lubitz2007-07-271-0/+1
|
* make struct _softlabelkeys *slks staticHolger Lubitz2007-07-271-1/+1
|
* make imgfill_cmdline staticHolger Lubitz2007-07-271-1/+2
|
* Add per-file error identifiersMichael Brown2007-07-241-9/+6Star
|
* Warnings purge: src/{crypto,hci,net}Marty Connor2007-07-035-0/+9
|
* Removed debugging statements that should not have been checked in.Michael Brown2007-06-281-2/+0Star
|
* Quick hack to get image booting working againMichael Brown2007-06-281-28/+35
|
* Added EPIPE description.Michael Brown2007-05-261-0/+1
|
* TypoMichael Brown2007-03-201-2/+2
|
* Handle structured error codes.Michael Brown2007-01-191-8/+63
|
* vsprintf.h is gPXE-specific; move it to include/gpxeMichael Brown2007-01-191-1/+1
|
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-1911-11/+12
|
* Include stdlib.h rather than malloc.hMichael Brown2007-01-182-2/+2
|
* Add ETIMEDOUTMichael Brown2007-01-151-0/+1
|
* Make TCP give up immediately when it receives -ENETUNREACH fromMichael Brown2007-01-141-7/+10
| | | | | | | tcpip_tx(). This avoids the irritating wait when you accidentally type "kernel pxelinux.0" before bringing up the network interface. Add ENETUNREACH to strerror()'s list.
* Add the "initrd" commandMichael Brown2007-01-141-20/+57
|
* Make "boot" a synonym for "imgexec", to match grubMichael Brown2007-01-141-0/+4
|