]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c
UefiCpuPkg/PiSmmCpuDxeSmm: Refine code to avoid duplicated code.
authorEric Dong <eric.dong@intel.com>
Thu, 28 Sep 2017 09:12:38 +0000 (17:12 +0800)
committerEric Dong <eric.dong@intel.com>
Fri, 29 Sep 2017 01:54:10 +0000 (09:54 +0800)
commit94744aa2ce31797bd74a6e579dc34bcb406d4332
tree7a0fa7310ffd933296e58c226c44ccdefff14fba
parent7677b4db62975121a6478e8d31a314c8624cacd3
UefiCpuPkg/PiSmmCpuDxeSmm: Refine code to avoid duplicated code.

V2:
  Change function parameter to avoid touch global info in function.
  Enhance function name, make it more user friendly

V1:
  Refine code to avoid duplicate code to set processor register.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c