]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiPayloadPkg/Include/Library/PlatformSupportLib.h
UefiPayloadPkg: Enhance UEFI payload for coreboot and Slim Bootloader
[mirror_edk2.git] / UefiPayloadPkg / Include / Library / PlatformSupportLib.h
diff --git a/UefiPayloadPkg/Include/Library/PlatformSupportLib.h b/UefiPayloadPkg/Include/Library/PlatformSupportLib.h
new file mode 100644 (file)
index 0000000..d9f0b83
--- /dev/null
@@ -0,0 +1,28 @@
+/** @file\r
+  Bootloader Platform Support library. Platform can provide an implementation of this\r
+  library class to provide hooks that may be required for some type of\r
+  platform features.\r
+\r
+Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#ifndef __BOOTLOADER_PLATFORM_SUPPORT_LIB__\r
+#define __BOOTLOADER_PLATFORM_SUPPORT_LIB__\r
+\r
+/**\r
+  Parse platform specific information from bootloader\r
+\r
+  @retval RETURN_SUCCESS       The platform specific coreboot support succeeded.\r
+  @retval RETURN_DEVICE_ERROR  The platform specific coreboot support could not be completed.\r
+\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+ParsePlatformInfo (\r
+  VOID\r
+  );\r
+\r
+#endif // __BOOTLOADER_PLATFORM_SUPPORT_LIB__\r
+\r