Re: [edk2] [PATCH 07/10] EmulatorPkg/AutoScanPei: Report the correct CPU address size

2018-08-28 Thread Ni, Ruiyu
On 8/29/2018 9:54 AM, Wu, Hao A wrote: -Original Message- From: Ni, Ruiyu Sent: Monday, August 27, 2018 3:53 PM To: edk2-devel@lists.01.org Cc: Wu, Hao A; Andrew Fish Subject: [PATCH 07/10] EmulatorPkg/AutoScanPei: Report the correct CPU address size REF:

Re: [edk2] [PATCH 07/10] EmulatorPkg/AutoScanPei: Report the correct CPU address size

2018-08-28 Thread Wu, Hao A
> -Original Message- > From: Ni, Ruiyu > Sent: Monday, August 27, 2018 3:53 PM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A; Andrew Fish > Subject: [PATCH 07/10] EmulatorPkg/AutoScanPei: Report the correct CPU > address size > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1119 >

[edk2] [PATCH 07/10] EmulatorPkg/AutoScanPei: Report the correct CPU address size

2018-08-27 Thread Ruiyu Ni
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1119 Today's implementation unconditionally reports CPU address size as 36 through CPU HOB. But when WinHost is running at 64bit, the system memory might be allocated above 2^36. It causes system asserts when DxeCore code tries to find the