On 06/12/18 05:36, Zeng, Star wrote: > Sorry, fix typo. > > DXE > (SMM communcation) > InSmm = TRUE > SMM driver dispatcher/SMM handler > > InSmm = FALSE > (exit SMM communication) > DXE
Thank you Star, I'll have to remember this! Laszlo > -----Original Message----- > From: Zeng, Star > Sent: Tuesday, June 12, 2018 11:35 AM > To: Laszlo Ersek <ler...@redhat.com>; Wang, Jian J <jian.j.w...@intel.com>; > edk2-devel@lists.01.org > Cc: Ni, Ruiyu <ruiyu...@intel.com>; Yao, Jiewen <jiewen....@intel.com>; Dong, > Eric <eric.d...@intel.com>; Zeng, Star <star.z...@intel.com> > Subject: RE: [edk2] [PATCH 1/2] UefiCpuPkg/CpuDxe: allow accessing (DXE) page > table in SMM mode > > Share some information here according to my knowledge. > > The EFI_SMM_BASE2_PROTOCOL.InSmm definition in PI spec is really very > confusion. The naming for it are not consistent. > The interface name: In*Smm* > The typedef name of InSmm: EFI_*SMM_INSIDE_OUT*2 The second parameter name of > InSmm: In*Smram* > > In reality, the implementation of EFI_SMM_BASE2_PROTOCOL.InSmm in PiSmmIpl > returns the information that whether current executing code is SMM code or > executed from SMM code. > > DXE > (SMM communcation) > InSmm = TRUE > SMM driver dispatcher/SMM handler > > (exit SMM communication) > InSmm = FALSE > DXE _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel