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>
16
49EFIAPI
51 IN VOID *Buffer,
52 IN OUT UINTN *BufferSize
53 )
54{
55 if (BufferSize == NULL) {
57 }
58
59 if ((*BufferSize != 0) && (Buffer == NULL)) {
61 }
62
63 *BufferSize = 0;
64
65 return EFI_SUCCESS;
66}
UINT64 UINTN
#define NULL
Definition: Base.h:319
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
#define RETURN_INVALID_PARAMETER
Definition: Base.h:1076
EFI_STATUS EFIAPI CreateMmPlatformHob(IN VOID *Buffer, IN OUT UINTN *BufferSize)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
#define EFI_SUCCESS
Definition: UefiBaseType.h:112