On Mon, Feb 13, 2023 at 04:44:13PM +0800, Jiaxin Wu wrote: > This patch is to replace mIsBsp by mBspApicId.
... and mIsBsp becomes the local variable IsBsp ... > EFIAPI > SmmInitHandler ( > VOID > ) > { > - UINT32 ApicId; > - UINTN Index; > + UINT32 ApicId; > + UINTN Index; > + BOOLEAN IsBsp; ... which allows running SmmInitHandler in parallel. Which is the motivation for the change. The commit message should explain that. The code changes are fine. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#100082): https://edk2.groups.io/g/devel/message/100082 Mute This Topic: https://groups.io/mt/96932000/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-