UefiPayloadPkg: Enhance UEFI payload for coreboot and Slim Bootloader
[mirror_edk2.git] / UefiPayloadPkg / Library / PlatformBootManagerLib / PlatformData.c
1 /**@file
2 Defined the platform specific device path which will be filled to
3 ConIn/ConOut variables.
4
5 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7 **/
8
9 #include "PlatformBootManager.h"
10
11 ///
12 /// Predefined platform default console device path
13 ///
14 GLOBAL_REMOVE_IF_UNREFERENCED PLATFORM_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {
15 {
16 NULL,
17 0
18 }
19 };
20
21
22 GLOBAL_REMOVE_IF_UNREFERENCED USB_CLASS_FORMAT_DEVICE_PATH gUsbClassKeyboardDevicePath = {
23 {
24 {
25 MESSAGING_DEVICE_PATH,
26 MSG_USB_CLASS_DP,
27 {
28 (UINT8) (sizeof (USB_CLASS_DEVICE_PATH)),
29 (UINT8) ((sizeof (USB_CLASS_DEVICE_PATH)) >> 8)
30 }
31 },
32 0xffff, // VendorId
33 0xffff, // ProductId
34 CLASS_HID, // DeviceClass
35 SUBCLASS_BOOT, // DeviceSubClass
36 PROTOCOL_KEYBOARD // DeviceProtocol
37 },
38 gEndEntire
39 };