Fix ICC build break properly

Update set of module types to include DXE_SMM and DXERUNTIME


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8281 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney 2009-05-10 18:35:35 +00:00
parent 60ef642785
commit 78b993a8f9
2 changed files with 7 additions and 7 deletions

View File

@ -13,10 +13,13 @@
**/ **/
#include <Uefi.h>
#include <Library/LanguageLib.h>
#include <Library/BaseLib.h> #include <Library/BaseLib.h>
#include <Library/DebugLib.h> #include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h> #include <Library/MemoryAllocationLib.h>
#include <Library/LanguageLib.h>
// //
// Lookup table of ISO639-2 3 character language codes to ISO 639-1 2 character language codes // Lookup table of ISO639-2 3 character language codes to ISO 639-1 2 character language codes
@ -238,7 +241,7 @@ InternalLanguageLibToLower (
) )
{ {
for (; Length > 0; Length--, Destination++, Source++) { for (; Length > 0; Length--, Destination++, Source++) {
*Destination = (*Source >= 'A' && *Source <= 'Z') ? (CHAR8)(*Source + ('a' - 'A')) : *Source; *Destination = (CHAR8)((*Source >= 'A' && *Source <= 'Z') ? *Source + ('a' - 'A') : *Source);
} }
} }
@ -496,4 +499,3 @@ ConvertLanguagesRfc4646ToIso639 (
Iso639Languages[Iso639Index] = '\0'; Iso639Languages[Iso639Index] = '\0';
return Iso639Languages; return Iso639Languages;
} }

View File

@ -22,8 +22,7 @@
FILE_GUID = 283cad13-a151-4d55-be2d-96ea57392a82 FILE_GUID = 283cad13-a151-4d55-be2d-96ea57392a82
MODULE_TYPE = UEFI_DRIVER MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0 VERSION_STRING = 1.0
LIBRARY_CLASS = LanguageLib|DXE_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER LIBRARY_CLASS = LanguageLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER
# #
# VALID_ARCHITECTURES = IA32 X64 IPF EBC # VALID_ARCHITECTURES = IA32 X64 IPF EBC
@ -37,7 +36,6 @@
EdkCompatibilityPkg/EdkCompatibilityPkg.dec EdkCompatibilityPkg/EdkCompatibilityPkg.dec
[LibraryClasses] [LibraryClasses]
MemoryAllocationLib
BaseLib BaseLib
DebugLib DebugLib
MemoryAllocationLib