Re: [edk2] [Patch 2/3] UefiCpuPkg/S3Resume2Pei: Send S3 resume finished event to SmmCore.

2017-10-10 Thread Dong, Eric
Hi Ray, I think we can just base on DXE phase bits to prepare the communication buffer. I send new patches base on it. please check them. Thanks, Eric -Original Message- From: Ni, Ruiyu Sent: Wednesday, October 11, 2017 11:25 AM To: Dong, Eric ;

Re: [edk2] [Patch 2/3] UefiCpuPkg/S3Resume2Pei: Send S3 resume finished event to SmmCore.

2017-10-10 Thread Ni, Ruiyu
Eric, We may have 4 combinations for PEI DXE CPU architecture: 1. 32bit PEI + 32bit DXE: sizeof (UINTN) == sizeof (UINT32) && NOT PcdDxeIplSwitchToLongMode 2. 32bit PEI + 64bit DXE: sizeof (UINTN) == sizeof (UINT32) && PcdDxeIplSwitchToLongMode 3. 64bit PEI + 32bit DXE: NA!!! 4. 64bit PEI +

[edk2] [Patch 2/3] UefiCpuPkg/S3Resume2Pei: Send S3 resume finished event to SmmCore.

2017-10-10 Thread Eric Dong
Driver will send S3 resume finished event to SmmCore through communicate buffer after it signals EndOfPei event. Cc: Ruiyu Ni Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong ---