TianoCore EDK2 master
Loading...
Searching...
No Matches
MockPostCodeLib.h
Go to the documentation of this file.
1
9#ifndef MOCK_POST_CODE_LIB_H_
10#define MOCK_POST_CODE_LIB_H_
11
14extern "C" {
15 #include <Uefi.h>
16 #include <Library/PostCodeLib.h>
17}
18
20 MOCK_INTERFACE_DECLARATION (MockPostCodeLib);
21
22 MOCK_FUNCTION_DECLARATION (
23 UINT32,
25 (
26 IN UINT32 Value
27 )
28 );
29
30 MOCK_FUNCTION_DECLARATION (
31 UINT32,
33 (
34 IN UINT32 Value,
35 IN CONST CHAR8 *Description OPTIONAL
36 )
37 );
38
39 MOCK_FUNCTION_DECLARATION (
40 BOOLEAN,
42 (
43
44 )
45 );
46
47 MOCK_FUNCTION_DECLARATION (
48 BOOLEAN,
50 (
51
52 )
53 );
54};
55
56#endif //MOCK_PCI_EXPRESS_LIB_H_
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
UINT32 EFIAPI PostCode(IN UINT32 Value)
Definition: PostCode.c:35
BOOLEAN EFIAPI PostCodeDescriptionEnabled(VOID)
Definition: PostCode.c:113
UINT32 EFIAPI PostCodeWithDescription(IN UINT32 Value, IN CONST CHAR8 *Description OPTIONAL)
Definition: PostCode.c:69
BOOLEAN EFIAPI PostCodeEnabled(VOID)
Definition: PostCode.c:92