Multiprocessing with UEFI
Multiprocessing with UEFI
Multiprocessing with UEFI
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
GetMpInfo// Find the MP Services ProtocolStatus = gBS->LocateProtocol( &gEfiMpServiceProtocolGuid, NULL, &MpProto);if (EFI_ERROR(Status)) {Print(L"Unable to locate the MpService procotol: %r\n", Status);break;}// Get Number of Processors and Number of Enabled ProcessorsStatus = MpProto->GetNumberOfProcessors( MpProto, &NumProc, &NumEnabled);if (EFI_ERROR(Status)) {Print(L"Unable to get the number of processors: %r\n", Status);break;}// Get Processor Health and Location informationStatus = MpProto->GetProcessorInfo( MpProto, ProcNum, &Tcb);if (EFI_ERROR(Status)) {Print(L"Unable to get information for proc. %d: %r\n", ProcNum, Status);}8 Daryl McDaniel8