]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c
Libraries and utilities for instrumenting regions of code and measuring their perform...
[mirror_edk2.git] / MdeModulePkg / Universal / Console / GraphicsConsoleDxe / LaffStd.c
index 76c8fca64f1f35b76370498561b5c5c1a9de74e3..0d029aaa03876294dd4056c88605f0543e9b1475 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Narrow font Data definition for GraphicsConsole driver.\r
 \r
-Copyright (c) 2006, Intel Corporation. <BR>\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -14,7 +14,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #include "GraphicsConsole.h"\r
 \r
-EFI_NARROW_GLYPH  UsStdNarrowGlyphData[] = {\r
+\r
+\r
+EFI_NARROW_GLYPH  gUsStdNarrowGlyphData[] = {\r
   //\r
   // Unicode glyphs from 0x20 to 0x7e are the same as ASCII characters 0x20 to 0x7e\r
   //\r
@@ -270,13 +272,6 @@ EFI_NARROW_GLYPH  UsStdNarrowGlyphData[] = {
   { 0x0000, 0x00, {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} //EOL\r
 };\r
 \r
-UINTN\r
-ReturnNarrowFontSize (\r
-  VOID\r
-  )\r
-{\r
-  //\r
-  // I need the size of this outside of this file, so here is a stub function to do that for me\r
-  //\r
-  return sizeof (UsStdNarrowGlyphData);\r
-}\r
+// Get available Unicode glyphs narrow fonts(8*19 pixels) size.\r
+UINT32 mNarrowFontSize =  sizeof (gUsStdNarrowGlyphData);\r
+\r