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 年之前