similarity index 87%
copy from ArmVirtPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
copy to ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
@@ -1,7 +1,7 @@
## @file
-# Implementation for PlatformBdsLib library class interfaces.
+# Implementation for PlatformBootManagerLib library class interfaces.
#
-# Copyright (C) 2015, Red Hat, Inc.
+# Copyright (C) 2015-2016, Red Hat, Inc.
# Copyright (c) 2014, ARM Ltd. All rights reserved.<BR>
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
#
@@ -19,7 +19,7 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = PlatformIntelBdsLib
- FILE_GUID = 46DF84EB-F603-4D39-99D8-E1E86B50BCC2
+ FILE_GUID = 469184E8-FADA-41E4-8823-012CA19B40D4
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
LIBRARY_CLASS = PlatformBdsLib|DXE_DRIVER
@@ -31,7 +31,7 @@ [Defines]
#
[Sources]
- IntelBdsPlatform.c
+ PlatformBm.c
QemuKernel.c
[Packages]
similarity index 90%
copy from ArmVirtPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.h
copy to ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.h
@@ -1,6 +1,7 @@
/** @file
Head file for BDS Platform specific code
+ Copyright (C) 2015-2016, Red Hat, Inc.
Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
@@ -13,8 +14,8 @@
**/
-#ifndef _INTEL_BDS_PLATFORM_H_
-#define _INTEL_BDS_PLATFORM_H_
+#ifndef _PLATFORM_BM_H_
+#define _PLATFORM_BM_H_
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
@@ -53,4 +54,4 @@ TryRunningQemuKernel (
VOID
);
-#endif // _INTEL_BDS_PLATFORM_H
+#endif // _PLATFORM_BM_H_
similarity index 95%
copy from ArmVirtPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.c
copy to ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c
@@ -1,7 +1,7 @@
/** @file
- Implementation for PlatformBdsLib library class interfaces.
+ Implementation for PlatformBootManagerLib library class interfaces.
- Copyright (C) 2015, Red Hat, Inc.
+ Copyright (C) 2015-2016, Red Hat, Inc.
Copyright (c) 2014, ARM Ltd. All rights reserved.<BR>
Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>
@@ -27,7 +27,7 @@
#include <Guid/EventGroup.h>
#include <Guid/RootBridgesConnectedEventGroup.h>
-#include "IntelBdsPlatform.h"
+#include "PlatformBm.h"
#define DP_NODE_LEN(Type) { (UINT8)sizeof (Type), (UINT8)(sizeof (Type) >> 8) }
similarity index 96%
copy from ArmVirtPkg/Library/PlatformIntelBdsLib/QemuKernel.c
copy to ArmVirtPkg/Library/PlatformBootManagerLib/QemuKernel.c
@@ -4,7 +4,7 @@
This implementation differs from OvmfPkg/Library/LoadLinuxLib. An EFI
stub in the subject kernel is a hard requirement here.
- Copyright (C) 2014, Red Hat, Inc.
+ Copyright (C) 2014-2016, Red Hat, Inc.
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
@@ -24,7 +24,7 @@
#include <Protocol/LoadedImage.h>
#include <Protocol/SimpleFileSystem.h>
-#include "IntelBdsPlatform.h"
+#include "PlatformBm.h"
//
// Static data that hosts the fw_cfg blobs and serves file requests.
Create a copy of PlatformIntelBdsLib under the name PlatformBootManagerLib, with the following initial changes: - replace PlatformBdsLib references with PlatformBootManagerLib in comments, - replace "IntelBdsPlatform" with "PlatformBm" in file names and their references, - generate a new FILE_GUID. PlatformBootManagerLib will be linked into the BDS driver from MdeModulePkg. This patch parallels OvmfPkg commit 305418818959. Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> --- ArmVirtPkg/Library/{PlatformIntelBdsLib/PlatformIntelBdsLib.inf => PlatformBootManagerLib/PlatformBootManagerLib.inf} | 8 ++++---- ArmVirtPkg/Library/{PlatformIntelBdsLib/IntelBdsPlatform.h => PlatformBootManagerLib/PlatformBm.h} | 7 ++++--- ArmVirtPkg/Library/{PlatformIntelBdsLib/IntelBdsPlatform.c => PlatformBootManagerLib/PlatformBm.c} | 6 +++--- ArmVirtPkg/Library/{PlatformIntelBdsLib => PlatformBootManagerLib}/QemuKernel.c | 4 ++-- 4 files changed, 13 insertions(+), 12 deletions(-) -- 1.8.3.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel