[edk2-devel] [PATCH] UefiCpuPkg/MpInitLib: Simplify logic in SwitchBsp

Ni, Ray ray.ni at intel.com
Thu Aug 25 09:18:16 UTC 2022


> 
>      ;Store EFLAGS, GDTR and IDTR register to stack
>      pushfd

Can you update the comments?

> -    mov        eax, cr4
> -    push       eax       ; push cr4 firstly
> -    mov        eax, cr0
> -    push       eax
> -
> -    sgdt       [esi + CPU_EXCHANGE_ROLE_INFO.Gdtr]
> -    sidt       [esi + CPU_EXCHANGE_ROLE_INFO.Idtr]
> 
>  



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#92805): https://edk2.groups.io/g/devel/message/92805
Mute This Topic: https://groups.io/mt/93241592/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list