https://git.reactos.org/?p=reactos.git;a=commitdiff;h=00bd373e884c2d2db74b9b...
commit 00bd373e884c2d2db74b9b5242b561e69ddb72ca Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Tue Oct 11 07:39:40 2022 +0900 Commit: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com CommitDate: Tue Oct 11 07:39:40 2022 +0900
[NTOSKRNL] Revert 53ac8da and use UNIMPLEMENTED_DBGBREAK() --- ntoskrnl/io/iomgr/driver.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/io/iomgr/driver.c b/ntoskrnl/io/iomgr/driver.c index 495cc83a892..38589441ad4 100644 --- a/ntoskrnl/io/iomgr/driver.c +++ b/ntoskrnl/io/iomgr/driver.c @@ -1022,13 +1022,19 @@ IopInitializeBootDrivers(VOID)
/* Get highest group order index */ IopGroupIndex = PpInitGetGroupOrderIndex(NULL); - ASSERT(IopGroupIndex != 0xFFFF); + if (IopGroupIndex == 0xFFFF) + { + UNIMPLEMENTED_DBGBREAK(); + }
/* Allocate the group table */ IopGroupTable = ExAllocatePoolWithTag(PagedPool, IopGroupIndex * sizeof(LIST_ENTRY), TAG_IO); - ASSERT(IopGroupTable != NULL); + if (IopGroupTable == NULL) + { + UNIMPLEMENTED_DBGBREAK(); + }
/* Initialize the group table lists */ for (i = 0; i < IopGroupIndex; i++) InitializeListHead(&IopGroupTable[i]);