Hi Gerd,
This NULL library will be filled in the future.On Mon, Mar 11, 2024 at 02:39:02AM -0700, Chao Li wrote:This Library is used to collect APs resources, but is currently NULL for OvmfPkg, because it is not used by the LoongArch virtual machine.What is the point of having this library then?
OK, it will be removed next time.+#include <PiPei.h> +#include <Library/BaseLib.h> +#include <Library/HobLib.h> +#include <Library/MemoryAllocationLib.h> +#include <Register/LoongArch64/Csr.h> +#include "../../../UefiCpuPkg/Library/MpInitLib/LoongArch64/MpLib.h"Including private header files of other libraries looks questionable.
take care, Gerd