iPXE
config
config_usb.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
22
FILE_LICENCE
( GPL2_OR_LATER_OR_UBDL );
23
FILE_SECBOOT
( PERMITTED );
24
25
#include <
config/general.h
>
26
#include <
config/usb.h
>
27
#include <
config/settings.h
>
28
29
/** @file
30
*
31
* USB configuration options
32
*
33
*/
34
35
PROVIDE_REQUIRING_SYMBOL
();
36
37
/*
38
* Drag in USB controllers
39
*/
40
#ifdef USB_HCD_XHCI
41
REQUIRE_OBJECT
( xhci );
42
#endif
43
#ifdef USB_HCD_EHCI
44
REQUIRE_OBJECT
( ehci );
45
#endif
46
#ifdef USB_HCD_UHCI
47
REQUIRE_OBJECT
( uhci );
48
#endif
49
#ifdef USB_HCD_USBIO
50
REQUIRE_OBJECT
( usbio );
51
#endif
52
53
/*
54
* Drag in USB peripherals
55
*/
56
#ifdef USB_KEYBOARD
57
REQUIRE_OBJECT
( usbkbd );
58
#endif
59
#ifdef USB_BLOCK
60
REQUIRE_OBJECT
( usbblk );
61
#endif
62
63
/*
64
* Drag in USB external interfaces
65
*/
66
#ifdef USB_EFI
67
REQUIRE_OBJECT
( efi_usb );
68
#endif
69
70
/*
71
* Drag in USB settings mechanism
72
*/
73
#ifdef USB_SETTINGS
74
REQUIRE_OBJECT
(
usb_settings
);
75
#endif
76
77
/*
78
* Drag in USB commands
79
*/
80
#ifdef USB_CMD
81
REQUIRE_OBJECT
( usb_cmd );
82
#endif
PROVIDE_REQUIRING_SYMBOL
PROVIDE_REQUIRING_SYMBOL()
FILE_SECBOOT
FILE_SECBOOT(PERMITTED)
settings.h
Configuration settings sources.
REQUIRE_OBJECT
REQUIRE_OBJECT(xhci)
general.h
General configuration.
FILE_LICENCE
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
usb_settings
static struct settings usb_settings
USB device settings.
Definition:
usb_settings.c:156
usb.h
USB configuration.
Generated by
1.8.15