darylm503 a7a8363d86 StdLib: Add multi-byte character support. The normal "narrow" character set is now UTF-8 instead of ASCII.
Add library classes which are required by StdLib, but not commonly defined in Platform DSC files, to StdLib.inc.
Modify MB_LEN_MAX to be 4, the maximum length of UTF-8 characters.
Adjust size of internal buffers to be multiples of MB_LEN_MAX instead of assuming 1-byte characters.
Make the XYoffset object public and move its declaration into EfiSysCall.h.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: erik.c.bjorge@intel.com
Reviewed-by: lee.g.rosenbaum@intel.com
Reviewed-by: leroy.p.leahy@intel.com


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13457 6f19259b-4bc3-4df7-8a09-765794883524
2012-06-15 19:58:39 +00:00

65 lines
1.9 KiB
INI

## @file
# Standard C library: Locale implementation.
#
# Copyright (c) 2010-2012, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php.
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = LibLocale
FILE_GUID = 9205cde5-5ae5-4a4b-bfbf-f6211967eef9
MODULE_TYPE = UEFI_APPLICATION
VERSION_STRING = 1.0
LIBRARY_CLASS = LibLocale
#
# VALID_ARCHITECTURES = IA32 X64 IPF
#
[Sources]
__mb_cur_max.c #
_def_messages.c #
_def_monetary.c #
_def_numeric.c #
_def_time.c #
aliasname.c #
ctypeio.c #
localeconv.c #
nl_langinfo.c #
setlocale1.c #
setlocale32.c #
setlocale.c #
wcscoll.c #
wcsftime.c #
wcstoimax.c #
wcstol.c #
wcstoll.c #
wcstoul.c #
wcstoull.c #
wcstoumax.c #
wcstod.c #
wcstof.c #
wcstold.c #
wcsxfrm.c #
multibyte_Utf8.c #
# Single-byte locale to avoid bringing in citrus
iswctype_sb.c #
[Packages]
StdLib/StdLib.dec
StdLibPrivateInternalFiles/DoNotUse.dec
MdePkg/MdePkg.dec
[LibraryClasses]
LibC
LibCType