[freeldr] Move definition of maximum number of available file descriptors to fs.h

Fix typos

svn path=/trunk/; revision=43114
This commit is contained in:
Hervé Poussineau 2009-09-22 19:33:34 +00:00
parent 16c6a54da7
commit 9b86293dce
2 changed files with 6 additions and 3 deletions

View file

@ -163,7 +163,7 @@ ULONG FsGetNumPathParts(PCSTR Path)
}
num++;
DPRINTM(DPRINT_FILESYSTEM, "FatGetNumPathParts() Path = %s NumPathParts = %d\n", Path, num);
DPRINTM(DPRINT_FILESYSTEM, "FsGetNumPathParts() Path = %s NumPathParts = %d\n", Path, num);
return num;
}
@ -195,10 +195,9 @@ VOID FsGetFirstNameFromPath(PCHAR Buffer, PCSTR Path)
Buffer[i] = 0;
DPRINTM(DPRINT_FILESYSTEM, "FatGetFirstNameFromPath() Path = %s FirstName = %s\n", Path, Buffer);
DPRINTM(DPRINT_FILESYSTEM, "FsGetFirstNameFromPath() Path = %s FirstName = %s\n", Path, Buffer);
}
#define MAX_FDS 60
typedef struct tagFILEDATA
{
ULONG DeviceId;
@ -398,6 +397,8 @@ VOID FsRegisterDevice(CHAR* Prefix, const DEVVTBL* FuncTable)
DEVICE* pNewEntry;
ULONG dwLength;
DPRINTM(DPRINT_FILESYSTEM, "FsRegisterDevice() Prefix = %s\n", Prefix);
dwLength = strlen(Prefix) + 1;
pNewEntry = MmHeapAlloc(sizeof(DEVICE) + dwLength);
if (!pNewEntry)

View file

@ -57,4 +57,6 @@ VOID FsSetFilePointer(PFILE FileHandle, ULONG NewFilePointer);
ULONG FsGetNumPathParts(PCSTR Path);
VOID FsGetFirstNameFromPath(PCHAR Buffer, PCSTR Path);
#define MAX_FDS 60
#endif // #defined __FS_H