diff options
author | Jiaxin Wu <jiaxin.wu@intel.com> | 2023-09-21 20:15:44 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-12-20 02:30:56 +0000 |
commit | e14a022246f056847108e9e7882366fee4fece91 (patch) | |
tree | cf7ab231a809d20d453b0743024d7823858033a4 /BaseTools/Source/Python/GenFds/OptRomFileStatement.py | |
parent | 8c1e9f9c6fa7b5137003b0cfa6d54a6bada16d8e (diff) | |
download | edk2-e14a022246f056847108e9e7882366fee4fece91.tar.gz edk2-e14a022246f056847108e9e7882366fee4fece91.tar.bz2 edk2-e14a022246f056847108e9e7882366fee4fece91.zip |
UefiCpuPkg/PiSmmCpuDxeSmm: Optimize Semaphore Sync between BSP and AP
This patch is to define 3 new functions (WaitForBsp & ReleaseBsp &
ReleaseOneAp) used for the semaphore sync between BSP & AP. With the
change, BSP and AP Sync flow will be easy understand as below:
BSP: ReleaseAllAPs or ReleaseOneAp --> AP: WaitForBsp
BSP: WaitForAllAPs <-- AP: ReleaseBsp
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Zeng Star <star.zeng@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/OptRomFileStatement.py')
0 files changed, 0 insertions, 0 deletions