mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 00:58:16 +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:
parent
59924db62f
commit
be1265e3f8
|
@ -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_)
|
||||
|
||||
|
|
Loading…
Reference in a new issue