V2: Fix more header files on #ifdef variable ECC reported some issues on UefiPayloadPkg, this patch fixed most of them except several files including ElfLib\Elf32.h, coreboot.h, CbParseLib.c, etc. It also removed unused functions in ResetSystemLib and Hob.c. Signed-off-by: Guo Dong <guo.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Maurice Ma <maurice.ma@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Reviewed-by: Maurice Ma <maurice.ma@intel.com>
40 lines
957 B
C
40 lines
957 B
C
/** @file
|
|
Defined the platform specific device path which will be filled to
|
|
ConIn/ConOut variables.
|
|
|
|
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
**/
|
|
|
|
#include "PlatformBootManager.h"
|
|
|
|
///
|
|
/// Predefined platform default console device path
|
|
///
|
|
GLOBAL_REMOVE_IF_UNREFERENCED PLATFORM_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {
|
|
{
|
|
NULL,
|
|
0
|
|
}
|
|
};
|
|
|
|
|
|
GLOBAL_REMOVE_IF_UNREFERENCED USB_CLASS_FORMAT_DEVICE_PATH gUsbClassKeyboardDevicePath = {
|
|
{
|
|
{
|
|
MESSAGING_DEVICE_PATH,
|
|
MSG_USB_CLASS_DP,
|
|
{
|
|
(UINT8) (sizeof (USB_CLASS_DEVICE_PATH)),
|
|
(UINT8) ((sizeof (USB_CLASS_DEVICE_PATH)) >> 8)
|
|
}
|
|
},
|
|
0xffff, // VendorId
|
|
0xffff, // ProductId
|
|
CLASS_HID, // DeviceClass
|
|
SUBCLASS_BOOT, // DeviceSubClass
|
|
PROTOCOL_KEYBOARD // DeviceProtocol
|
|
},
|
|
gEndEntire
|
|
};
|