diff options
author | Eric Dong <eric.dong@intel.com> | 2018-07-24 22:25:41 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2018-07-26 16:54:09 +0800 |
commit | 2a5997f899bc0bb2851d3ba7168b78b36444e6f0 (patch) | |
tree | 087759ba21a2a02e685d985555b7f8e79eccb1c0 /BaseTools/Source/Python/Workspace/BuildClassObject.py | |
parent | 98d20e44dc72d9858523687fda11ab8fc570fcec (diff) | |
download | edk2-2a5997f899bc0bb2851d3ba7168b78b36444e6f0.tar.gz edk2-2a5997f899bc0bb2851d3ba7168b78b36444e6f0.tar.bz2 edk2-2a5997f899bc0bb2851d3ba7168b78b36444e6f0.zip |
UefiCpuPkg/MpInitLib: Remove redundant CpuStateFinished State.
Current CPU state definition include CpuStateIdle and CpuStateFinished.
After investigation, current code can use CpuStateIdle to replace the
CpuStateFinished. It will reduce the state number and easy for maintenance.
> Before this patch, the state transitions for an AP are:
>
> Idle ----> Ready ----> Busy ----> Finished ----> Idle
> [BSP] [AP] [AP] [BSP]
>
> After the patch, the state transitions for an AP are:
>
> Idle ----> Ready ----> Busy ----> Idle
> [BSP] [AP] [AP]
Cc: Laszlo Ersek <lersek@redhat.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>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/BuildClassObject.py')
0 files changed, 0 insertions, 0 deletions