https://git.reactos.org/?p=reactos.git;a=commitdiff;h=50ae5e7c5268222718174…
commit 50ae5e7c5268222718174221366169e2b115b06a
Author: Colin Finck <colin(a)reactos.org>
AuthorDate: Mon Oct 16 11:40:52 2017 +0200
[KD] [KD64] Introduce KdpPrintBanner and use it in all places where we print the (now consistent) banner instead of copying the code over and over again.
I still don't like that we're copying code between KD and KD64 instead of sharing it.
But as both modules are totally distinct at the moment, I won't be the one introducing shared functions between them.
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2cf30244cfc47c7749256…
commit 2cf30244cfc47c774925617bcc0785e09b0cf964
Author: Colin Finck <colin(a)reactos.org>
AuthorDate: Mon Oct 16 10:38:12 2017 +0200
[KD] Output the long commit hash as well at the start of the debug log.
This will be used by Testman.
Previously, it had to translate the short hash from the build number to a long hash, but such a database (GitInfo) only exists for commits in the master branch.
---
ntoskrnl/kd/kdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntoskrnl/kd/kdio.c b/ntoskrnl/kd/kdio.c
index 7b43657313..40795de8bc 100644
--- a/ntoskrnl/kd/kdio.c
+++ b/ntoskrnl/kd/kdio.c
@@ -382,7 +382,7 @@ KdpSerialInit(PKD_DISPATCH_TABLE DispatchTable,
/* Display separator + ReactOS version at start of the debug log */
DPRINT1("-----------------------------------------------------\n");
- DPRINT1("ReactOS "KERNEL_VERSION_STR" (Build "KERNEL_VERSION_BUILD_STR")\n");
+ DPRINT1("ReactOS " KERNEL_VERSION_STR " (Build " KERNEL_VERSION_BUILD_STR ") (Commit " KERNEL_VERSION_COMMIT_HASH "\n");
MemSizeMBs = KdpGetMemorySizeInMBs(KeLoaderBlock);
DPRINT1("%u System Processor [%u MB Memory]\n", KeNumberProcessors, MemSizeMBs);
DPRINT1("Command Line: %s\n", KeLoaderBlock->LoadOptions);