When CPU MP PPI installed, CPU MP PPI Services will be fully usable.

Thanks!
Jeff
-----Original Message-----
From: Laszlo Ersek [mailto:[email protected]] 
Sent: Tuesday, July 05, 2016 9:10 PM
To: Kinney, Michael D; Fan, Jeff; Justen, Jordan L
Cc: Paolo Bonzini; edk2-devel-01
Subject: Re: [edk2] multiprocessing in PEI?

On 07/05/16 12:01, Laszlo Ersek wrote:

> Not sure if we should add this client code to OvmfPkg/PlatformPei, due 
> to the DEPEX. OvmfPkg/PlatformPei is the PEIM that installs the 
> permanent PEI RAM, so if we added this DEPEX to it, that would force 
> CpuMpPei to run from temporary PEI RAM. I don't know if that would be 
> feasible. ... Actually, it would lead to a DEPEX circle: CpuMpPei 
> explicitly depends on gEfiPeiMemoryDiscoveredPpiGuid (it can only run 
> from permament PEI RAM). So a separate client PEIM for OvmfPkg would 
> be mandatory.

Alternatively, we could use EFI_PEI_SERVICES.NotifyPpi() from 
OvmfPkg/PlatformPei, I guess. That would require that the 
EFI_PEI_MP_SERVICES_PPI services be fully usable as soon as the callback is 
called.

Thanks
Laszlo
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to