Add files via upload
authorwetdreams <64154433+mhtygt211227@users.noreply.github.com>
星期天, 7 Mar 2021 08:29:01 +0000 (11:29 +0300)
committerBigfootACA <bigfoot@classfun.cn>
星期五, 2 Jul 2021 08:30:13 +0000 (16:30 +0800)
sdm845Pkg/Include/Guid/SerialPortLibVendor.h [new file with mode: 0644]
sdm845Pkg/Include/Protocol/PlatformBootManager.h [new file with mode: 0644]

diff --git a/sdm845Pkg/Include/Guid/SerialPortLibVendor.h b/sdm845Pkg/Include/Guid/SerialPortLibVendor.h
new file mode 100644 (file)
index 0000000..887f96c
--- /dev/null
@@ -0,0 +1,19 @@
+/** @file\r
+  Define the SerialDxe GUID.\r
+\r
+  Copyright (c) 2019, Citrix Systems, Inc.\r
+\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+**/\r
+\r
+#ifndef __SERIAL_PORT_LIB_VENDOR_H__\r
+#define __SERIAL_PORT_LIB_VENDOR_H__\r
+\r
+#define EDKII_SERIAL_PORT_LIB_VENDOR_GUID { \\r
+          0xD3987D4B, 0x971A, 0x435F, \\r
+          { 0x8C, 0xAF, 0x49, 0x67, 0xEB, 0x62, 0x72, 0x41 } \\r
+          }\r
+\r
+extern EFI_GUID gEdkiiSerialPortLibVendorGuid;\r
+\r
+#endif // __SERIAL_PORT_LIB_VENDOR_H__\r
diff --git a/sdm845Pkg/Include/Protocol/PlatformBootManager.h b/sdm845Pkg/Include/Protocol/PlatformBootManager.h
new file mode 100644 (file)
index 0000000..9f18e41
--- /dev/null
@@ -0,0 +1,60 @@
+/** @file
+  Head file for BDS Platform specific code
+
+  Copyright (C) 2015-2016, Red Hat, Inc.
+  Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.
+  Copyright (c) 2016, Linaro Ltd. All rights reserved.
+  Copyright (c), 2017, Andrei Warkentin <andrey.warkentin@gmail.com>
+
+  This program and the accompanying materials are licensed and made available
+  under the terms and conditions of the BSD License which accompanies this
+  distribution. The full text of the license may be found at
+  http://opensource.org/licenses/bsd-license.php
+
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
+  WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef _PLATFORM_BM_H_
+#define _PLATFORM_BM_H_
+
+#include <Library/BaseLib.h>
+#include <Library/BaseMemoryLib.h>
+#include <Library/DebugLib.h>
+#include <Library/DevicePathLib.h>
+#include <Library/MemoryAllocationLib.h>
+#include <Library/UefiBootServicesTableLib.h>
+#include <Library/UefiLib.h>
+#include <Library/UefiRuntimeServicesTableLib.h>
+
+/**
+  Use SystemTable Conout to stop video based Simple Text Out consoles from
+  going to the video device. Put up LogoFile on every video device that is a
+  console.
+
+  @param[in]  LogoFile   File name of logo to display on the center of the
+                         screen.
+
+  @retval EFI_SUCCESS     ConsoleControl has been flipped to graphics and logo
+                          displayed.
+  @retval EFI_UNSUPPORTED Logo not found
+**/
+EFI_STATUS
+EnableQuietBoot (
+  IN  EFI_GUID  *LogoFile
+  );
+
+/**
+  Use SystemTable Conout to turn on video based Simple Text Out consoles. The
+  Simple Text Out screens will now be synced up with all non video output
+  devices
+
+  @retval EFI_SUCCESS     UGA devices are back in text mode and synced up.
+**/
+EFI_STATUS
+DisableQuietBoot (
+  VOID
+  );
+
+#endif // _PLATFORM_BM_H_