8#ifndef MOCK_MP_SERVICE_H_
9#define MOCK_MP_SERVICE_H_
22 MOCK_FUNCTION_DECLARATION (
32 MOCK_FUNCTION_DECLARATION (
42 MOCK_FUNCTION_DECLARATION (
48 IN BOOLEAN SingleThread,
51 IN VOID *ProcedureArgument OPTIONAL,
56 MOCK_FUNCTION_DECLARATION (
65 IN VOID *ProcedureArgument OPTIONAL,
66 OUT BOOLEAN *Finished OPTIONAL
70 MOCK_FUNCTION_DECLARATION (
76 IN BOOLEAN EnableOldBSP
80 MOCK_FUNCTION_DECLARATION (
87 IN UINT32 *HealthFlag OPTIONAL
91 MOCK_FUNCTION_DECLARATION (
STATIC EFI_STATUS EFIAPI StartupThisAP(IN EFI_MP_SERVICES_PROTOCOL *This, IN EFI_AP_PROCEDURE Procedure, IN UINTN ProcessorNumber, IN EFI_EVENT WaitEvent OPTIONAL, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL, OUT BOOLEAN *Finished OPTIONAL)
STATIC EFI_STATUS EFIAPI SwitchBSP(IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP)
STATIC EFI_STATUS EFIAPI EnableDisableAP(IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL)
STATIC EFI_STATUS EFIAPI GetProcessorInfo(IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorIndex, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer)
STATIC EFI_STATUS EFIAPI WhoAmI(IN EFI_MP_SERVICES_PROTOCOL *This, OUT UINTN *ProcessorNumber)
STATIC EFI_STATUS EFIAPI StartupAllAPs(IN EFI_MP_SERVICES_PROTOCOL *This, IN EFI_AP_PROCEDURE Procedure, IN BOOLEAN SingleThread, IN EFI_EVENT WaitEvent OPTIONAL, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL, OUT UINTN **FailedCpuList OPTIONAL)
STATIC EFI_STATUS EFIAPI GetNumberOfProcessors(IN EFI_MP_SERVICES_PROTOCOL *This, OUT UINTN *NumberOfProcessors, OUT UINTN *NumberOfEnabledProcessors)
VOID(EFIAPI * EFI_AP_PROCEDURE)(IN OUT VOID *Buffer)