summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-15 03:11:09 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-15 03:11:09 +0000
commit649e72d617d5732aa9df5552898a895f132036ca (patch)
tree7355d6220776237d6927f228a20d263d87377c52 /MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c
parentb364eeb012a5d64029483a6f5510654e7c94ab8a (diff)
downloadedk2-platforms-649e72d617d5732aa9df5552898a895f132036ca.tar.xz
Performance and size optimised.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7280 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c')
-rw-r--r--MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c
index 786cd9aeaf..0d029aaa03 100644
--- a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c
+++ b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c
@@ -14,6 +14,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include "GraphicsConsole.h"
+
+
EFI_NARROW_GLYPH gUsStdNarrowGlyphData[] = {
//
// Unicode glyphs from 0x20 to 0x7e are the same as ASCII characters 0x20 to 0x7e
@@ -270,19 +272,6 @@ EFI_NARROW_GLYPH gUsStdNarrowGlyphData[] = {
{ 0x0000, 0x00, {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} //EOL
};
-/**
- Returns available Unicode glyphs narrow fonts(8*19 pixels) size.
-
- @return Narrow font size.
+// Get available Unicode glyphs narrow fonts(8*19 pixels) size.
+UINT32 mNarrowFontSize = sizeof (gUsStdNarrowGlyphData);
-**/
-UINT32
-ReturnNarrowFontSize (
- VOID
- )
-{
- //
- // I need the size of this outside of this file, so here is a stub function to do that for me
- //
- return sizeof (gUsStdNarrowGlyphData);
-}