mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 00:55:48 +00:00
parent
e9eadcc168
commit
afceb3314e
3 changed files with 4 additions and 5 deletions
|
@ -222,7 +222,7 @@ DetectPciBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber)
|
||||||
0x0,
|
0x0,
|
||||||
0x0,
|
0x0,
|
||||||
0xFFFFFFFF,
|
0xFFFFFFFF,
|
||||||
"PCI BIOS"
|
"PCI BIOS",
|
||||||
&BiosKey);
|
&BiosKey);
|
||||||
|
|
||||||
/* Increment bus number */
|
/* Increment bus number */
|
||||||
|
|
|
@ -102,7 +102,6 @@ GetHarddiskIdentifier(PCHAR Identifier,
|
||||||
ULONG i;
|
ULONG i;
|
||||||
ULONG Checksum;
|
ULONG Checksum;
|
||||||
ULONG Signature;
|
ULONG Signature;
|
||||||
CHAR Identifier[20];
|
|
||||||
CHAR ArcName[256];
|
CHAR ArcName[256];
|
||||||
|
|
||||||
/* Read the MBR */
|
/* Read the MBR */
|
||||||
|
|
|
@ -160,11 +160,11 @@ FldrCreateComponentKey(IN PCONFIGURATION_COMPONENT_DATA SystemNode,
|
||||||
Component->Type = Type;
|
Component->Type = Type;
|
||||||
Component->Flags = Flags;
|
Component->Flags = Flags;
|
||||||
Component->Key = Key;
|
Component->Key = Key;
|
||||||
Component->Affinity = Affinity;
|
Component->AffinityMask = Affinity;
|
||||||
|
|
||||||
/* Set identifier */
|
/* Set identifier */
|
||||||
if (Identifier)
|
if (IdentifierString)
|
||||||
FldrSetIdentifier(ComponentData, Identifier);
|
FldrSetIdentifier(ComponentData, IdentifierString);
|
||||||
|
|
||||||
/* Return the child */
|
/* Return the child */
|
||||||
*ComponentKey = ComponentData;
|
*ComponentKey = ComponentData;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue