mirror of
https://github.com/ipxe/ipxe.git
synced 2026-03-01 19:51:25 +01:00
Allow values to be read from PCI configuration space using the syntax
${pci/<busdevfn>.<offset>.<length>}
where <busdevfn> is the bus:dev.fn address of the PCI device
(expressed as a single integer, as returned by ${net0/busloc}),
<offset> is the offset within PCI configuration space, and <length> is
the length within PCI configuration space.
Values are returned in reverse byte order, since PCI configuration
space is little-endian by definition.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
18 lines
314 B
C
18 lines
314 B
C
#ifndef CONFIG_SETTINGS_H
|
|
#define CONFIG_SETTINGS_H
|
|
|
|
/** @file
|
|
*
|
|
* Configuration settings sources
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
#define PCI_SETTINGS /* PCI device settings */
|
|
//#define VMWARE_SETTINGS /* VMware GuestInfo settings */
|
|
|
|
#include <config/local/settings.h>
|
|
|
|
#endif /* CONFIG_SETTINGS_H */
|