Skip to content

Commit bc2ee14

Browse files
Revert "[FREELDR] Reimplement FldrCreateSystemKey around FldrCreateComponentKey."
This reverts commit 8f4d28f. Fixes archswup.c
1 parent 46fa7b1 commit bc2ee14

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

boot/freeldr/freeldr/arch/archwsup.c

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -164,39 +164,6 @@ FldrCreateSystemKey(
164164
*SystemNode = FldrArcHwTreeRoot;
165165
}
166166

167-
VOID
168-
FldrCreateSystemKey(
169-
_Out_ PCONFIGURATION_COMPONENT_DATA* SystemNode,
170-
_In_ PCSTR IdentifierString)
171-
{
172-
PCONFIGURATION_COMPONENT Component;
173-
174-
/* Allocate the root */
175-
FldrArcHwTreeRoot = FrLdrHeapAlloc(sizeof(CONFIGURATION_COMPONENT_DATA),
176-
TAG_HW_COMPONENT_DATA);
177-
if (!FldrArcHwTreeRoot) return;
178-
179-
/* Set it up */
180-
Component = &FldrArcHwTreeRoot->ComponentEntry;
181-
Component->Class = SystemClass;
182-
Component->Type = MaximumType;
183-
Component->ConfigurationDataLength = 0;
184-
Component->Identifier = 0;
185-
Component->IdentifierLength = 0;
186-
Component->Flags = 0;
187-
Component->Version = 0;
188-
Component->Revision = 0;
189-
Component->Key = 0;
190-
Component->AffinityMask = 0xFFFFFFFF;
191-
192-
/* Set identifier */
193-
if (IdentifierString)
194-
FldrSetIdentifier(Component, IdentifierString);
195-
196-
/* Return the node */
197-
*SystemNode = FldrArcHwTreeRoot;
198-
}
199-
200167
static VOID
201168
FldrLinkToParent(
202169
_In_ PCONFIGURATION_COMPONENT_DATA Parent,

0 commit comments

Comments
 (0)