Re: [edk2] CryptoPkg compiles error: BIO_printf() andBIO_snprintf()redefined.

2017-04-13 Thread winddy
-- 发件人: "Long, Qin";; 发送时间: 2017年4月13日(星期四) 下午2:29 收件人: "winddy"; "edk2-devel"; 主题: RE: [edk2] CryptoPkg compiles error: BIO_printf() andBIO_snprintf()redefined. In general, the user needn’t to run “process_files.pl” to re-generate the INF fil

Re: [edk2] CryptoPkg compiles error: BIO_printf() andBIO_snprintf() redefined.

2017-04-12 Thread winddy
Hi Qin, So currently our CryptoPkg init does not support third party perl tool such as ActivePerl ? Thanks. -- BR winddy_zhang -- Original -- From: "Long, Qin";; Date: Thu, Apr 13, 2017 01:08 PM To

[edk2] CryptoPkg compiles error: BIO_printf() and BIO_snprintf() redefined.

2017-04-12 Thread winddy
Hi experts, Now I compile CryptoPkg in lastest UDK, I find there is a build error: BaseCryptLib.lib(CrtWrapper.obj) : error LNK2005: BIO_snprintf already defined i n OpensslLib.lib(b_print.obj) BaseCryptLib.lib(CrtWrapper.obj) : error LNK2005: BIO_printf already defined in OpensslLib.lib(

[edk2] bad usb descriptor may cause usb dead loop

2017-03-08 Thread winddy
Hi Experts, Now I meet a bad usb disk which may cause bios post hang. After tracing, I find it is dead loop in a while() condition. This usb disk's decriptor is as below, we could find that it reports it has 3 endpoints, but it only report one of them. And when usb core function sets c

[edk2] [EDK2 tcg2] TCG2 variable TCG2_DEVICE_DETECTION_NAME does not work as expected?

2016-10-09 Thread winddy
Hi experts, Now I am studying latest tcg2 modules, and I guess there may be something wrong with variable (TCG2_DEVICE_DETECTION_NAME, gTcg2ConfigFormSetGuid). This variable is used to save TPM device type(TPM1.2, TPM2.0, or not present) detected at PEI. The save action is at Tcg2Config

[edk2] why all applications will be measured even if it is in a measured FV in DxeTpm2MeasureBootHandler() ?

2016-09-04 Thread winddy
Dear experts, I find in function DxeTpm2MeasureBootHandler(), all application PE files will be measured, even if it is in a measured FV? Is it a Duplicated measurement? Thanks. -- BR winddy_zhang ___ edk2-devel mailing list edk

[edk2] [EDK2 TOOL] could we use release version base tool?

2015-12-08 Thread winddy
Dear Expert, According to compiler setting in "BaseTools\Source\C\Makefiles\ms.common" and "BaseTools\Source\C\Makefiles\ms.app", the target win32 base tools are debug version, could we update this compiler flag to build release version tools? Is there any known issue? Thanks. CFLAGS =

[edk2] [EDK2] Why apic timer vector is 5 in Ovmf Sec?

2015-11-30 Thread winddy
Dear Expert, I see in file OvmfPkg\Sec\SecMain.c, line 810: // // Initialize Local APIC Timer hardware and disable Local APIC Timer // interrupts before initializing the Debug Agent and the debug timer is // enabled. // InitializeApicTimer (0, MAX_UINT32, TRUE, 5); DisableApicTime

Re: [edk2] It seems something wronginGraphicsConsoleControllerDriverStart() when user defined resolution isnotsupported

2015-11-17 Thread winddy
calResolution; ModeNumber = Mode->Mode; -} +//-} } } if (ModeNumber != Private->GraphicsOutput->Mode->Mode) { -- BR winddy_zhang -- Original -- From: "Andrew Fish";; Date: W

Re: [edk2] It seems something wrong inGraphicsConsoleControllerDriverStart() when user defined resolution is notsupported

2015-11-17 Thread winddy
Hi RuiYu, patch file is attached. Thanks. -- BR winddy_zhang -- Original -- From: "Ni, Ruiyu";; Date: Tue, Nov 17, 2015 05:14 PM To: "winddy"; "edk2-devel"; Subject: RE: [

[edk2] It seems something wrong in GraphicsConsoleControllerDriverStart() when user defined resolution is not supported

2015-11-16 Thread winddy
Dear Experts, Now I meet a problem: my GOP driver has something wrong that it only supports 800x600 and 640x480, but I defined screen resolution as 1024x768 before (PcdVideoHorizontalResolution, PcdVideoVerticalResolution). When it boots to shell, screen scroll function seems wrong. I thin

[edk2] why we need reserve 2 mtrr for OS in MtrrLib?

2015-11-09 Thread winddy
Dear Experts, I find there is a macro in UefiCpuPkg\Include\Library\MtrrLib.h, line 30: // Firmware need reserve 2 MTRR for OS // #define RESERVED_FIRMWARE_VARIABLE_MTRR_NUMBER 2 Sometimes MTRR may not be enough to use, so I want to know here why we need reserve these 2 MTRR for OS?

[edk2] How could I allocate aligned memory?

2015-07-27 Thread winddy
Dear Experts, Now I want to allocate some reserved memory which should be aligned at 64MB. And if I use gBS->AllocatePages() it return OK(AllocateSize = NeedSize + AlignSize, then use ALIGN_VALUE()). But I think in this method I will waste much space for alignment. So I try to use gDS->Allo

[edk2] Is source repositories svn address changed?

2015-07-23 Thread winddy
Dear Experts, Rcently, I find udk open source SVN cannot be accessed. (https://svn.code.sf.net/p/edk2/code/trunk/edk2) According to http://www.tianocore.org/edk2, it says: Source repositories: git {github, bitbucket, sourceforge, more info}, svn {sourceforge} So if we want to