]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Library/PlatformBootManagerLib/PlatformBm.h
ArmPkg/PlatformBootManagerLib: load platform boot options
[mirror_edk2.git] / ArmPkg / Library / PlatformBootManagerLib / PlatformBm.h
1 /** @file
2 Head file for BDS Platform specific code
3
4 Copyright (C) 2015-2016, Red Hat, Inc.
5 Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>
6 Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
7
8 This program and the accompanying materials are licensed and made available
9 under the terms and conditions of the BSD License which accompanies this
10 distribution. The full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php
12
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
14 WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15
16 **/
17
18 #ifndef _PLATFORM_BM_H_
19 #define _PLATFORM_BM_H_
20
21 #include <Library/BaseLib.h>
22 #include <Library/BaseMemoryLib.h>
23 #include <Library/DebugLib.h>
24 #include <Library/DevicePathLib.h>
25 #include <Library/MemoryAllocationLib.h>
26 #include <Library/UefiBootServicesTableLib.h>
27 #include <Library/UefiLib.h>
28 #include <Library/UefiRuntimeServicesTableLib.h>
29
30 /**
31 Use SystemTable Conout to stop video based Simple Text Out consoles from
32 going to the video device. Put up LogoFile on every video device that is a
33 console.
34
35 @param[in] LogoFile File name of logo to display on the center of the
36 screen.
37
38 @retval EFI_SUCCESS ConsoleControl has been flipped to graphics and logo
39 displayed.
40 @retval EFI_UNSUPPORTED Logo not found
41 **/
42 EFI_STATUS
43 EnableQuietBoot (
44 IN EFI_GUID *LogoFile
45 );
46
47 /**
48 Use SystemTable Conout to turn on video based Simple Text Out consoles. The
49 Simple Text Out screens will now be synced up with all non video output
50 devices
51
52 @retval EFI_SUCCESS UGA devices are back in text mode and synced up.
53 **/
54 EFI_STATUS
55 DisableQuietBoot (
56 VOID
57 );
58
59 #endif // _PLATFORM_BM_H_