[edk2] [PATCH v2] EmulatorPkg/Unix/Host fixed numeric pad function

2018-11-19 Thread Liu Yu
From: Pedroa Liu origin code in Unix Host numeric pad has no function in shell environment since we can't get "XK_KP_0 ~ XK_KP_9" from XGetKeyboardMapping just can get "numlock" key status. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pedroa Liu --- EmulatorPkg/Unix/

[edk2] 答复: EmulatorPkg/Unix/Host fixed numeric pad function

2018-11-18 Thread Liu Yu
status. 发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用 发件人: Gao, Liming 发送时间: Monday, November 19, 2018 8:52:10 AM 收件人: Liu Yu; "af...@apple.com; jordan.l.jus...@intel.com ; ruiyu.ni"@intel.com 抄送: edk2-devel@lists.01.o

[edk2] EmulatorPkg/Unix/Host fixed numeric pad function

2018-11-18 Thread Liu Yu
add numeric pad key map Signed-off-by: Pedroa Liu ---  EmulatorPkg/Unix/Host/X11GraphicsWindow.c | 54 ++-  1 file changed, 43 insertions(+), 11 deletions(-) diff --git a/EmulatorPkg/Unix/Host/X11GraphicsWindow.c b/EmulatorPkg/Unix/Host/X11GraphicsWindow.c index a3cc28c223.

Re: [edk2] [PATCH 2/2] Fixes: f89c018f3d "EmulatorPkg/Win: Enable 64bit (SEC, PEI, DXE all run at 64bit)"

2018-11-18 Thread Liu Yu
BUILD_OUTPUT_DIR=$WORKSPACE/Build/Emulator$PROCESSOR > > Can you add this to the commit message: > > Fixes: f89c018f3d "EmulatorPkg/Win: Enable 64bit (SEC,PEI,DXE all run at > 64bit)" > > -Jordan > > On 2018-11-17 20:13:02, Liu Yu wrote: >> correction BUIL

Re: [edk2] EmulatorPkg Unix Host Segmentation fault.

2018-11-18 Thread Liu Yu
ference GCC Manual description:   -O also turns on -fomit-frame-pointer on machines where doing so does not interfere with debugging. 在 2018/11/18 下午5:27, Jordan Justen 写道: > On 2018-11-17 20:51:11, Liu Yu wrote: >> OS: Ubuntu >> >> Toolchain:GCC48 > I don't have gc

[edk2] EmulatorPkg Unix Host Segmentation fault.

2018-11-17 Thread Liu Yu
OS: Ubuntu Toolchain:GCC48 Issue Description : Program received signal SIGSEGV, Segmentation fault. at /home/pedroa/workspace/orign/edkcrb/MdeModulePkg/Core/Pei/Memory/MemoryServices.c:129 129 Private->MemoryPages.Size = (UINTN) (Private->HobList.HandoffInformationTable->EfiMemoryTop

[edk2] [PATCH] EmulatorPkg/build.sh 64bit simulator execution issue

2018-11-17 Thread Liu Yu
correction BUILD_OUTPUT_DIR path Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pedroa Liu ---  EmulatorPkg/build.sh | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmulatorPkg/build.sh b/EmulatorPkg/build.sh index 339c6b3b4f..3abdab1db9 100755 --- a

[edk2] [PATCH] EmulatorPkg/build.sh 64bit simulator execution issue

2018-11-17 Thread Liu Yu
correction BUILD_OUTPUT_DIR path Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pedroa Liu ---  EmulatorPkg/build.sh | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmulatorPkg/build.sh b/EmulatorPkg/build.sh index 339c6b3b4f..3abdab1db9 100755 --- a

[edk2] UDK debugger Tool for Qemu under Linux

2018-05-30 Thread Liu Yu
Sorry to send a global mail Did anyone ever debug uefi program in Qemu with UDK Debugger Tool under Linux ? Here is my test step 1.Build OVMF -> ./build.sh -a X64 -D SOURCE_DEBUG_ENABLE -t GCC48 2. Making the name pipe -> mkfifo /tmp/serial.in mkfifo /tmp/serial.out 3. Settin

[edk2] UDK debugger Tool for Qemu under Linux

2018-05-30 Thread Liu Yu
Sorry to send a global mail Did anyone ever debug uefi program in Qemu with UDK Debugger Tool under Linux ? Here is my test step 1.Build OVMF -> ./build.sh -a X64 -D SOURCE_DEBUG_ENABLE -t GCC48 2. Making the name pipe -> mkfifo /tmp/serial.in mkfifo /tmp/serial.out 3. Settin

[edk2] EmulatorPkg Timezone

2018-03-08 Thread Liu Yu
Joradn, When I run the simulator , I found a ASSERT as below. // FileTimeToLocalTime() , Patch ID 99849a906e15ea3a9a0330d69bbae0d21ff49808 ASSERT ((Time->TimeZone >= -1440) && (Time->TimeZone <=1440)); ASSERT ((LocalTimeZone >= -1440) && (LocalTimeZone <=1440)); ASSERT ((Time->Month >=