From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: nathaniel.l.desimone@intel.com) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by groups.io with SMTP; Thu, 29 Aug 2019 16:41:05 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Aug 2019 16:41:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,445,1559545200"; d="scan'208";a="332684920" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by orsmga004.jf.intel.com with ESMTP; 29 Aug 2019 16:41:02 -0700 Received: from orsmsx163.amr.corp.intel.com (10.22.240.88) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 29 Aug 2019 16:41:01 -0700 Received: from orsmsx114.amr.corp.intel.com ([169.254.8.225]) by ORSMSX163.amr.corp.intel.com ([169.254.9.208]) with mapi id 14.03.0439.000; Thu, 29 Aug 2019 16:41:01 -0700 From: "Nate DeSimone" To: "Wei, David Y" , "devel@edk2.groups.io" CC: "Wu, Hao A" , "Gao, Liming" , "Sinha, Ankit" , "Agyeman, Prince" , "Kubacki, Michael A" , "Kinney, Michael D" Subject: Re: [edk2-platforms PATCH v3 11/11] SimicsOpenBoardPkg: update the copyright years in file header Thread-Topic: [edk2-platforms PATCH v3 11/11] SimicsOpenBoardPkg: update the copyright years in file header Thread-Index: AQHVXrsy38uAxNvoSE2NjWs124zk6acSxvyQ Date: Thu, 29 Aug 2019 23:41:01 +0000 Message-ID: <02A34F284D1DA44BB705E61F7180EF0AAEE76B2B@ORSMSX114.amr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGYzY2QzNDQtNjI3OC00ZDU0LTgyNDYtY2E5NDM2MjJjNzkyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiaERKTVBmaE1XVnFXQWE2Wkg4UitySDJ1ZmQ2ZktIdk5mdk9EQU9ONlZlS1p1bWIxbXR0VTk5WDRPTGNmUHQwdSJ9 x-ctpclassification: CTP_NT x-originating-ip: [10.22.254.138] MIME-Version: 1.0 Return-Path: nathaniel.l.desimone@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi David, I would prefer that the contents of this patch be merged into PATCH 4 throu= gh 7 as appropriate. Thanks, Nate -----Original Message----- From: Wei, David Y=20 Sent: Thursday, August 29, 2019 3:43 PM To: devel@edk2.groups.io Cc: Wu, Hao A ; Gao, Liming ; Sin= ha, Ankit ; Agyeman, Prince ; Kubacki, Michael A ; Desimone, Nathaniel L= ; Kinney, Michael D Subject: [edk2-platforms PATCH v3 11/11] SimicsOpenBoardPkg: update the cop= yright years in file header update the copyright years in file header and cleanup the codes to follow t= he EDK2 coding style Cc: Hao Wu Cc: Liming Gao Cc: Ankit Sinha Cc: Agyeman Prince Cc: Kubacki Michael A Cc: Nate DeSimone Cc: Michael D Kinney Signed-off-by: David Wei --- .../SimicsOpenBoardPkg/Library/DxeLogoLib/Logo.c | 8 +-- .../Library/PciHostBridgeLib/PciHostBridgeLib.c | 2 +- .../Library/PeiReportFvLib/PeiReportFvLib.c | 5 +- .../Intel/SimicsOpenBoardPkg/SecCore/SecMain.c | 2 +- .../Intel/SimicsOpenBoardPkg/SimicsDxe/Platform.c | 2 +- .../SimicsOpen= BoardPkg/SimicsDxe/PlatformConfig.c | 1 + .../SimicsOpenBoardPkg/SimicsP= ei/FeatureControl.c | 1 + .../Intel/SimicsOpenBoardPkg/SimicsPei/Platfor= m.c | 2 +- .../SmbiosPlatformDxe/SmbiosPlatformDxe.c | 2 +- .../BoardX58Ich10/DecomprScratchEnd.fdf.inc | 1 + .../BoardX58Ich10/OpenBoardPkg.fdf.inc | 2 +- .../BoardX58Ich10/VarStore.fdf.inc | 2 +- .../Include/Guid/SimicsBoardConfig.h | 1 + .../Include/IndustryStandard/I440FxPiix4.h | 1 + .../Include/IndustryStandard/LinuxBzImage.h | 1 + .../Include/Library/SerializeVariablesLib.h | 3 +- .../Library/DxeLogoLib/DxeLogoLib.inf | 2 +- .../Library/DxeLogoLib/OemBadging.h | 83 ++++++++++++++++++= ++++ .../Library/PciHostBridgeLib/PciHostBridgeLib.inf | 6 +- .../Library/PeiReportFvLib/PeiReportFvLib.inf | 2 +- Platform/Intel/SimicsOpenBoardPkg/OpenBoardPkg.dec | 2 +- .../Intel/Simi= csOpenBoardPkg/SimicsDxe/Platform.h | 1 + .../SimicsOpenBoardPkg/SimicsDxe/Platform.uni | 2 +- .../SimicsOpenBoardPkg/SimicsDxe/PlatformConfig.h | 3 +- .../SimicsOpen= BoardPkg/SimicsDxe/PlatformForms.vfr | 2 +- .../SimicsOpenBoardPkg/SimicsDxe/SimicsDxe.inf | 2 +- .../SmbiosPlatformDxe/SmbiosPlatformDxe.h | 2 +- .../SmbiosPlatformDxe/SmbiosPlatformDxe.inf | 2 +- 28 files changed, 119 insertions(+), 26 deletions(-) create mode 100644 P= latform/Intel/SimicsOpenBoardPkg/Library/DxeLogoLib/OemBadging.h diff --git a/Platform/Intel/SimicsOpenBoardPkg/Library/DxeLogoLib/Logo.c b/= Platform/Intel/SimicsOpenBoardPkg/Library/DxeLogoLib/Logo.c index 4a75f3673f..48a718a90d 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/Library/DxeLogoLib/Logo.c +++ b/Platform/Intel/SimicsOpenBoardPkg/Library/DxeLogoLib/Logo.c @@ -8,7 +8,7 @@ =20 #include #include -#include +#include #include #include #include @@ -101,7 +101,7 @@ ConvertBmpToGopBlt ( return EFI_INVALID_PARAMETER; } =20 - if ((BmpHeader->Size !=3D BmpImageSize) ||=20 + if ((BmpHeader->Size !=3D BmpImageSize) || (BmpHeader->Size < BmpHeader->ImageOffset) || (BmpHeader->Size - BmpHeader->ImageOffset !=3D BmpHeader->PixelHeig= ht * DataSizePerLine)) { return EFI_INVALID_PARAMETER; @@ -345,7 +345,7 @@ EnableBootLogo ( gST->ConOut->EnableCursor (gST->ConOut, FALSE); =20 Badging =3D NULL; - Status =3D gBS->LocateProtocol (&gEfiOEMBadgingProtocolGuid, NULL, (VOI= D **) &Badging); + Status =3D gBS->LocateProtocol (&gEfiOemBadgingProtocolGuid, NULL,=20 + (VOID **) &Badging); =20 if (GraphicsOutput !=3D NULL) { SizeOfX =3D GraphicsOutput->Mode->Info->HorizontalResolution; @@ -581,7 +581,7 @@ Done: Status =3D EFI_SUCCESS; } else { // - // More than one Logo displayed, get merged BltBuffer using VideoToBuf= fer operation.=20 + // More than one Logo displayed, get merged BltBuffer using VideoToBuf= fer operation. // if (Blt !=3D NULL) { FreePool (Blt); diff --git a/Platform/Intel/SimicsOpenBoardPkg/Library/PciHostBridgeLib/Pci= HostBridgeLib.c b/Platform/Intel/SimicsOpenBoardPkg/Library/PciHostBridgeLi= b/PciHostBridgeLib.c index 53c421d40b..3b71c8ae97 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/Library/PciHostBridgeLib/PciHostBri= dgeLib.c +++ b/Platform/Intel/SimicsOpenBoardPkg/Library/PciHostBridgeLib/PciHost +++ BridgeLib.c @@ -2,7 +2,7 @@ SIMICS QSP's instance of the PCI Host Bridge Library. =20 Copyright (C) 2016, Red Hat, Inc. - Copyright (c) 2016, Intel Corporation. All rights reserved.
+ Copyright (c) 2019, Intel Corporation. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent **/ diff --git a/Platform/= Intel/SimicsOpenBoardPkg/Library/PeiReportFvLib/PeiReportFvLib.c b/Platform= /Intel/SimicsOpenBoardPkg/Library/PeiReportFvLib/PeiReportFvLib.c index 1760eb954c..bb5a060b8e 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/Library/PeiReportFvLib/PeiReportFvL= ib.c +++ b/Platform/Intel/SimicsOpenBoardPkg/Library/PeiReportFvLib/PeiReport +++ FvLib.c @@ -1,8 +1,9 @@ /** @file Source code file for Report Firmware Volume (FV) library =20 -Copyright (c) 2018, Intel Corporation. All rights reserved.
-SPDX-License-Identifier: BSD-2-Clause-Patent + Copyright (c) 2019, Intel Corporation. All rights reserved.
+ + SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 diff --git a/Platform/Intel/SimicsOpenBoardPkg/SecCore/SecMain.c b/Platform= /Intel/SimicsOpenBoardPkg/SecCore/SecMain.c index 826fc965c9..5cbb47687b 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/SecCore/SecMain.c +++ b/Platform/Intel/SimicsOpenBoardPkg/SecCore/SecMain.c @@ -1,7 +1,7 @@ /** @file Main SEC phase code. Transitions to PEI. =20 - Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2008 - 2019, Intel Corporation. All rights=20 + reserved.
(C) Copyright 2016 Hewlett Packard Enterprise Development LP
=20 SPDX-License-Identifier: BSD-2-Clause-Patent diff --git a/Platform/Intel= /SimicsOpenBoardPkg/SimicsDxe/Platform.c b/Platform/Intel/SimicsOpenBoardPk= g/SimicsDxe/Platform.c index c7b5237bd3..b7fd4d1f6d 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/Platform.c +++ b/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/Platform.c @@ -3,7 +3,7 @@ them via HII. =20 Copyright (C) 2014, Red Hat, Inc. - Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2019, Intel Corporation. All rights=20 + reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent **/ diff --git a/Platform/= Intel/SimicsOpenBoardPkg/SimicsDxe/PlatformConfig.c b/Platform/Intel/Simics= OpenBoardPkg/SimicsDxe/PlatformConfig.c index b1e017bbb0..09929e830a 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/PlatformConfig.c +++ b/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/PlatformConfig.c @@ -3,6 +3,7 @@ SIMICS QSP's platform configuration. =20 Copyright (C) 2014, Red Hat, Inc. + Copyright (c) 2019 Intel Corporation. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent **/ diff --git a/Platform/= Intel/SimicsOpenBoardPkg/SimicsPei/FeatureControl.c b/Platform/Intel/Simics= OpenBoardPkg/SimicsPei/FeatureControl.c index 692405e417..9d2fc65a14 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/SimicsPei/FeatureControl.c +++ b/Platform/Intel/SimicsOpenBoardPkg/SimicsPei/FeatureControl.c @@ -3,6 +3,7 @@ processors. =20 Copyright (C) 2016, Red Hat, Inc. + Copyright (c) 2019 Intel Corporation. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent **/ diff --git a/Platform/= Intel/SimicsOpenBoardPkg/SimicsPei/Platform.c b/Platform/Intel/SimicsOpenBo= ardPkg/SimicsPei/Platform.c index 140a38f27f..2fe34b02c4 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/SimicsPei/Platform.c +++ b/Platform/Intel/SimicsOpenBoardPkg/SimicsPei/Platform.c @@ -1,5 +1,5 @@ /** @file - Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2019, Intel Corporation. All rights=20 + reserved.
Copyright (c) 2011, Andrei Warkentin =20 SPDX-License-Identifier: BSD-2-Clause-Patent diff --git a/Platform/Intel= /SimicsOpenBoardPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c b/Platform/Intel/= SimicsOpenBoardPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c index bbd96b4e36..7165c0a0c3 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/SmbiosPlatformDxe/SmbiosPlatformDxe= .c +++ b/Platform/Intel/SimicsOpenBoardPkg/SmbiosPlatformDxe/SmbiosPlatform +++ Dxe.c @@ -2,7 +2,7 @@ This driver installs SMBIOS information for QSP =20 Copyright (c) 2011, Bei Guan - Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2011 - 2019, Intel Corporation. All rights=20 + reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent **/ diff --git a/Platform/= Intel/SimicsOpenBoardPkg/BoardX58Ich10/DecomprScratchEnd.fdf.inc b/Platform= /Intel/SimicsOpenBoardPkg/BoardX58Ich10/DecomprScratchEnd.fdf.inc index f1eed7819a..ae9a625da9 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/DecomprScratchEnd.fdf= .inc +++ b/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/DecomprScratchEnd. +++ fdf.inc @@ -5,6 +5,7 @@ # the FVMAIN_COMPACT firmware volume. # # Copyright (C) 2015, Red Hat, Inc. +# Copyright (c) 2006 - 2019 Intel Corporation. All rights reserved.=20 +
# # SPDX-License-Identifier: BSD-2-Clause-Patent # diff --git a/Platform/In= tel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.fdf.inc b/Platform/Intel/= SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.fdf.inc index 9a7368b46c..044129c941 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.fdf.inc +++ b/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.fdf.i +++ nc @@ -2,7 +2,7 @@ # FDF include file that defines the main macros and sets the dependent PC= Ds. # # Copyright (C) 2014, Red Hat, Inc. -# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2019, Intel Corporation. All rights=20 +reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # diff --git a/Platform/I= ntel/SimicsOpenBoardPkg/BoardX58Ich10/VarStore.fdf.inc b/Platform/Intel/Sim= icsOpenBoardPkg/BoardX58Ich10/VarStore.fdf.inc index 76c28e9efc..ea5b86228f 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/VarStore.fdf.inc +++ b/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/VarStore.fdf.inc @@ -2,7 +2,7 @@ # FDF include file with Layout Regions that define an empty variable stor= e. # # Copyright (C) 2014, Red Hat, Inc. -# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2019, Intel Corporation. All rights=20 +reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # diff --git a/Platform/I= ntel/SimicsOpenBoardPkg/Include/Guid/SimicsBoardConfig.h b/Platform/Intel/S= imicsOpenBoardPkg/Include/Guid/SimicsBoardConfig.h index dfbb1c0f3c..acb2c4eee4 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/Include/Guid/SimicsBoardConfig.h +++ b/Platform/Intel/SimicsOpenBoardPkg/Include/Guid/SimicsBoardConfig.h @@ -2,6 +2,7 @@ GUID for UEFI variables that are specific to Simics Board configuration. =20 Copyright (C) 2014, Red Hat, Inc. + Copyright (c) 2019 Intel Corporation. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent **/ diff --git a/Platform/= Intel/SimicsOpenBoardPkg/Include/IndustryStandard/I440FxPiix4.h b/Platform/= Intel/SimicsOpenBoardPkg/Include/IndustryStandard/I440FxPiix4.h index e7d7fde14c..a2225493f7 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/Include/IndustryStandard/I440FxPiix= 4.h +++ b/Platform/Intel/SimicsOpenBoardPkg/Include/IndustryStandard/I440FxP +++ iix4.h @@ -7,6 +7,7 @@ =20 Copyright (C) 2015, Red Hat, Inc. Copyright (c) 2014, Gabriel L. Somlo + Copyright (c) 2019 Intel Corporation. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent **/ diff --git a/Platform/= Intel/SimicsOpenBoardPkg/Include/IndustryStandard/LinuxBzImage.h b/Platform= /Intel/SimicsOpenBoardPkg/Include/IndustryStandard/LinuxBzImage.h index 58a49e47be..2708b1891d 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/Include/IndustryStandard/LinuxBzIma= ge.h +++ b/Platform/Intel/SimicsOpenBoardPkg/Include/IndustryStandard/LinuxBz +++ Image.h @@ -1,6 +1,7 @@ /** @file =20 Copyright (c) 2011 - 2019, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ diff --git a/Platform/Intel/SimicsOpenBoardPkg/Include/Library/SerializeVar= iablesLib.h b/Platform/Intel/SimicsOpenBoardPkg/Include/Library/SerializeVa= riablesLib.h index 8e74b718f1..c32f97d787 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/Include/Library/SerializeVariablesL= ib.h +++ b/Platform/Intel/SimicsOpenBoardPkg/Include/Library/SerializeVariabl +++ esLib.h @@ -1,7 +1,8 @@ /** @file Serialize & Deserialize UEFI Variables =20 - Copyright (c) 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2019, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ diff --git a/Platform/Intel/SimicsOpenBoardPkg/Library/DxeLogoLib/DxeLogoLi= b.inf b/Platform/Intel/SimicsOpenBoardPkg/Library/DxeLogoLib/DxeLogoLib.inf index 1cf91f02c2..ff08c385b3 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/Library/DxeLogoLib/DxeLogoLib.inf +++ b/Platform/Intel/SimicsOpenBoardPkg/Library/DxeLogoLib/DxeLogoLib.in +++ f @@ -52,4 +52,4 @@ gEfiUgaDrawProtocolGuid ## SOMETIMES_CONSUMES gEfiBootLogoProtocolGuid ## SOMETIMES_CONSUMES gEfiUserManagerProtocolGuid ## CONSUMES - gEfiOEMBadgingProtocolGuid ## CONSUMES + gEfiOemBadgingProtocolGuid ## CONSUMES diff --git a/Platform/Intel/SimicsOpenBoardPkg/Library/DxeLogoLib/OemBadgin= g.h b/Platform/Intel/SimicsOpenBoardPkg/Library/DxeLogoLib/OemBadging.h new file mode 100644 index 0000000000..d2c39c3dfc --- /dev/null +++ b/Platform/Intel/SimicsOpenBoardPkg/Library/DxeLogoLib/OemBadging.h @@ -0,0 +1,83 @@ +/** @file + The OEM Badging Protocol defines the interface to get the OEM badging + image with the display attribute. This protocol can be produced based on= OEM badging images. + + Copyright (c) 2006 - 2019 Intel Corporation. All rights reserved.=20 +
+ + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef __EFI_OEM_BADGING_H__ +#define __EFI_OEM_BADGING_H__ + +// +// GUID for EFI OEM Badging Protocol +// +#define EFI_OEM_BADGING_PROTOCOL_GUID \ + { 0x170e13c0, 0xbf1b, 0x4218, {0x87, 0x1d, 0x2a, 0xbd, 0xc6, 0xf8,=20 +0x87, 0xbc } } + + +typedef struct _EFI_OEM_BADGING_PROTOCOL EFI_OEM_BADGING_PROTOCOL; + +typedef enum { + EfiBadgingFormatBMP, + EfiBadgingFormatJPEG, + EfiBadgingFormatTIFF, + EfiBadgingFormatGIF, + EfiBadgingFormatUnknown +} EFI_BADGING_FORMAT; + +typedef enum { + EfiBadgingDisplayAttributeLeftTop, + EfiBadgingDisplayAttributeCenterTop, + EfiBadgingDisplayAttributeRightTop, + EfiBadgingDisplayAttributeCenterRight, + EfiBadgingDisplayAttributeRightBottom, + EfiBadgingDisplayAttributeCenterBottom, + EfiBadgingDisplayAttributeLeftBottom, + EfiBadgingDisplayAttributeCenterLeft, + EfiBadgingDisplayAttributeCenter, + EfiBadgingDisplayAttributeCustomized +} EFI_BADGING_DISPLAY_ATTRIBUTE; + +/** + + Load an OEM badge image and return its data and attributes. + + @param This The pointer to this protocol instance. + @param Instance The visible image instance is found. + @param Format The format of the image. Examples: BMP, JPEG. + @param ImageData The image data for the badge file. Currently on= ly + supports the .bmp file format. + @param ImageSize The size of the image returned. + @param Attribute The display attributes of the image returned. + @param CoordinateX The X coordinate of the image. + @param CoordinateY The Y coordinate of the image. + + @retval EFI_SUCCESS The image was fetched successfully. + @retval EFI_NOT_FOUND The specified image could not be found. + +**/ +typedef +EFI_STATUS +(EFIAPI *EFI_BADGING_GET_IMAGE)( + IN EFI_OEM_BADGING_PROTOCOL *This, + IN OUT UINT32 *Instance, + OUT EFI_BADGING_FORMAT *Format, + OUT UINT8 **ImageData, + OUT UINTN *ImageSize, + OUT EFI_BADGING_DISPLAY_ATTRIBUTE *Attribute, + OUT UINTN *CoordinateX, + OUT UINTN *CoordinateY +); + + +struct _EFI_OEM_BADGING_PROTOCOL { + EFI_BADGING_GET_IMAGE GetImage; +}; + + +extern EFI_GUID gEfiOemBadgingProtocolGuid; + +#endif diff --git a/Platform/Intel/SimicsOpenBoardPkg/Library/PciHostBridgeLib/Pci= HostBridgeLib.inf b/Platform/Intel/SimicsOpenBoardPkg/Library/PciHostBridge= Lib/PciHostBridgeLib.inf index b22531bb56..e1920bd2ff 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/Library/PciHostBridgeLib/PciHostBri= dgeLib.inf +++ b/Platform/Intel/SimicsOpenBoardPkg/Library/PciHostBridgeLib/PciHost +++ BridgeLib.inf @@ -1,10 +1,10 @@ ## @file -# OVMF's instance of the PCI Host Bridge Library. +# Simics's instance of the PCI Host Bridge Library. # # Copyright (C) 2016, Red Hat, Inc. -# Copyright (c) 2016 - 2018 Intel Corporation. All rights reserved.
+# Copyright (c) 2016 - 2019 Intel Corporation. All rights reserved.=20 +
# -# SPDX-License-Identifier: BSD-2-Clause-Patent +# SPDX-License-Identifier: BSD-2-Clause-Patent # ## =20 diff --git a/Platform/Intel/SimicsOpenBoardPkg/Library/PeiReportFvLib/PeiRe= portFvLib.inf b/Platform/Intel/SimicsOpenBoardPkg/Library/PeiReportFvLib/Pe= iReportFvLib.inf index 6465f39fb4..bc85420f97 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/Library/PeiReportFvLib/PeiReportFvL= ib.inf +++ b/Platform/Intel/SimicsOpenBoardPkg/Library/PeiReportFvLib/PeiReport +++ FvLib.inf @@ -1,7 +1,7 @@ ### @file # Component information file for the Report Firmware Volume (FV) library. # -# Copyright (c) 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2019, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # diff --git a/Platform/In= tel/SimicsOpenBoardPkg/OpenBoardPkg.dec b/Platform/Intel/SimicsOpenBoardPkg= /OpenBoardPkg.dec index ea070a10cd..40487820fa 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/OpenBoardPkg.dec +++ b/Platform/Intel/SimicsOpenBoardPkg/OpenBoardPkg.dec @@ -149,4 +149,4 @@ ## ## IntelFrameworkModulePkg ## - gEfiOEMBadgingProtocolGuid =3D { 0x170E13C0, 0xBF1= B, 0x4218, { 0x87, 0x1D, 0x2A, 0xBD, 0xC6, 0xF8, 0x87, 0xBC }} + gEfiOemBadgingProtocolGuid =3D { 0x170E13C0, 0xBF1= B, 0x4218, { 0x87, 0x1D, 0x2A, 0xBD, 0xC6, 0xF8, 0x87, 0xBC }} diff --git a/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/Platform.h b/Platf= orm/Intel/SimicsOpenBoardPkg/SimicsDxe/Platform.h index bef801bd64..623d8ad2a9 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/Platform.h +++ b/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/Platform.h @@ -3,6 +3,7 @@ them via HII. =20 Copyright (C) 2014, Red Hat, Inc. + Copyright (c) 2019 Intel Corporation. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent **/ diff --git a/Platform/= Intel/SimicsOpenBoardPkg/SimicsDxe/Platform.uni b/Platform/Intel/SimicsOpen= BoardPkg/SimicsDxe/Platform.uni index 6d68cbeb4f..3d9af148ec 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/Platform.uni +++ b/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/Platform.uni @@ -1,7 +1,7 @@ // *++ // // Copyright (C) 2014, Red Hat, Inc. -// Copyright (c) 2009, Intel Corporation. All rights reserved.
+// Copyright (c) 2019, Intel Corporation. All rights reserved.
// // SPDX-License-Identifier: BSD-2-Clause-Patent // diff --git a/Platform/= Intel/SimicsOpenBoardPkg/SimicsDxe/PlatformConfig.h b/Platform/Intel/Simics= OpenBoardPkg/SimicsDxe/PlatformConfig.h index d3f041ddea..c2063c427b 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/PlatformConfig.h +++ b/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/PlatformConfig.h @@ -1,8 +1,9 @@ /** @file Utility functions for serializing (persistently storing) and deserializi= ng - OVMF's platform configuration. + Simics's platform configuration. =20 Copyright (C) 2014, Red Hat, Inc. + Copyright (c) 2019 Intel Corporation. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent **/ diff --git a/Platform/= Intel/SimicsOpenBoardPkg/SimicsDxe/PlatformForms.vfr b/Platform/Intel/Simic= sOpenBoardPkg/SimicsDxe/PlatformForms.vfr index 21bf9f5854..a38521e8d3 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/PlatformForms.vfr +++ b/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/PlatformForms.vfr @@ -1,7 +1,7 @@ // *++ // // Copyright (C) 2014, Red Hat, Inc. -// Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
+// Copyright (c) 2009 - 2019, Intel Corporation. All rights=20 +reserved.
// // SPDX-License-Identifier: BSD-2-Clause-Patent // diff --git a/Platform/= Intel/SimicsOpenBoardPkg/SimicsDxe/SimicsDxe.inf b/Platform/Intel/SimicsOpe= nBoardPkg/SimicsDxe/SimicsDxe.inf index 39028e1a70..eef187d2a7 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/SimicsDxe.inf +++ b/Platform/Intel/SimicsOpenBoardPkg/SimicsDxe/SimicsDxe.inf @@ -3,7 +3,7 @@ # them via HII. # # Copyright (C) 2014, Red Hat, Inc. -# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+# Copyright (c) 2009 - 2019, Intel Corporation. All rights=20 +reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # diff --git a/Platform/In= tel/SimicsOpenBoardPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h b/Platform/Int= el/SimicsOpenBoardPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h index d679bcd631..f9c641845c 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/SmbiosPlatformDxe/SmbiosPlatformDxe= .h +++ b/Platform/Intel/SimicsOpenBoardPkg/SmbiosPlatformDxe/SmbiosPlatform +++ Dxe.h @@ -2,7 +2,7 @@ This driver installs SMBIOS information for QSP =20 Copyright (c) 2011, Bei Guan - Copyright (c) 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2019, Intel Corporation. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent **/ diff --git a/Platform/= Intel/SimicsOpenBoardPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf b/Platform= /Intel/SimicsOpenBoardPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf index c5986049f1..1420a315cf 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/SmbiosPlatformDxe/SmbiosPlatformDxe= .inf +++ b/Platform/Intel/SimicsOpenBoardPkg/SmbiosPlatformDxe/SmbiosPlatform +++ Dxe.inf @@ -2,7 +2,7 @@ # This driver installs SMBIOS information for QSP # # Copyright (c) 20= 11, Bei Guan -# Copyright (c) 2011 - 2018, Intel Corpo= ration. All rights reserved.
+# Copyright (c) 2011 - 2019, Intel Corporation. All rights=20 +reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # -- 2.16.2.windows.1