Michael Brown
c44a193d0d
[legal] Add a selection of FILE_LICENCE declarations
Add FILE_LICENCE declarations to almost all files that make up the
various standard builds of gPXE.
15 роки тому
Michael Brown
1266d7902b
[tables] Redefine methods for accessing linker tables
Intel's C compiler (icc) chokes on the zero-length arrays that we
currently use as part of the mechanism for accessing linker table
entries. Abstract away the zero-length arrays, to make a port to icc
easier.
Introduce macros such as for_each_table_entry() to simplify the common
case of iterating over all entries in a linker table.
Represent table names as #defined string constants rather than
unquoted literals; this avoids visual confusion between table names
and C variable or type names, and also allows us to force a
compilation error in the event of incorrect table names.
15 роки тому
Michael Brown
ee2df1d6d6
[ioapi] Remove old io.h file and switch all users over to <gpxe/io.h>
16 роки тому
Alexey Zaytsev
a1572e0ab0
Modify gPXE core and drivers to work with the new timer subsystem
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com >
16 роки тому
Holger Lubitz
50fe2159d5
Revert "convert to zalloc"
This reverts commit 7297f04481 .
17 роки тому
Holger Lubitz
7297f04481
convert to zalloc
17 роки тому
Michael Brown
520d9c36af
Updated ISAPnP, EISA, MCA and ISA buses to current device model.
ISA 3c509 is currently non-functional, although the EISA (3c509-eisa) and
MCA (3c529) variants should build OK.
None of this code is yet tested.
17 роки тому
Michael Brown
c3e41e6fd1
Added soon-to-be-requisite missing include.
18 роки тому
Michael Brown
5bace628ae
Added "name" field to bus structure.
19 роки тому
Michael Brown
db3a44b66d
Debug message fixes.
19 роки тому
Michael Brown
441ee4f8f3
Need to leave structure zeroed
19 роки тому
Michael Brown
1e156f537b
Consistency
19 роки тому
Michael Brown
3e8c2aa78b
Fix up fill_mca_nic.
19 роки тому
Michael Brown
924143661a
Updated all common buses to new API.
19 роки тому
Michael Brown
03346742c0
Use only the header files that we need
19 роки тому
Michael Brown
e1a9798af4
Improved debugging output
19 роки тому
Michael Brown
ed92171527
Standardised debug messages to make it easy to get a bus scan printout
(just build debugging versions of the relevant bus objects).
19 роки тому
Michael Brown
9183f2412e
bus header files must include dev.h to get struct dev.
19 роки тому
Michael Brown
104880ca19
Tweak API to allow separation of bus-scanning and device-probing logic.
19 роки тому
Michael Brown
44c7cc8c12
Standardised debug mechanism in place now.
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
4ae83f28f2
Don't use htons, for compatibility with PCI :(
19 роки тому
Michael Brown
1aee4e8001
Extracted from 3c509.c
19 роки тому