mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
- Fix freeldr release build breakage from 39638 by correcting non-debug DPRINTM, and wrap some debug code inside a DBG to silence a 'unused variable' warning
svn path=/trunk/; revision=39659
This commit is contained in:
@@ -163,6 +163,7 @@ BOOLEAN DiskGetExtendedDriveParameters(ULONG DriveNumber, PVOID Buffer, USHORT B
|
||||
|
||||
memcpy(Buffer, Ptr, BufferSize);
|
||||
|
||||
#ifdef DBG
|
||||
DPRINTM(DPRINT_DISK, "size of buffer: %x\n", Ptr[0]);
|
||||
DPRINTM(DPRINT_DISK, "information flags: %x\n", Ptr[1]);
|
||||
DPRINTM(DPRINT_DISK, "number of physical cylinders on drive: %u\n", *(PULONG)&Ptr[2]);
|
||||
@@ -192,6 +193,7 @@ BOOLEAN DiskGetExtendedDriveParameters(ULONG DriveNumber, PVOID Buffer, USHORT B
|
||||
{
|
||||
DPRINTM(DPRINT_DISK, "signature: %x\n", Ptr[15]);
|
||||
}
|
||||
#endif
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ void MEMORY_WRITE_BREAKPOINT4(unsigned long addr);
|
||||
#else
|
||||
|
||||
#define DebugInit()
|
||||
#define DPRINTM(_x_)
|
||||
#define DPRINTM(_x_, ...)
|
||||
#define BugCheck(_x_)
|
||||
#define DbgDumpBuffer(_x_, _y_, _z_)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user