]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/MiscSubClassPlatformDxe/MiscSystemOptionStringData.c
Optimize the code to not call StrToBuf when DataLength is 0.
[mirror_edk2.git] / Nt32Pkg / MiscSubClassPlatformDxe / MiscSystemOptionStringData.c
index b2976aeef9ea3f2075461d7da3c1a7cebf44ce8b..139ff4db98a44ea572c03e2e635189239adb84ae 100644 (file)
@@ -1,7 +1,7 @@
 /**@file\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+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
@@ -25,7 +25,7 @@ Abstract:
 //\r
 // Static (possibly build generated) Bios Vendor data.\r
 //\r
-MISC_SUBCLASS_TABLE_DATA(EFI_MISC_SYSTEM_OPTION_STRING_DATA, SystemOptionString) = {\r
+MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_OPTION_STRING_DATA, SystemOptionString) = {\r
   STRING_TOKEN(STR_MISC_SYSTEM_OPTION_STRING)\r
 };\r
 \r