2 * COPYRIGHT: See COPYING.ARM in the top level directory
3 * PROJECT: ReactOS UEFI Boot Library
4 * FILE: boot/environ/lib/io/fat.c
5 * PURPOSE: Boot Library FAT File System Management Routines
6 * PROGRAMMER: Alex Ionescu (alex.ionescu@reactos.org)
9 /* INCLUDES ******************************************************************/
13 /* DATA VARIABLES ************************************************************/
15 PVOID
* FatDeviceTable
;
16 ULONG FatDeviceTableEntries
;
17 PWCHAR FatpLongFileName
;
19 /* FUNCTIONS *****************************************************************/
25 _Out_ PBL_FILE_ENTRY
* FileEntry
28 EfiPrintf(L
"FAT Mount on Device %d TODO\r\n", DeviceId
);
30 return STATUS_NOT_IMPLEMENTED
;
40 /* Allocate the device table with 2 entries*/
41 FatDeviceTableEntries
= 2;
42 FatDeviceTable
= BlMmAllocateHeap(sizeof(PBL_FILE_ENTRY
) *
43 FatDeviceTableEntries
);
47 RtlZeroMemory(FatDeviceTable
,
48 sizeof(PBL_FILE_ENTRY
) * FatDeviceTableEntries
);
50 /* Allocate a 512 byte buffer for long file name conversion */
51 FatpLongFileName
= BlMmAllocateHeap(512);
52 Status
= FatpLongFileName
!= NULL
? STATUS_SUCCESS
: STATUS_NO_MEMORY
;
57 Status
= STATUS_NO_MEMORY
;
60 /* Return back to caller */