]>
Commit | Line | Data |
---|---|---|
bf231ea6 | 1 | /** @file\r |
8517ee51 | 2 | Library supports displaying graphical splash screen,\r |
91496a54 | 3 | locking of keyboard input and printing character on\r |
4 | screen.\r | |
00c4901b | 5 | \r |
2f50ef83 | 6 | Copyright (c) 2006 - 2008, Intel Corporation.<BR>\r |
bf231ea6 A |
7 | All rights reserved. This program and the accompanying materials \r |
8 | are licensed and made available under the terms and conditions of the BSD License \r | |
9 | which accompanies this distribution. The full text of the license may be found at \r | |
10 | http://opensource.org/licenses/bsd-license.php \r | |
00c4901b | 11 | \r |
bf231ea6 A |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
14 | \r | |
15 | **/\r | |
00c4901b | 16 | \r |
7540e754 A |
17 | #ifndef __EFI_GRAPHICS_LIB_H__\r |
18 | #define __EFI_GRAPHICS_LIB_H__\r | |
19 | \r | |
00c4901b | 20 | \r |
bf231ea6 A |
21 | /**\r |
22 | Use Console Control to turn off UGA based Simple Text Out consoles from going\r | |
23 | to the UGA device. Put up LogoFile on every UGA device that is a console\r | |
7d582d6b | 24 | \r |
25 | @param[in] LogoFile File name of logo to display on the center of the screen.\r | |
26 | \r | |
bf231ea6 A |
27 | @retval EFI_SUCCESS ConsoleControl has been flipped to graphics and logo displayed.\r |
28 | @retval EFI_UNSUPPORTED Logo not found\r | |
00c4901b | 29 | \r |
bf231ea6 | 30 | **/\r |
00c4901b | 31 | EFI_STATUS\r |
2f50ef83 | 32 | EFIAPI\r |
00c4901b | 33 | EnableQuietBoot (\r |
34 | IN EFI_GUID *LogoFile\r | |
bf231ea6 | 35 | );\r |
00c4901b | 36 | \r |
7d582d6b | 37 | /**\r |
38 | Use Console Control to turn off GOP/UGA based Simple Text Out consoles from going\r | |
39 | to the UGA device. Put up LogoFile on every UGA device that is a console\r | |
40 | \r | |
41 | @param LogoFile File name of logo to display on the center of the screen.\r | |
42 | @param ImageHandle The driver image handle of the caller. The parameter is used to\r | |
43 | optimize the loading of the logo file so that the FV from which\r | |
44 | the driver image is loaded will be tried first.\r | |
45 | \r | |
46 | @retval EFI_SUCCESS ConsoleControl has been flipped to graphics and logo displayed.\r | |
47 | @retval EFI_UNSUPPORTED Logo not found\r | |
48 | \r | |
49 | **/\r | |
50 | EFI_STATUS\r | |
2f50ef83 | 51 | EFIAPI\r |
7d582d6b | 52 | EnableQuietBootEx (\r |
53 | IN EFI_GUID *LogoFile,\r | |
54 | IN EFI_HANDLE ImageHandle\r | |
55 | );\r | |
56 | \r | |
00c4901b | 57 | \r |
bf231ea6 A |
58 | /**\r |
59 | Use Console Control to turn on UGA based Simple Text Out consoles. The UGA \r | |
60 | Simple Text Out screens will now be synced up with all non UGA output devices\r | |
7d582d6b | 61 | \r |
bf231ea6 | 62 | @retval EFI_SUCCESS UGA devices are back in text mode and synced up.\r |
00c4901b | 63 | \r |
bf231ea6 | 64 | **/\r |
00c4901b | 65 | EFI_STATUS\r |
2f50ef83 | 66 | EFIAPI\r |
00c4901b | 67 | DisableQuietBoot (\r |
68 | VOID\r | |
bf231ea6 | 69 | );\r |
00c4901b | 70 | \r |
00c4901b | 71 | \r |
bf231ea6 | 72 | /**\r |
00c4901b | 73 | Use Console Control Protocol to lock the Console In Spliter virtual handle. \r |
74 | This is the ConInHandle and ConIn handle in the EFI system table. All key\r | |
75 | presses will be ignored until the Password is typed in. The only way to\r | |
76 | disable the password is to type it in to a ConIn device.\r | |
7d582d6b | 77 | \r |
78 | @param[in] Password Password used to lock ConIn device.\r | |
79 | \r | |
8517ee51 | 80 | @retval EFI_SUCCESS lock the Console In Spliter virtual handle successfully.\r |
bf231ea6 | 81 | @retval EFI_UNSUPPORTED Password not found\r |
00c4901b | 82 | \r |
bf231ea6 A |
83 | **/\r |
84 | EFI_STATUS\r | |
2f50ef83 | 85 | EFIAPI\r |
bf231ea6 A |
86 | LockKeyboards (\r |
87 | IN CHAR16 *Password\r | |
88 | );\r | |
89 | \r | |
00c4901b | 90 | #endif\r |