Michael Brown
441189c6f8
Kill off the "all devices are boot devices" idea
18 年之前
Michael Brown
824d6ffa7f
Header rearrangement.
I want to get to the point where any header in include/ reflects a
standard user-level header (e.g. a POSIX header), while everything that's
specific to gPXE lives in include/gpxe/. Headers that reflect a Linux
header (e.g. if_ether.h) should also be in include/gpxe/, with the same
name as the Linux header and, preferably, the same names used for the
definitions.
18 年之前
Michael Brown
af23ff8a24
Assertions are now handled via the POSIX-like <assert.h>.
18 年之前
Michael Brown
3bbf5f28a3
Use __unused instead of __used for static data structures.
Remove compiler.h defines from osdep.h
19 年之前
Michael Brown
0fe74493f4
Protocols now load data into a buffer; they don't execute it.
19 年之前
Michael Brown
f37e0a06d7
dev.c uses the new tables infrastructure.
19 年之前
Michael Brown
fda36a0c1a
Added back in the actual call to load().
19 年之前
Michael Brown
3dbdeb588f
ISA bus driver updated to report devices as present only if a driver
thinks they are.
Other bus drivers modified for consistency.
19 年之前
Michael Brown
3b14360f5c
Renamed describe to describe_device for consistency
19 年之前
Michael Brown
5bace628ae
Added "name" field to bus structure.
19 年之前
Michael Brown
e59607bcb1
Should be an <= comparison, not a < comparison.
(Detected using "make symcheck" :)
19 年之前
Michael Brown
cfe3a663af
Tweaked API to minimise changes to existing drivers even further.
19 年之前
Michael Brown
8153a0fa7e
Made macros more like the previous driver API, to minimise required
changes.
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
2e309f9eec
Fix BOOT_DRIVER to assign unique and meaningful name to structure.
19 年之前
Michael Brown
ce8dea0dff
Separate out bus-scanning and device-probing logic.
19 年之前
Michael Brown
1f26be34b8
Allow for multiple BOOT_DRIVER()s in the same file, provided that they
have different probe functions.
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
a4f1a058a4
Add EISA as a bus type.
19 年之前
Michael Brown
ac1c0a753d
Add MCA devices
19 年之前
Michael Brown
95da907d5f
Add print_info method to dev_operations.
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
17c1ca90e7
New device probing mechanism
19 年之前
Michael Brown
3d6123e69a
Initial revision
19 年之前