navaraf@svn.reactos.com wrote:
Revert r18064 and correctly set the cell size for hash cells.
Modified: trunk/reactos/ntoskrnl/cm/regfile.c
*Modified: trunk/reactos/ntoskrnl/cm/regfile.c*
--- trunk/reactos/ntoskrnl/cm/regfile.c 2005-09-25 20:46:28 UTC (rev 18069) +++ trunk/reactos/ntoskrnl/cm/regfile.c 2005-09-25 20:54:40 UTC (rev 18070) @@ -3033,6 +3033,7 @@
else { ASSERT(SubKeyCount <= 0xffff); /* should really be USHORT_MAX or similar */
NewHashBlock->CellSize = -NewHashSize; NewHashBlock->Id = REG_HASH_TABLE_CELL_ID; NewHashBlock->HashTableSize = (USHORT)SubKeyCount; *HashBlock = NewHashBlock;
Are you sure that this change is correct? I'm not able to install reactos on real hardware. Reactos hangs within CmInitHives at the first boot after the second stage setup. The same boot cd works in qemu.
- Hartmut