summaryrefslogtreecommitdiffstats
path: root/src/core/main.c
Commit message (Collapse)AuthorAgeFilesLines
* [iSCSI] Support Windows Server 2008 direct iSCSI installationMichael Brown2008-07-171-1/+1
| | | | | | | | | | | | | 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.
* [usr] Offer user a second chance to enter the shell on boot failureMichael Brown2008-03-271-3/+31
|
* If no shell was requested via Ctrl-B, exit immediately if boot fails.Michael Brown2008-02-111-6/+3Star
|
* Applied a modified version of holger's regparm patches.Michael Brown2007-07-291-1/+1
|
* Separated out initialisation functions from startup/shutdown functions.Michael Brown2007-07-041-32/+2Star
|
* Use a linker-table based system to automatically mark and start upMichael Brown2007-07-031-1/+4
| | | | | permanent processes, rather than requiring each one to have its own initialisation function.
* Call hide_etherboot() from startup(), rather than requiring the prefix toMichael Brown2007-01-141-2/+5
| | | | do it.
* Make shutdown functions callable by OS image's exec methods.Michael Brown2007-01-141-323/+28Star
|
* Move include/image.h to include/gpxe/image.hMichael Brown2007-01-111-1/+0Star
|
* Move header file for usr/autoboot.c to include/usrMichael Brown2007-01-101-1/+1
|
* Added missing headerMichael Brown2006-12-211-0/+1
|
* No longer neededMichael Brown2006-12-201-2/+0Star
|
* Split the (quick hack) boot logic out from main.c to autoboot.c, add aMichael Brown2006-12-201-13/+6Star
| | | | | "boot" command to attempt booting from within the command shell, fall back to shell if boot fails for any reason.
* Use new minimal shellMichael Brown2006-12-201-1/+6
|
* Added quick and dirty commands for testing the new NVO code.Michael Brown2006-12-051-1/+1
|
* include stdio.h to suppress printf warning, general warnings fixupsMarty Connor2006-09-271-3/+5
|
* Take out unused cleanup() function so that we can remove the linkMichael Brown2006-08-151-1/+2
| | | | dependency on dev.o.
* Removed obsolete line merged in with the cmdline stuffMichael Brown2006-08-091-1/+0Star
|
* Merge of Fredrik Hultin command_lineMarty Connor2006-08-091-0/+3
|
* Remove the static IP address hack from netdevice.c, and change theMichael Brown2006-07-201-1/+1
| | | | default test to the DHCP test.
* Removed vestigal FILO codeMarty Connor2006-06-291-4/+0Star
|
* Simplify RX data path.Michael Brown2006-06-181-9/+2Star
| | | | | | | | | | Kill off the static single net device and move to proper dynamic registration (which we need with the new device model). Break the (flawed) assumption that all network-layer protocols can use ARP; such network-layer protocols (i.e. IPv4) must now register as an ARP protocol using ARP_NET_PROTOCOL() and provide a single method for checking the existence of a local network-layer address.
* Quick hack to avoid trying to use an uninitialised net device.Michael Brown2006-06-011-4/+16
|
* Until we have a functioning UDP stack and PXE API again, there's not muchMichael Brown2006-06-011-75/+10Star
| | | | | point trying to use the old boot sequence. Replaced with a call to the AoE demo code, so that people can at least build and try something useful.
* BSS is now zeroed by libprefix (along with the otherwise non-zeroableMichael Brown2006-05-021-15/+3Star
| | | | | | | portions such as the stack) during the installation process. init_fns() are called from main(). We need to think about initial control flow some more.
* Move init.h to gpxe/init.h.Michael Brown2006-04-301-1/+1
|
* Merge from Etherboot 5.4Michael Brown2006-03-161-5/+10
|\
* | Linker symbols no longer defined in etherboot.hMichael Brown2005-05-181-4/+7
|/ | | | Use %m to print error
* Load buffer is now handled by the autoload() function.Michael Brown2005-05-171-5/+15
|
* Use the global load_buffer, and the boot_image function.Michael Brown2005-05-091-6/+11
|
* Protocols now load data into a buffer; they don't execute it.Michael Brown2005-05-091-2/+10
|
* http.h obsoleted (no content)Michael Brown2005-05-021-1/+0Star
|
* umountall() handled by nfs.c's reset functionMichael Brown2005-05-011-3/+0Star
|
* loadkernel renamed to download_url and moved to nic.cMichael Brown2005-04-301-74/+2Star
|
* Added back in the actual call to load().Michael Brown2005-04-261-10/+24
|
* s/{name,describe}/{name,describe}_device/Michael Brown2005-04-251-4/+5
|
* Created a bus/device API that allows for the ROM prefix to specify anMichael Brown2005-04-211-26/+18Star
| | | | | initial device, and will also allow for e.g. a device menu to be presented to the user.
* Leave some time to see what's going on.Michael Brown2005-04-151-0/+1
|
* Separate out bus-scanning and device-probing logic.Michael Brown2005-04-141-2/+13
|
* Use the magic of common symbols to allow struct dev to effectively grow atMichael Brown2005-04-141-19/+4Star
| | | | link time to accommodate whatever bus objects are included.
* Use dev's print_info method to print standardised information aboutMichael Brown2005-04-131-0/+3
| | | | the boot device.
* Fix up find_pci_device so that it can be used for scanning for devicesMichael Brown2005-04-121-1/+19
| | | | *other* than the main boot device.
* Replaced main loop with a trivial implementation so that we can tryMichael Brown2005-04-121-21/+40
| | | | out the new probing logic.
* arch_initialise() is now sufficiently generic that we may as well justMichael Brown2005-04-101-0/+21
| | | | call it initialise() and place it in main.c. :)
* relocate() is called by arch_initialise().Michael Brown2005-04-091-1/+0Star
|
* Merged mcb30-realmode-redesign back to HEADMichael Brown2005-04-081-124/+13Star
|
* Initial revisionMichael Brown2005-03-081-0/+529