MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / DTSkipProperties

Function DTSkipProperties

Library/DeviceTreeLib/DeviceTreeLib.c:53–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51//
52
53STATIC
54DTEntry
55DTSkipProperties (
56 IN DTEntry Entry
57 )
58{
59 DTProperty *Prop;
60 UINT32 Count;
61
62 if (Entry == NULL || Entry->NumProperties == 0) {
63 return NULL;
64 } else {
65 Prop = (DTProperty *) (Entry + 1);
66 for (Count = 0; Count < Entry->NumProperties; ++Count) {
67 Prop = DEVICE_TREE_GET_NEXT_PROPERTY (Prop);
68 }
69 }
70
71 return (DTEntry) Prop;
72}
73
74STATIC
75DTEntry

Callers 2

DTSkipTreeFunction · 0.85
GetFirstChildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected