summaryrefslogtreecommitdiffstats
path: root/src/core/config.c
Commit message (Collapse)AuthorAgeFilesLines
* [linker] Add mechanism for subsystem-dependent configuration optionsJoshua Oreman2009-11-211-238/+0Star
| | | | | | | | | | | | | | | | | | | | It is often the case that some module of gPXE is only relevant if the subsystem it depends on is already being included. For instance, commands to manage wireless interfaces are quite useless if no compiled-in driver has pulled in the wireless networking stack. There may be a user-modifiable configuration options for these dependent modules, but even if enabled, they should not be included when they would be useless. Solve this by allowing the creation of config_subsystem.c, for configuration directives like those in the global config.c that should only be considered when subsystem.c is included in the final gPXE build. For consistency, move core/config.c to the config/ directory, where the other config_subsystem.c files will eventually reside. Signed-off-by: Marty Connor <mdc@etherboot.org>
* [infiniband] Add support for SRP over InfinibandMichael Brown2009-08-101-0/+3
| | | | | | | | SRP is the SCSI RDMA Protocol. It allows for a method of SAN booting whereby the target is responsible for reading and writing data using Remote DMA directly to the initiator's memory. The software initiator merely sends and receives SCSI commands; it never has to touch the actual data.
* [pxe] Add startpxe and stoppxe commandsMichael Brown2009-06-281-0/+3
| | | | | | | | | These commands can be used to activate or deactivate the PXE API (on a specifiable network interface). This is currently of limited use, since most image formats will call shutdown() before booting the image, meaning that the underlying net device gets shut down during remove_devices() anyway.
* [legal] Add a selection of FILE_LICENCE declarationsMichael Brown2009-05-181-0/+2
| | | | | Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
* [digest] md5sum and sha1sum commandsDaniel Verkamp2009-03-271-0/+3
| | | | | Modified-by: Michael Brown <mcb30@etherboot.org> Signed-off-by: Michael Brown <mcb30@etherboot.org>
* [time] Add the time commandDaniel Verkamp2009-03-061-0/+3
| | | | Signed-off-by: Michael Brown <mcb30@etherboot.org>
* [login] Add "login" command and UIMichael Brown2009-02-171-0/+3
|
* [image] Allow multiple embedded imagesMichael Brown2009-02-161-0/+1
| | | | | | | | | | This patch extends the embedded image feature to allow multiple embedded images instead of just one. gPXE now always boots the first embedded image on startup instead of doing the hardcoded DHCP boot (aka autoboot). Based heavily upon a patch by Stefan Hajnoczi <stefanha@gmail.com>.
* [efi] Add EFI image format and basic runtime environmentMichael Brown2008-10-131-0/+6
| | | | | | | | | We have EFI APIs for CPU I/O, PCI I/O, timers, console I/O, user access and user memory allocation. EFI executables are created using the vanilla GNU toolchain, with the EXE header handcrafted in assembly and relocations generated by a custom efilink utility.
* [sanboot] Quick and dirty hack to make SAN boot protocols selectableMichael Brown2008-10-131-0/+11
|
* [timer] Remove now-obsolete references to TIMER_BIOS and TIMER_RDTSCMichael Brown2008-10-131-10/+0Star
|
* [config] Split console configuration out to config/console.hMichael Brown2008-10-121-12/+3Star
|
* [comboot] Add COMBOOT and COM32 supportDaniel Verkamp2008-08-291-0/+8
|
* [iSCSI] Support Windows Server 2008 direct iSCSI installationMichael Brown2008-07-171-0/+7
| | | | | | | | | | | | | Add yet another ugly hack to iscsiboot.c, this time to allow the user to inhibit the shutdown/removal of the iSCSI INT13 device (and the network devices, since they are required for the iSCSI device to function). On the plus side, the fact that shutdown() now takes flags to differentiate between shutdown-for-exit and shutdown-for-boot means that another ugly hack (to allow returning via the PXE stack on BIOSes that have broken INT 18 calls) will be easier. I feel dirty.
* [GDB] Remote debugging over UDPStefan Hajnoczi2008-06-301-1/+8
| | | | | | | | | | | | | | | | | 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.
* [ELF] Add ability to boot ELF images generated by wraplinux and mkelfImageMichael Brown2008-06-091-4/+1Star
| | | | | | | | | | | | | | | | | | | Delete ELF as a generic image type. The method for invoking an ELF-based image (as well as any tables that must be set up to allow it to boot) will always depend on the specific architecture. core/elf.c now only provides the elf_load() function, to avoid duplicating functionality between ELF-based image types. Add arch/i386/image/elfboot.c, to handle the generic case of 32-bit x86 ELF images. We don't currently set up any multiboot tables, ELF notes, etc. This seems to be sufficient for loading kernels generated using both wraplinux and coreboot's mkelfImage. Note that while Etherboot 5.4 allowed ELF images to return, we don't. There is no callback mechanism for the loaded image to shut down gPXE, which means that we have to shut down before invoking the image. This means that we lose device state, protection against being trampled on, etc. It is not safe to continue afterwards.
* [GDB] Add GDB stub for remote debuggingStefan Hajnoczi2008-06-051-0/+3
| | | | See http://etherboot.org/wiki/dev/gdbstub for documentation.
* [Serial] Split serial console from serial driverStefan Hajnoczi2008-06-051-1/+1
|
* [GDBSYM] Remove unused gdbsym.cStefan Hajnoczi2008-06-051-3/+0Star
| | | | | | The GDBSYM config.h option was an attempt at QEMU GDB debugging. I have removed the code since it is unused and may confuse people wanting to use the GDB stub.
* [IPv4] Add a config option for IPv4Michael Brown2008-03-211-11/+12
| | | | | IPv4 may not always be dragged into the link, so add a specific configuration option for it.
* Merge branch 'xl0-timer'Michael Brown2008-03-101-0/+11
|\
| * fix the rdtsc namimgAlexey Zaytsev2008-03-021-2/+2
| |
| * Introduce the new timer subsystem.Alexey Zaytsev2008-03-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | [Command] Add "sanboot" command.Michael Brown2008-03-041-0/+3
|/
* Remove reference to COFF support. I can find no trace of ever having ↵Michael Brown2008-02-211-3/+0Star
| | | | supported it.
* Allowed HTTPS to be a separately configurable feature.Michael Brown2007-07-301-0/+3
|
* Dead code removal.Michael Brown2007-07-141-4/+0Star
| | | | Kill off use of etherboot.h outside drivers/net.
* Add gdbsym.c object to help with running gdb-to-qemuMichael Brown2007-06-301-1/+4
|
* Added missing config.[ch] lines for FTP protocolMichael Brown2007-06-281-0/+3
|
* hoffmeis: Preparations for syslog support (LOGSERVER in DHCP, linewiseAnselm Martin Hoffmeister2007-04-091-0/+4
| | | | output buffering defintions and the like)
* Split bootsector execution code out into bootsector.c.Michael Brown2007-01-291-0/+3
| | | | Added basic El Torito ISO image boot capability
* Placeholder bzImage supportMichael Brown2007-01-141-0/+3
|
* Rename "boot" to "autoboot"Michael Brown2007-01-141-2/+2
|
* I prefer IMAGE_XXX to XXX_IMAGE.Michael Brown2007-01-131-11/+11
| | | | | Add IMAGE_PXE to use the new image format framework. "kernel pxelinux.0" now works.
* Add "dhcp" commandMichael Brown2007-01-121-0/+3
|
* Use systematic names for XXX_IMAGE.Michael Brown2007-01-121-5/+8
| | | | Add scripts as an image format (since it's trivial to do).
* Add basic "fetch" and "imgstat" commands.Michael Brown2007-01-121-0/+3
|
* Move include/image.h to include/gpxe/image.hMichael Brown2007-01-111-1/+0Star
|
* Add "route" command (which currently only displays the routing table; itMichael Brown2007-01-101-0/+3
| | | | can't modify it).
* Added network interface management commandsMichael Brown2007-01-101-0/+3
|
* Split the (quick hack) boot logic out from main.c to autoboot.c, add aMichael Brown2006-12-201-0/+3
| | | | | "boot" command to attempt booting from within the command shell, fall back to shell if boot fails for any reason.
* Add "config" command to access config UIMichael Brown2006-12-201-0/+3
|
* Select required commands via config.hMichael Brown2006-12-201-0/+8
|
* Removed obsolete print_config()Michael Brown2006-08-151-61/+0Star
|
* Add NULL_TRAP as a config optionMichael Brown2006-06-111-0/+8
|
* relocate.o is now dragged in by the objects that require it; there is noMichael Brown2006-05-251-9/+0Star
| | | | need for a CONFIG_RELOCATE.
* Synced across updates from Etherboot 5.4 treeMichael Brown2005-05-191-0/+3
|
* Image formats moved into the new config systemMichael Brown2005-05-171-34/+38
|
* Moved DOWNLOAD_PROTO_XXX options to config.hMichael Brown2005-05-021-0/+20
|
* Add NMB_RESOLVERMichael Brown2005-05-011-0/+4
|