mirror of https://github.com/acidanthera/audk.git
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
|
||||
);
|
||||
|
||||
extern EFI_MP_SERVICES_PROTOCOL mMpSercicesTemplate;
|
||||
extern EFI_MP_SERVICES_PROTOCOL mMpServicesTemplate;
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
@ -59,7 +59,7 @@ IsBSP (
|
|||
EFI_STATUS Status;
|
||||
UINTN ProcessorNumber;
|
||||
|
||||
Status = CpuMpServicesWhoAmI (&mMpSercicesTemplate, &ProcessorNumber);
|
||||
Status = CpuMpServicesWhoAmI (&mMpServicesTemplate, &ProcessorNumber);
|
||||
if (EFI_ERROR (Status)) {
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -936,7 +936,7 @@ CpuMpServicesWhoAmI (
|
|||
|
||||
|
||||
|
||||
EFI_MP_SERVICES_PROTOCOL mMpSercicesTemplate = {
|
||||
EFI_MP_SERVICES_PROTOCOL mMpServicesTemplate = {
|
||||
CpuMpServicesGetNumberOfProcessors,
|
||||
CpuMpServicesGetProcessorInfo,
|
||||
CpuMpServicesStartupAllAps,
|
||||
|
@ -1348,7 +1348,7 @@ CpuMpServicesInit (
|
|||
Handle = NULL;
|
||||
Status = gBS->InstallMultipleProtocolInterfaces (
|
||||
&Handle,
|
||||
&gEfiMpServiceProtocolGuid, &mMpSercicesTemplate,
|
||||
&gEfiMpServiceProtocolGuid, &mMpServicesTemplate,
|
||||
NULL
|
||||
);
|
||||
return Status;
|
||||
|
|
Loading…
Reference in New Issue