/*
- * $Id: fat.c,v 1.14 2001/01/16 09:55:02 dwelch Exp $
+ * $Id: fat.c,v 1.15 2001/01/16 15:43:42 dwelch Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
}
if (*((PUSHORT)(BaseAddress + ((FatStart + i) % PAGESIZE))) == 0)
{
- DPRINT1("Found available cluster 0x%x\n", i);
+ DPRINT("Found available cluster 0x%x\n", i);
*Cluster = i / 2;
CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE);
return(STATUS_SUCCESS);
}
if (Entry == 0)
{
- DPRINT1("Found available cluster 0x%x\n", i);
+ DPRINT("Found available cluster 0x%x\n", i);
*Cluster = i;
CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE);
}
CBlock = (PUCHAR)BaseAddress;
FATOffset = (ClusterToWrite * 12) / 8;
- DPRINT1("Writing 0x%x for 0x%x at 0x%x\n",
+ DPRINT("Writing 0x%x for 0x%x at 0x%x\n",
NewValue, ClusterToWrite, FATOffset);
if ((ClusterToWrite % 2) == 0)
{
}
}
- DPRINT1("Writing 0x%x for offset 0x%x 0x%x\n", NewValue, FATOffset,
+ DPRINT("Writing 0x%x for offset 0x%x 0x%x\n", NewValue, FATOffset,
ClusterToWrite);
*((PUSHORT)(BaseAddress + (FATOffset % PAGESIZE))) = NewValue;
Status = VfatWriteSectors(DeviceExt->StorageDevice,
BaseAddress);
CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE);
- DPRINT1("DeviceExt->Boot->FATSectors %d\n",
+ DPRINT("DeviceExt->Boot->FATSectors %d\n",
DeviceExt->Boot->FATSectors);
FATOffset = FATOffset + DeviceExt->Boot->FATSectors * BLOCKSIZE;
}
-/* $Id: rw.c,v 1.19 2001/01/16 09:55:02 dwelch Exp $
+/* $Id: rw.c,v 1.20 2001/01/16 15:43:42 dwelch Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* If we are writing into the cache or we are writing from a
* temporary buffer then copy the data over
*/
- DPRINT1("InternalOffset 0x%x InternalLength 0x%x BA %x Byte1 %c\n",
- InternalOffset, InternalLength, BaseAddress, *(PUCHAR)Source);
+ DPRINT("InternalOffset 0x%x InternalLength 0x%x BA %x\n",
+ InternalOffset, InternalLength, BaseAddress);
memcpy(BaseAddress + InternalOffset, Source, InternalLength);
}
/*
NTSTATUS Status;
BOOLEAN Extend;
- DPRINT1 ("VfatWriteFile(FileObject %x, Buffer %x, Length %x, "
+ DPRINT ("VfatWriteFile(FileObject %x, Buffer %x, Length %x, "
"WriteOffset %x\n", FileObject, Buffer, Length, WriteOffset);
/* Locate the first cluster of the file */