TianoCore EDK2
master
Loading...
Searching...
No Matches
MmPlatformHobProducerLibNull.c
Go to the documentation of this file.
1
13
#include <
Uefi.h
>
14
#include <
PiPei.h
>
15
#include <
Library/MmPlatformHobProducerLib.h
>
16
48
EFI_STATUS
49
EFIAPI
50
CreateMmPlatformHob
(
51
IN
VOID *Buffer,
52
IN
OUT
UINTN
*BufferSize
53
)
54
{
55
if
(BufferSize ==
NULL
) {
56
return
RETURN_INVALID_PARAMETER
;
57
}
58
59
if
((*BufferSize != 0) && (Buffer ==
NULL
)) {
60
return
RETURN_INVALID_PARAMETER
;
61
}
62
63
*BufferSize = 0;
64
65
return
EFI_SUCCESS
;
66
}
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
NULL
#define NULL
Definition:
Base.h:319
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
RETURN_INVALID_PARAMETER
#define RETURN_INVALID_PARAMETER
Definition:
Base.h:1076
MmPlatformHobProducerLib.h
CreateMmPlatformHob
EFI_STATUS EFIAPI CreateMmPlatformHob(IN VOID *Buffer, IN OUT UINTN *BufferSize)
Definition:
MmPlatformHobProducerLibNull.c:50
PiPei.h
Uefi.h
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_SUCCESS
#define EFI_SUCCESS
Definition:
UefiBaseType.h:112
StandaloneMmPkg
Library
MmPlatformHobProducerLibNull
MmPlatformHobProducerLibNull.c
Generated on Fri Nov 15 2024 18:01:25 for TianoCore EDK2 by
1.9.6