https://git.reactos.org/?p=reactos.git;a=commitdiff;h=fd8cacae4c67cd8a9af3d1e26e7916093ac9fad6

commit fd8cacae4c67cd8a9af3d1e26e7916093ac9fad6
Author:     Hervé Poussineau <[email protected]>
AuthorDate: Sun Mar 29 23:58:21 2020 +0200
Commit:     Hervé Poussineau <[email protected]>
CommitDate: Mon Mar 30 15:23:25 2020 +0200

    [NTOS:KE] Remove dead code
---
 ntoskrnl/ke/bug.c | 71 -------------------------------------------------------
 1 file changed, 71 deletions(-)

diff --git a/ntoskrnl/ke/bug.c b/ntoskrnl/ke/bug.c
index a92eb9297b9..7df5c21ed22 100644
--- a/ntoskrnl/ke/bug.c
+++ b/ntoskrnl/ke/bug.c
@@ -294,74 +294,6 @@ KeRosDumpStackFrames(IN PULONG_PTR Frame OPTIONAL,
     }
 }
 
-VOID
-NTAPI
-KeRosDumpTriageForBugZillaReport(VOID)
-{
-#if 0
-    extern BOOLEAN KiFastSystemCallDisable, KiSMTProcessorsPresent;
-    extern ULONG KeI386MachineType, MxcsrFeatureMask;
-    extern BOOLEAN Ke386Pae, Ke386NoExecute;
-
-    DbgPrint("ReactOS has crashed! Please go to http://jira.reactos.org/ to 
file a bug!\n");
-    DbgPrint("\nHardware Information\n");
-    DbgPrint("Processor Architecture: %d\n"
-             "Feature Bits: %d\n"
-             "System Call Disabled: %d\n"
-             "NPX Present: %d\n"
-             "MXCsr Mask: %d\n"
-             "MXCsr Feature Mask: %d\n"
-             "XMMI Present: %d\n"
-             "FXSR Present: %d\n"
-             "Machine Type: %d\n"
-             "PAE: %d\n"
-             "NX: %d\n"
-             "Processors: %d\n"
-             "Active Processors: %d\n"
-             "Pentium LOCK Bug: %d\n"
-             "Hyperthreading: %d\n"
-             "CPU Manufacturer: %s\n"
-             "CPU Name: %wZ\n"
-             "CPUID: %d\n"
-             "CPU Type: %d\n"
-             "CPU Stepping: %d\n"
-             "CPU Speed: %d\n"
-             "CPU L2 Cache: %d\n"
-             "BIOS Date: %wZ\n"
-             "BIOS Version: %wZ\n"
-             "Video BIOS Date: %wZ\n"
-             "Video BIOS Version: %wZ\n"
-             "Memory: %d\n",
-             KeProcessorArchitecture,
-             KeFeatureBits,
-             KiFastSystemCallDisable,
-             KeI386NpxPresent,
-             KiMXCsrMask,
-             MxcsrFeatureMask,
-             KeI386XMMIPresent,
-             KeI386FxsrPresent,
-             KeI386MachineType,
-             Ke386Pae,
-             Ke386NoExecute,
-             KeNumberProcessors,
-             KeActiveProcessors,
-             KiI386PentiumLockErrataPresent,
-             KiSMTProcessorsPresent,
-             KeGetCurrentPrcb()->VendorString,
-             &KeRosProcessorName,
-             KeGetCurrentPrcb()->CpuID,
-             KeGetCurrentPrcb()->CpuType,
-             KeGetCurrentPrcb()->CpuStep,
-             KeGetCurrentPrcb()->MHz,
-             ((PKIPCR)KeGetPcr())->SecondLevelCacheSize,
-             &KeRosBiosDate,
-             &KeRosBiosVersion,
-             &KeRosVideoBiosDate,
-             &KeRosVideoBiosVersion,
-             MmNumberOfPhysicalPages * PAGE_SIZE);
-#endif
-}
-
 VOID
 INIT_FUNCTION
 NTAPI
@@ -1143,9 +1075,6 @@ KeBugCheckWithTf(IN ULONG BugCheckCode,
              * We'll manually dump the stack for the user.
              */
             KeRosDumpStackFrames(NULL, 0);
-
-            /* ROS HACK 2: Generate something useful for Bugzilla */
-            KeRosDumpTriageForBugZillaReport();
         }
     }
 

Reply via email to