From dbfa13ff2cd7eb313d002f185f0274f2ac883231 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 9 Jul 2013 16:03:35 +0100 Subject: [settings] Expose PCI configuration space via settings mechanism Allow values to be read from PCI configuration space using the syntax ${pci/..} where is the bus:dev.fn address of the PCI device (expressed as a single integer, as returned by ${net0/busloc}), is the offset within PCI configuration space, and 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 --- src/include/ipxe/errfile.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/ipxe') diff --git a/src/include/ipxe/errfile.h b/src/include/ipxe/errfile.h index 2b9d16ca0..73e1d89ff 100644 --- a/src/include/ipxe/errfile.h +++ b/src/include/ipxe/errfile.h @@ -276,6 +276,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define ERRFILE_efi_timer ( ERRFILE_OTHER | 0x003a0000 ) #define ERRFILE_efi_umalloc ( ERRFILE_OTHER | 0x003b0000 ) #define ERRFILE_linux_pci ( ERRFILE_OTHER | 0x003c0000 ) +#define ERRFILE_pci_settings ( ERRFILE_OTHER | 0x003d0000 ) /** @} */ -- cgit v1.2.3-55-g7522