[AMD Official Use Only - General]
> -----Original Message----- > From: Ni, Ray <ray...@intel.com> > Sent: Monday, January 16, 2023 1:38 PM > To: devel@edk2.groups.io; Chang, Abner <abner.ch...@amd.com>; Wu, > Jiaxin <jiaxin...@intel.com> > Cc: Dong, Eric <eric.d...@intel.com>; Zeng, Star <star.z...@intel.com>; > Laszlo Ersek <ler...@redhat.com>; Gerd Hoffmann <kra...@redhat.com>; > Kumar, Rahul R <rahul.r.ku...@intel.com> > Subject: RE: [edk2-devel] [PATCH v2 3/4] UefiCpuPkg/SmmCpuFeaturesLib: > Skip to configure SMBASE > > Caution: This message originated from an External Source. Use proper > caution when opening attachments, clicking links, or responding. > > > > > + // > > > + // If gSmmBaseHobGuid found, means SmBase info has been relocated > > > and > > > + recorded // in the SmBase array. > > > + // > > > + mSmmCpuFeaturesSmmRelocated = (BOOLEAN)(GetFirstGuidHob > > > + (&gSmmBaseHobGuid) != NULL); > > We can have this code and mSmmCpuFeaturesSmmRelocated in the > > SmmCpuFeaturesLibConstructor so this mechanism can be leverage by > other vendors. > > Abner, > I guess you found this logic is useful in AMD flow. > Let's keep the current change as is and you could refactor the code later to > present a full picture how AMD flow is like. This is also fine to me. Thanks Abner > > Thanks, > Ray -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98549): https://edk2.groups.io/g/devel/message/98549 Mute This Topic: https://groups.io/mt/96247965/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-