mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-10 23:09:18 +00:00
library: Return if Length == 0 in DumpData
This commit is contained in:
@ -39,6 +39,9 @@ void WriteRaw(const char *format, ...)
|
|||||||
|
|
||||||
void DumpData(const char *Description, void *Address, unsigned long Length)
|
void DumpData(const char *Description, void *Address, unsigned long Length)
|
||||||
{
|
{
|
||||||
|
if (Length == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
SmartLock(DumperLock);
|
SmartLock(DumperLock);
|
||||||
WriteRaw("-------------------------------------------------------------------------\n");
|
WriteRaw("-------------------------------------------------------------------------\n");
|
||||||
unsigned char *AddressChar = (unsigned char *)Address;
|
unsigned char *AddressChar = (unsigned char *)Address;
|
||||||
|
Reference in New Issue
Block a user