]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Universal / Console / GraphicsConsoleDxe / LaffStd.c
index dd7b02bb482041cef70789659c8a741fbc87a8a5..70715527adde260810ff2d2ea17bf5fc3816d8f6 100644 (file)
@@ -1,19 +1,15 @@
 /** @file\r
   Narrow font Data definition for GraphicsConsole driver.\r
 \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
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
 #include "GraphicsConsole.h"\r
 \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
@@ -270,19 +266,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\r
 };\r
 \r
-/**\r
-  Returns available Unicode glyphs narrow fonts(8*19 pixels) size.\r
-\r
-  @return Narrow foun size.\r
+// Get available Unicode glyphs narrow fonts(8*19 pixels) size.\r
+UINT32 mNarrowFontSize =  sizeof (gUsStdNarrowGlyphData);\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 (gUsStdNarrowGlyphData);\r
-}\r