]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/HiiResourcesSampleDxe/HiiResourcesSample.c
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Universal / HiiResourcesSampleDxe / HiiResourcesSample.c
index c86bb4c7420f47a7f4a4129e419a2d4941635e9c..01cbf37fbb35db1a93f4bb03c03d94c21d90ea32 100644 (file)
@@ -2,18 +2,13 @@
 This is an example of how a driver retrieve HII data using HII Package List\r
 Protocol, and how to publish the HII data.\r
 \r
-Copyright (c) 2009, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
 #include <Uefi.h>\r
+#include <Guid/HiiResourceSampleHii.h>\r
 #include <Protocol/HiiPackageList.h>\r
 #include <Library/DevicePathLib.h>\r
 #include <Library/UefiDriverEntryPoint.h>\r
@@ -45,15 +40,12 @@ HII_VENDOR_DEVICE_PATH  mHiiVendorDevicePath = {
         (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8)\r
       }\r
     },\r
-    //\r
-    // {D49D2EB0-44D5-4621-9FD6-1A92C9109B99}\r
-    //\r
-    { 0xD49D2EB0, 0x44D5, 0x4621, { 0x9F, 0xD6, 0x1A, 0x92, 0xC9, 0x10, 0x9B, 0x99 } }\r
+    HII_RESOURCE_SAMPLE_FORM_SET_GUID\r
   },\r
   {\r
     END_DEVICE_PATH_TYPE,\r
     END_ENTIRE_DEVICE_PATH_SUBTYPE,\r
-    { \r
+    {\r
       (UINT8) (END_DEVICE_PATH_LENGTH),\r
       (UINT8) ((END_DEVICE_PATH_LENGTH) >> 8)\r
     }\r
@@ -62,7 +54,7 @@ HII_VENDOR_DEVICE_PATH  mHiiVendorDevicePath = {
 \r
 /**\r
   Main entry for this driver.\r
-  \r
+\r
   @param[in] ImageHandle     Image handle this driver.\r
   @param[in] SystemTable     Pointer to SystemTable.\r
 \r