MinPlatformPkg: Sort ApicIdOrderTable by special rules
Sort ApicIdOrderTable by following special rules: 1. Make sure BSP is the first entry. 2. For APs, big core first, then small core. With this implementation, BIOS can present cores in order of relative performance in MADT. Linux OS would schedule cores by the order that they are presented in the MADT LocalX2ApicStruct entries.Then Linux OS would think of this as relative performance order. This implementation can benefit the linux os usage case. Signed-off-by:Dun Tan <dun.tan@intel.com> Reviewed-by:
Ray Ni <ray.ni@intel.com> Reviewed-by:
Chasel Chiu <chasel.chiu@intel.com> Cc: Jason Lou <yun.lou@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Eric Dong <eric.dong@intel.com>
Loading
Please register or sign in to comment