From: wetdreams <64154433+mhtygt211227@users.noreply.github.com> Date: 星期天, 7 Mar 2021 08:29:01 +0000 (+0300) Subject: Add files via upload X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=80a3a6a1be6557db6fed7cfd69c7bdd087676683;p=edk2-sdm845.git Add files via upload --- diff --git a/sdm845Pkg/Include/Guid/SerialPortLibVendor.h b/sdm845Pkg/Include/Guid/SerialPortLibVendor.h new file mode 100644 index 0000000..887f96c --- /dev/null +++ b/sdm845Pkg/Include/Guid/SerialPortLibVendor.h @@ -0,0 +1,19 @@ +/** @file + Define the SerialDxe GUID. + + Copyright (c) 2019, Citrix Systems, Inc. + + SPDX-License-Identifier: BSD-2-Clause-Patent +**/ + +#ifndef __SERIAL_PORT_LIB_VENDOR_H__ +#define __SERIAL_PORT_LIB_VENDOR_H__ + +#define EDKII_SERIAL_PORT_LIB_VENDOR_GUID { \ + 0xD3987D4B, 0x971A, 0x435F, \ + { 0x8C, 0xAF, 0x49, 0x67, 0xEB, 0x62, 0x72, 0x41 } \ + } + +extern EFI_GUID gEdkiiSerialPortLibVendorGuid; + +#endif // __SERIAL_PORT_LIB_VENDOR_H__ diff --git a/sdm845Pkg/Include/Protocol/PlatformBootManager.h b/sdm845Pkg/Include/Protocol/PlatformBootManager.h new file mode 100644 index 0000000..9f18e41 --- /dev/null +++ b/sdm845Pkg/Include/Protocol/PlatformBootManager.h @@ -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 + + 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 +#include +#include +#include +#include +#include +#include +#include + +/** + 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_