Re: [edk2] Building EmulatorPkg and EDK2 project issue.

2018-11-03 Thread Prem Kumar
Hi Andrew/Hot, Currently I'm trying to build EmulatorPkg using Visual Studio 2015. I'm able to build EmulatorPkg successfully but failing to launch. After going through bugzilla I've found below bug-Id, *Bug 1138* - [EmulatorPkg] Win host

Re: [edk2] Building EmulatorPkg and EDK2 project issue.

2018-11-03 Thread Prem Kumar
Yes, I'm using latest EDKII master cod. In latest EDK code I could see EmulatorPkg\Win folder not in previous/UDK2018 label. -- Thanks, Prem. On Sun, Nov 4, 2018 at 5:15 AM Tian, Hot wrote: > Are you using the latest EDKII master code? Windows support is added > recently by

Re: [edk2] Building EmulatorPkg and EDK2 project issue.

2018-11-03 Thread Tian, Hot
Are you using the latest EDKII master code? Windows support is added recently by https://bugzilla.tianocore.org/show_bug.cgi?id=1112. + Ruiyu Ni. Thanks, Hot -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Prem Kumar Sent: Sunday, November 04,

Re: [edk2] Building EmulatorPkg and EDK2 project issue.

2018-11-03 Thread Prem Kumar
Hi Andrew, Thanks for your explanation. After building for x64 I could see below error. C:\UEFIWorkspace\edk2-master_2018_Latest\Build\EmulatorX64\DEBUG_VS2015x86\X64>WinHost.exe EDK II WIN Host Emulation Environment from http://www.tianocore.org/edk2/ BootMode 0x00 OS Emulator passing in

Re: [edk2] Building EmulatorPkg and EDK2 project issue.

2018-11-03 Thread Andrew Fish
Prem, I've not run the emulator on Windows in a very very long time. But lets take a look at your error message. /Volumes/Case/UDK2018(vUDK2018)>git grep "Could not allocate PeiServicesTablePage" EmulatorPkg/Unix/Host/Host.c:508: printf ("MapFd0(): Could not allocate

Re: [edk2] Building EmulatorPkg and EDK2 project issue.

2018-11-03 Thread Prem Kumar
Hi Andrew, Thanks for your reply. Below is the error when trying to launch Emulator after successful build, *1.Launching Emulator using below command:* C:\UEFIWorkspace\edk2-master_2018_Latest>cd Build\EmulatorIA32\DEBUG_VS2015x86\IA32\ && WinHost.exe EDK II WIN Host Emulation Environment from

Re: [edk2] Building EmulatorPkg and EDK2 project issue.

2018-11-03 Thread Andrew Fish
Prem, Looks like the mailing list ate your attachment. What error did you see? Can you copy the text into an email? Thanks, Andrew Fish > On Nov 3, 2018, at 1:42 AM, Prem Kumar wrote: > > Hi All, > Any comments for this to proceed further. > > -- > Thanks & Regards, > Prem. > > On Wed,

Re: [edk2] Building EmulatorPkg and EDK2 project issue.

2018-11-03 Thread Prem Kumar
Hi All, Any comments for this to proceed further. -- Thanks & Regards, Prem. On Wed, Oct 31, 2018 at 5:48 PM Prem Kumar wrote: > Hi Liming, > Thanks for quick response and details, > > EmulatorPkg\Win > Above folder was not present in UDK2018. But available in EDK2 master > > When I used

[edk2] How to build EDK2 project for ARM using LLVM tool chain

2018-11-03 Thread Prem Kumar
Hi All, Kindly provide your comments to build EDK2 project for ARM AARCH64/ARM using LLVM tools chain under Windows environment. I've below tools, - Visual Studio 2015 - LLVM 4.0 Any pointer is helpful to proceed further. Note: I'm able to build EDK2 project(Nt32Pkg) using Visual studio

Re: [edk2] [PATCH] Maintainers.txt: Change package maintainer of UefiCpuPkg

2018-11-03 Thread Dong, Eric
Reviewed-by: Eric Dong > -Original Message- > From: Ni, Ruiyu > Sent: Friday, November 2, 2018 5:22 PM > To: edk2-devel@lists.01.org > Cc: Dong, Eric > Subject: [PATCH] Maintainers.txt: Change package maintainer of UefiCpuPkg > > Contributed-under: TianoCore Contribution Agreement 1.1

[edk2] [PATCH 0/2] fix ineffective guard page issue

2018-11-03 Thread Jian J Wang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1295 Jian J Wang (2): MdeModulePkg/Core: fill logic hole in MemoryProtectionCpuArchProtocolNotify MdeModulePkg/Core: fix ineffective guard page issue MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 44 +-- 1

[edk2] [PATCH 2/2] MdeModulePkg/Core: fix ineffective guard page issue

2018-11-03 Thread Jian J Wang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1295 This issue originates from following patch which allows to enable paging if PcdImageProtectionPolicy and PcdDxeNxMemoryProtectionPolicy (in addition to PcdSetNxForStack) are set to enable related features.

[edk2] [PATCH 1/2] MdeModulePkg/Core: fill logic hole in MemoryProtectionCpuArchProtocolNotify

2018-11-03 Thread Jian J Wang
At the end of of MemoryProtectionCpuArchProtocolNotify there's cleanup code to free resource. But at line 978, 994, 1005 the function returns directly. This patch use "goto" to replace "return" to make sure the resource is freed before exit. 1029: CoreCloseEvent (Event); 1030: return; Cc: Star