OvmfPkg: Copy the required CSM components from framework packages
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1811 This commit copies the exact: Drivers: * VideoDxe * LegacyBiosDxe Libraries: * LegacyBootMaintUiLib * LegacyBootManagerLib Guid header files: * Legacy Bios Guid * LegacyDevOrder Guid Protocol header files: * Firmware Volume Protocol * ISA ACPI Protocol * ISA I/O Protocol * Legacy BIOS Protocol * Legacy BIOS Platform Protocol * Legacy Interrupt Protocol * VGA Mini Port Protocol Framework header files (within IntelFrameworkPkg): * FrameworkDxe.h * Framework/BootScript.h * Framework/DxeCis.h * Framework/FirmwareVolumeHeader.h * Framework/FirmwareVolumeImageFormat.h * Framework/FrameworkInternalFormRepresentation.h * Framework/Hob.h * Framework/StatusCode.h from IntelFramework[Module]Pkg to OvmfPkg/Csm/ folder. Cc: Ray Ni <ray.ni@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Hao A Wu <hao.a.wu@intel.com> Reviewed-by: David Woodhouse <dwmw2@infradead.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
39
OvmfPkg/Csm/Include/Guid/LegacyDevOrder.h
Normal file
39
OvmfPkg/Csm/Include/Guid/LegacyDevOrder.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/** @file
|
||||
Guid of a NV Variable which store the information about the
|
||||
FD/HD/CD/NET/BEV order.
|
||||
|
||||
Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef __LEGACY_DEV_ORDER_VARIABLE_GUID_H__
|
||||
#define __LEGACY_DEV_ORDER_VARIABLE_GUID_H__
|
||||
|
||||
///
|
||||
/// Name and Guid of a NV Variable which stores the information about the
|
||||
/// FD/HD/CD/NET/BEV order
|
||||
///
|
||||
#define EFI_LEGACY_DEV_ORDER_VARIABLE_GUID \
|
||||
{ \
|
||||
0xa56074db, 0x65fe, 0x45f7, {0xbd, 0x21, 0x2d, 0x2b, 0xdd, 0x8e, 0x96, 0x52} \
|
||||
}
|
||||
|
||||
typedef UINT8 BBS_TYPE;
|
||||
|
||||
#pragma pack(1)
|
||||
typedef struct {
|
||||
BBS_TYPE BbsType;
|
||||
///
|
||||
/// Length = sizeof (UINT16) + sizeof (Data)
|
||||
///
|
||||
UINT16 Length;
|
||||
UINT16 Data[1];
|
||||
} LEGACY_DEV_ORDER_ENTRY;
|
||||
#pragma pack()
|
||||
|
||||
#define VAR_LEGACY_DEV_ORDER L"LegacyDevOrder"
|
||||
|
||||
extern EFI_GUID gEfiLegacyDevOrderVariableGuid;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user