iPXE
config_pci.c
Go to the documentation of this file.
1/*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation; either version 2 of the
5 * License, or (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful, but
8 * WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15 * 02110-1301, USA.
16 *
17 * You can also choose to distribute this program under the terms of
18 * the Unmodified Binary Distribution Licence (as given in the file
19 * COPYING.UBDL), provided that you have satisfied its requirements.
20 */
21
22FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
23FILE_SECBOOT ( PERMITTED );
24
25#include <config/general.h>
26#include <config/settings.h>
27#include <config/ioapi.h>
28
29/** @file
30 *
31 * PCI configuration options
32 *
33 */
34
36
37#ifdef PCI_CMD
38REQUIRE_OBJECT ( pci_cmd );
39#endif
40#ifdef PCI_SETTINGS
42#endif
43
44#ifdef PCIAPI_RUNTIME_ECAM
46#endif
47#ifdef PCIAPI_RUNTIME_PCBIOS
48REQUIRE_OBJECT ( pcibios );
49#endif
50#ifdef PCIAPI_RUNTIME_DIRECT
51REQUIRE_OBJECT ( pcidirect );
52#endif
53#ifdef PCIAPI_RUNTIME_EFI
54REQUIRE_OBJECT ( efi_pci );
55#endif
Configuration settings sources.
PROVIDE_REQUIRING_SYMBOL()
static struct ecam_mapping ecam
Cached mapped ECAM allocation.
Definition ecam.c:37
General configuration.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define REQUIRE_OBJECT(object)
Require an object.
Definition compiler.h:202
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
I/O API configuration.
static struct settings pci_settings
PCI device settings.