EmulatorPkg/CpuRuntimeDxe: Fix typos in MpService
mMpSercicesTemplate => mMpServicesTemplate Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15599 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
523f48e771
commit
d070eef803
|
@ -236,7 +236,7 @@ CpuMpServicesWhoAmI (
|
||||||
OUT UINTN *ProcessorNumber
|
OUT UINTN *ProcessorNumber
|
||||||
);
|
);
|
||||||
|
|
||||||
extern EFI_MP_SERVICES_PROTOCOL mMpSercicesTemplate;
|
extern EFI_MP_SERVICES_PROTOCOL mMpServicesTemplate;
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -59,7 +59,7 @@ IsBSP (
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
UINTN ProcessorNumber;
|
UINTN ProcessorNumber;
|
||||||
|
|
||||||
Status = CpuMpServicesWhoAmI (&mMpSercicesTemplate, &ProcessorNumber);
|
Status = CpuMpServicesWhoAmI (&mMpServicesTemplate, &ProcessorNumber);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -936,7 +936,7 @@ CpuMpServicesWhoAmI (
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EFI_MP_SERVICES_PROTOCOL mMpSercicesTemplate = {
|
EFI_MP_SERVICES_PROTOCOL mMpServicesTemplate = {
|
||||||
CpuMpServicesGetNumberOfProcessors,
|
CpuMpServicesGetNumberOfProcessors,
|
||||||
CpuMpServicesGetProcessorInfo,
|
CpuMpServicesGetProcessorInfo,
|
||||||
CpuMpServicesStartupAllAps,
|
CpuMpServicesStartupAllAps,
|
||||||
|
@ -1348,7 +1348,7 @@ CpuMpServicesInit (
|
||||||
Handle = NULL;
|
Handle = NULL;
|
||||||
Status = gBS->InstallMultipleProtocolInterfaces (
|
Status = gBS->InstallMultipleProtocolInterfaces (
|
||||||
&Handle,
|
&Handle,
|
||||||
&gEfiMpServiceProtocolGuid, &mMpSercicesTemplate,
|
&gEfiMpServiceProtocolGuid, &mMpServicesTemplate,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
return Status;
|
return Status;
|
||||||
|
|
Loading…
Reference in New Issue