TianoCore EDK2 master
Loading...
Searching...
No Matches
MockUefiRuntimeServicesTableLib.h
Go to the documentation of this file.
1
8#ifndef MOCK_UEFI_RUNTIME_SERVICES_TABLE_LIB_H_
9#define MOCK_UEFI_RUNTIME_SERVICES_TABLE_LIB_H_
10
13extern "C" {
14 #include <Uefi.h>
16}
17
19 MOCK_INTERFACE_DECLARATION (MockUefiRuntimeServicesTableLib);
20
21 MOCK_FUNCTION_DECLARATION (
23 gRT_GetVariable,
24 (IN CHAR16 *VariableName,
25 IN EFI_GUID *VendorGuid,
26 OUT UINT32 *Attributes OPTIONAL,
27 IN OUT UINTN *DataSize,
28 OUT VOID *Data)
29 );
30
31 MOCK_FUNCTION_DECLARATION (
33 gRT_SetVariable,
34 (IN CHAR16 *VariableName,
35 IN EFI_GUID *VendorGuid,
36 IN UINT32 Attributes,
37 IN UINTN DataSize,
38 IN VOID *Data)
39 );
40
41 MOCK_FUNCTION_DECLARATION (
43 gRT_GetTime,
44 (OUT EFI_TIME *Time,
45 OUT EFI_TIME_CAPABILITIES *Capabilities OPTIONAL)
46 );
47};
48
49#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213