Michael Brown
03c80c12b8
[iSCSI] Support Windows Server 2008 direct iSCSI installation
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.
пре 16 година
Michael Brown
978996cdae
[usr] Offer user a second chance to enter the shell on boot failure
пре 16 година
Michael Brown
c1006ffdb7
If no shell was requested via Ctrl-B, exit immediately if boot fails.
пре 17 година
Michael Brown
a6a1052096
Applied a modified version of holger's regparm patches.
пре 17 година
Michael Brown
89349d7fad
Separated out initialisation functions from startup/shutdown functions.
пре 17 година
Michael Brown
fd86c819ba
Use a linker-table based system to automatically mark and start up
permanent processes, rather than requiring each one to have its own
initialisation function.
пре 17 година
Michael Brown
dca369ddc3
Call hide_etherboot() from startup(), rather than requiring the prefix to
do it.
пре 18 година
Michael Brown
c2708df14a
Make shutdown functions callable by OS image's exec methods.
пре 18 година
Michael Brown
4fc9333159
Move include/image.h to include/gpxe/image.h
пре 18 година
Michael Brown
55e590ab3a
Move header file for usr/autoboot.c to include/usr
пре 18 година
Michael Brown
839d425c6e
Added missing header
пре 18 година
Michael Brown
c21502acad
No longer needed
пре 18 година
Michael Brown
84202d89f0
Split the (quick hack) boot logic out from main.c to autoboot.c, add a
"boot" command to attempt booting from within the command shell, fall back
to shell if boot fails for any reason.
пре 18 година
Michael Brown
38ad706b08
Use new minimal shell
пре 18 година
Michael Brown
d9f32726b4
Added quick and dirty commands for testing the new NVO code.
пре 18 година
Marty Connor
1da4faa896
include stdio.h to suppress printf warning, general warnings fixups
пре 18 година
Michael Brown
27ba2d7527
Take out unused cleanup() function so that we can remove the link
dependency on dev.o.
пре 18 година
Michael Brown
0dd0a8366e
Removed obsolete line merged in with the cmdline stuff
пре 18 година
Marty Connor
41af7457a8
Merge of Fredrik Hultin command_line
пре 18 година
Michael Brown
e74e20cb55
Remove the static IP address hack from netdevice.c, and change the
default test to the DHCP test.
пре 18 година
Marty Connor
e8cc1c4333
Removed vestigal FILO code
пре 18 година
Michael Brown
3c8aafa209
Simplify RX data path.
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.
пре 18 година
Michael Brown
6ab4b99f41
Quick hack to avoid trying to use an uninitialised net device.
пре 18 година
Michael Brown
d6866202f9
Until we have a functioning UDP stack and PXE API again, there's not much
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.
пре 18 година
Michael Brown
f8f75cef5b
BSS is now zeroed by libprefix (along with the otherwise non-zeroable
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.
пре 18 година
Michael Brown
352bf1bda2
Move init.h to gpxe/init.h.
пре 18 година
Michael Brown
307cf36fca
Linker symbols no longer defined in etherboot.h
Use %m to print error
пре 19 година
Michael Brown
022661283a
Load buffer is now handled by the autoload() function.
пре 19 година
Michael Brown
a5a14dc05d
Use the global load_buffer, and the boot_image function.
пре 19 година
Michael Brown
0fe74493f4
Protocols now load data into a buffer; they don't execute it.
пре 19 година
Michael Brown
d5bf9e71ea
http.h obsoleted (no content)
пре 19 година
Michael Brown
2227a711fd
umountall() handled by nfs.c's reset function
пре 19 година
Michael Brown
e68378fd62
loadkernel renamed to download_url and moved to nic.c
пре 19 година
Michael Brown
fda36a0c1a
Added back in the actual call to load().
пре 19 година
Michael Brown
8cd0693396
s/{name,describe}/{name,describe}_device/
пре 19 година
Michael Brown
98ff29345e
Created a bus/device API that allows for the ROM prefix to specify an
initial device, and will also allow for e.g. a device menu to be presented
to the user.
пре 19 година
Michael Brown
f04b9cd3ea
Leave some time to see what's going on.
пре 19 година
Michael Brown
ce8dea0dff
Separate out bus-scanning and device-probing logic.
пре 19 година
Michael Brown
75d864432c
Use the magic of common symbols to allow struct dev to effectively grow at
link time to accommodate whatever bus objects are included.
пре 19 година
Michael Brown
241fb0f3cd
Use dev's print_info method to print standardised information about
the boot device.
пре 19 година
Michael Brown
762fa9a478
Fix up find_pci_device so that it can be used for scanning for devices
*other* than the main boot device.
пре 19 година
Michael Brown
3901d197f7
Replaced main loop with a trivial implementation so that we can try
out the new probing logic.
пре 19 година
Michael Brown
87508aa0b2
arch_initialise() is now sufficiently generic that we may as well just
call it initialise() and place it in main.c. :)
пре 19 година
Michael Brown
64d3886c1d
relocate() is called by arch_initialise().
пре 19 година
Michael Brown
0ff80b477d
Merged mcb30-realmode-redesign back to HEAD
пре 19 година
Michael Brown
3d6123e69a
Initial revision
пре 19 година