Add missing PELOADER entry + fix one debug message
svn path=/trunk/; revision=45994
case DPRINT_HWDETECT:
DbgPrint("HWDETECT: ");
break;
case DPRINT_HWDETECT:
DbgPrint("HWDETECT: ");
break;
+ case DPRINT_PELOADER:
+ DbgPrint("PELOADER: ");
+ break;
+ case DPRINT_SCSIPORT:
+ DbgPrint("SCSIPORT: ");
+ break;
default:
DbgPrint("UNKNOWN: ");
break;
default:
DbgPrint("UNKNOWN: ");
break;
+ // Disable file/line for scsiport messages
+ if (Mask & DPRINT_SCSIPORT)
+ {
+ DebugStartOfLine = FALSE;
+ }
+
// Print the header if we have started a new line
if (DebugStartOfLine)
{
// Print the header if we have started a new line
if (DebugStartOfLine)
{
#define DPRINT_HWDETECT 0x00000400 // OR this with DebugPrintMask to enable hardware detection messages
#define DPRINT_WINDOWS 0x00000800 // OR this with DebugPrintMask to enable messages from Windows loader
#define DPRINT_PELOADER 0x00001000 // OR this with DebugPrintMask to enable messages from PE images loader
#define DPRINT_HWDETECT 0x00000400 // OR this with DebugPrintMask to enable hardware detection messages
#define DPRINT_WINDOWS 0x00000800 // OR this with DebugPrintMask to enable messages from Windows loader
#define DPRINT_PELOADER 0x00001000 // OR this with DebugPrintMask to enable messages from PE images loader
+#define DPRINT_SCSIPORT 0x00002000 // OR this with DebugPrintMask to enable messages from SCSI miniport
extern char* g_file;
extern int g_line;
extern char* g_file;
extern int g_line;
PLDR_DATA_TABLE_ENTRY DataTableEntry;
LIST_ENTRY *ModuleEntry;
PLDR_DATA_TABLE_ENTRY DataTableEntry;
LIST_ENTRY *ModuleEntry;
- DPRINTM(DPRINT_PELOADER, "WinLdrCheckForLoadedDll: DllName %X, LoadedEntry: %X\n",
+ DPRINTM(DPRINT_PELOADER, "WinLdrCheckForLoadedDll: DllName %s, LoadedEntry: %X\n",
DllName, LoadedEntry);
/* Just go through each entry in the LoadOrderList and compare loaded module's
DllName, LoadedEntry);
/* Just go through each entry in the LoadOrderList and compare loaded module's