]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Fonts.c
Bug fixes for FrameworkHiiToUefiHiiThunk;
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / FrameworkHiiToUefiHiiThunk / Fonts.c
CommitLineData
4259256b 1/**@file\r
2\r
3 This file contains the Glyph related function.\r
4\r
5Copyright (c) 2006 - 2008, Intel Corporation\r
6All rights reserved. This program and the accompanying materials\r
7are licensed and made available under the terms and conditions of the BSD License\r
8which accompanies this distribution. The full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php\r
10\r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16\r
17#include "HiiDatabase.h"\r
18\r
59336178 19\r
20UINT8 mGlyphBuffer[EFI_GLYPH_WIDTH * 2 * EFI_GLYPH_HEIGHT];\r
21\r
0368663f 22/**\r
23 This function is only called by Graphics Console module and GraphicsLib. \r
24 EDK II provides a UEFI Graphics Console module. ECP provides a GraphicsLib \r
25 complying to UEFI HII.\r
26 \r
27 This function will ASSERT and return EFI_UNSUPPORTED.\r
28\r
29 @param This N.A.\r
30 @param Source N.A.\r
31 @param Index N.A.\r
32 @param GlyphBuffer N.A.\r
33 @param BitWidth N.A.\r
34 @param InternalStatus N.A.\r
35\r
36 @return EFI_UNSUPPORTED N.A.\r
37\r
38**/\r
4259256b 39EFI_STATUS\r
40EFIAPI\r
41HiiGetGlyph (\r
42 IN EFI_HII_PROTOCOL *This,\r
43 IN CHAR16 *Source,\r
44 IN OUT UINT16 *Index,\r
45 OUT UINT8 **GlyphBuffer,\r
46 OUT UINT16 *BitWidth,\r
47 IN OUT UINT32 *InternalStatus\r
48 )\r
4259256b 49{\r
50 ASSERT (FALSE);\r
59336178 51 return EFI_UNSUPPORTED;\r
4259256b 52}\r
53\r
0368663f 54/**\r
55 This function is only called by Graphics Console module and GraphicsLib. \r
56 EDK II provides a UEFI Graphics Console module. ECP provides a GraphicsLib \r
57 complying to UEFI HII.\r
58 \r
59 This function will ASSERT and return EFI_UNSUPPORTED.\r
60\r
61 @param This N.A.\r
62 @param GlyphBuffer N.A.\r
63 @param Foreground N.A.\r
64 @param Background N.A.\r
65 @param Count N.A.\r
66 @param Width N.A.\r
67 @param Height N.A.\r
68 @param BltBuffer N.A.\r
69\r
70 @return EFI_UNSUPPORTED N.A.\r
71\r
72**/\r
4259256b 73EFI_STATUS\r
74EFIAPI\r
75HiiGlyphToBlt (\r
76 IN EFI_HII_PROTOCOL *This,\r
77 IN UINT8 *GlyphBuffer,\r
78 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL Foreground,\r
79 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL Background,\r
80 IN UINTN Count,\r
81 IN UINTN Width,\r
82 IN UINTN Height,\r
83 IN OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer\r
84 )\r
85{\r
86 ASSERT (FALSE);\r
59336178 87 return EFI_UNSUPPORTED;\r
4259256b 88}\r