You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
6f8c44b375
Synced up MdePkg, IntelFsp2Pkg and BaseTools to EDK2 stable tag edk2-stable201905. There are several changes for MdePkg and BaseTools. MdePkg: - Support light print to reduce SBL size MdePkg\Library\BasePrintLib\PrintLibInternal.c MdePkg\Include\Library\DebugLib.h - TCG TPM2 spec changes and remove dependencies MdePkg\Include\IndustryStandard\UefiTcgPlatform.h MdePkg\Include\IndustryStandard\Tpm2Acpi.h - Use old NVM protocol file MdePkg\Include\Protocol\NvmExpressPassthru.h - Removed unused files BaseTools: - Added LZ4 support - Removed unused files Signed-off-by: Maurice Ma <maurice.ma@intel.com>
16 lines
336 B
Python
16 lines
336 B
Python
## @file
|
|
#
|
|
#
|
|
# Copyright (c) 2009 - 2014, Apple Inc. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
import sys
|
|
import locale
|
|
|
|
if sys.platform == "darwin":
|
|
DefaultLocal = locale.getdefaultlocale()[1]
|
|
if DefaultLocal is None:
|
|
DefaultLocal = 'UTF8'
|
|
sys.setdefaultencoding(DefaultLocal)
|
|
|