10#define MOCK_FDT_LIB_H_
22 MOCK_FUNCTION_DECLARATION (
27 MOCK_FUNCTION_DECLARATION (
32 MOCK_FUNCTION_DECLARATION (
37 MOCK_FUNCTION_DECLARATION (
42 MOCK_FUNCTION_DECLARATION (
47 MOCK_FUNCTION_DECLARATION (
52 MOCK_FUNCTION_DECLARATION (
57 MOCK_FUNCTION_DECLARATION (
63 MOCK_FUNCTION_DECLARATION (
70 MOCK_FUNCTION_DECLARATION (
76 MOCK_FUNCTION_DECLARATION (
82 MOCK_FUNCTION_DECLARATION (
86 IN INT32 ParentOffset,
90 MOCK_FUNCTION_DECLARATION (
97 IN INT32 PropertyLength)
99 MOCK_FUNCTION_DECLARATION (
107 MOCK_FUNCTION_DECLARATION (
113 MOCK_FUNCTION_DECLARATION (
119 MOCK_FUNCTION_DECLARATION (
126 MOCK_FUNCTION_DECLARATION (
131 IN INT32 *Length OPTIONAL)
133 MOCK_FUNCTION_DECLARATION (
137 IN INT32 ParentOffset,
140 MOCK_FUNCTION_DECLARATION (
149 MOCK_FUNCTION_DECLARATION (
156 MOCK_FUNCTION_DECLARATION (
INT32 EFIAPI FdtNodeDepth(IN CONST VOID *Fdt, IN INT32 NodeOffset)
UINT64 EFIAPI CpuToFdt64(IN UINT64 Value)
INT32 EFIAPI FdtNextPropertyOffset(IN CONST VOID *Fdt, IN INT32 Offset)
INT32 EFIAPI FdtNodeOffsetByPropertyValue(IN CONST VOID *Fdt, IN INT32 StartOffset, IN CONST CHAR8 *PropertyName, IN CONST VOID *PropertyValue, IN INT32 PropertyLength)
INT32 EFIAPI FdtFirstSubnode(IN CONST VOID *Fdt, IN INT32 Offset)
CONST FDT_PROPERTY *EFIAPI FdtGetProperty(IN CONST VOID *Fdt, IN INT32 NodeOffset, IN CONST CHAR8 *Name, IN INT32 *Length)
UINT64 EFIAPI Fdt64ToCpu(IN UINT64 Value)
CONST CHAR8 *EFIAPI FdtGetString(IN CONST VOID *Fdt, IN INT32 StrOffset, IN INT32 *Length OPTIONAL)
INT32 EFIAPI FdtSetProperty(IN VOID *Fdt, IN INT32 NodeOffset, IN CONST CHAR8 *Name, IN CONST VOID *Value, IN UINT32 Length)
UINT16 EFIAPI Fdt16ToCpu(IN UINT16 Value)
INT32 EFIAPI FdtSubnodeOffsetNameLen(IN CONST VOID *Fdt, IN INT32 ParentOffset, IN CONST CHAR8 *Name, IN INT32 NameLength)
INT32 EFIAPI FdtAddSubnode(IN VOID *Fdt, IN INT32 ParentOffset, IN CONST CHAR8 *Name)
UINT16 EFIAPI CpuToFdt16(IN UINT16 Value)
INT32 EFIAPI FdtNextNode(IN CONST VOID *Fdt, IN INT32 Offset, IN INT32 *Depth)
UINT32 EFIAPI CpuToFdt32(IN UINT32 Value)
INT32 EFIAPI FdtCheckHeader(IN CONST VOID *Fdt)
UINT32 EFIAPI Fdt32ToCpu(IN UINT32 Value)
INT32 EFIAPI FdtFirstPropertyOffset(IN CONST VOID *Fdt, IN INT32 NodeOffset)
CONST CHAR8 *EFIAPI FdtGetName(IN VOID *Fdt, IN INT32 NodeOffset, IN INT32 *Length)
INT32 EFIAPI FdtCreateEmptyTree(IN VOID *Buffer, IN UINT32 BufferSize)
INT32 EFIAPI FdtNextSubnode(IN CONST VOID *Fdt, IN INT32 Offset)
CONST FDT_PROPERTY *EFIAPI FdtGetPropertyByOffset(IN CONST VOID *Fdt, IN INT32 Offset, IN INT32 *Length)