[NTOSKRNL] Revert 53ac8da and use UNIMPLEMENTED_DBGBREAK()

This commit is contained in:
Katayama Hirofumi MZ 2022-10-11 07:39:40 +09:00
parent e63be36c68
commit 00bd373e88

View file

@ -1022,13 +1022,19 @@ IopInitializeBootDrivers(VOID)
/* Get highest group order index */ /* Get highest group order index */
IopGroupIndex = PpInitGetGroupOrderIndex(NULL); IopGroupIndex = PpInitGetGroupOrderIndex(NULL);
ASSERT(IopGroupIndex != 0xFFFF); if (IopGroupIndex == 0xFFFF)
{
UNIMPLEMENTED_DBGBREAK();
}
/* Allocate the group table */ /* Allocate the group table */
IopGroupTable = ExAllocatePoolWithTag(PagedPool, IopGroupTable = ExAllocatePoolWithTag(PagedPool,
IopGroupIndex * sizeof(LIST_ENTRY), IopGroupIndex * sizeof(LIST_ENTRY),
TAG_IO); TAG_IO);
ASSERT(IopGroupTable != NULL); if (IopGroupTable == NULL)
{
UNIMPLEMENTED_DBGBREAK();
}
/* Initialize the group table lists */ /* Initialize the group table lists */
for (i = 0; i < IopGroupIndex; i++) InitializeListHead(&IopGroupTable[i]); for (i = 0; i < IopGroupIndex; i++) InitializeListHead(&IopGroupTable[i]);