Open Joey-Yu-nvt opened 3 weeks ago
Got wrong CPU count from FdtHelperCountCpus function.
https://github.com/microsoft/mu_tiano_platforms/blob/b5000539d55b6de3e5ec71f538e086f9b9608360/Platforms/QemuSbsaPkg/Library/FdtHelperLib/FdtHelperLib.c#L60
In FDT content, except "/cpus/cpu@0", "/cpus/cpu@1", ... nodes, additional node "/cpus/cpu-map" exists and counted by FdtHelperCountCpus function, but "/cpus/cpu-map" node not corresponds to any specific CPU core.
Got wrong CPU count from FdtHelperCountCpus function.
https://github.com/microsoft/mu_tiano_platforms/blob/b5000539d55b6de3e5ec71f538e086f9b9608360/Platforms/QemuSbsaPkg/Library/FdtHelperLib/FdtHelperLib.c#L60
In FDT content, except "/cpus/cpu@0", "/cpus/cpu@1", ... nodes, additional node "/cpus/cpu-map" exists and counted by FdtHelperCountCpus function, but "/cpus/cpu-map" node not corresponds to any specific CPU core.