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