Defines |
| #define | FF_GPT_HEAD_ENTRY_SIZE 0x54 |
| #define | FF_GPT_HEAD_TOTAL_ENTRIES 0x50 |
| #define | FF_GPT_HEAD_PART_ENTRY_LBA 0x48 |
| #define | FF_GPT_ENTRY_FIRST_SECTOR_LBA 0x20 |
| #define | FF_GPT_HEAD_CRC 0x10 |
| #define | FF_GPT_HEAD_LENGTH 0x0C |
Functions |
| FF_T_UINT32 | FF_CountFreeClusters (FF_IOMAN *pIoman, FF_ERROR *pError) |
| static void | FF_IOMAN_InitBufferDescriptors (FF_IOMAN *pIoman) |
| | Initialises Buffer Descriptions as part of the FF_IOMAN object initialisation.
|
| FF_IOMAN * | FF_CreateIOMAN (FF_T_UINT8 *pCacheMem, FF_T_UINT32 Size, FF_T_UINT16 BlkSize, FF_ERROR *pError) |
| | Creates an FF_IOMAN object, to initialise FullFAT.
|
| FF_ERROR | FF_DestroyIOMAN (FF_IOMAN *pIoman) |
| | Destroys an FF_IOMAN object, and frees all assigned memory.
|
| FF_ERROR | FF_FlushCache (FF_IOMAN *pIoman) |
| | Flushes all Write cache buffers with no active Handles.
|
| FF_BUFFER * | FF_GetBuffer (FF_IOMAN *pIoman, FF_T_UINT32 Sector, FF_T_UINT8 Mode) |
| void | FF_ReleaseBuffer (FF_IOMAN *pIoman, FF_BUFFER *pBuffer) |
| | Releases a buffer resource.
|
| FF_ERROR | FF_RegisterBlkDevice (FF_IOMAN *pIoman, FF_T_UINT16 BlkSize, FF_WRITE_BLOCKS fnWriteBlocks, FF_READ_BLOCKS fnReadBlocks, void *pParam) |
| | Registers a device driver with FullFAT.
|
| FF_T_SINT32 | FF_BlockRead (FF_IOMAN *pIoman, FF_T_UINT32 ulSectorLBA, FF_T_UINT32 ulNumSectors, void *pBuffer) |
| FF_T_SINT32 | FF_BlockWrite (FF_IOMAN *pIoman, FF_T_UINT32 ulSectorLBA, FF_T_UINT32 ulNumSectors, void *pBuffer) |
| static FF_ERROR | FF_DetermineFatType (FF_IOMAN *pIoman) |
| static FF_T_SINT8 | FF_PartitionCount (FF_T_UINT8 *pBuffer) |
| static FF_ERROR | FF_GetEfiPartitionEntry (FF_IOMAN *pIoman, FF_T_UINT32 ulPartitionNumber) |
| FF_ERROR | FF_MountPartition (FF_IOMAN *pIoman, FF_T_UINT8 PartitionNumber) |
| | Mounts the Specified partition, the volume specified by the FF_IOMAN object provided.
|
| FF_ERROR | FF_UnregisterBlkDevice (FF_IOMAN *pIoman) |
| | Unregister a Blockdevice, so that the IOMAN can be re-used for another device.
|
| static FF_T_BOOL | FF_ActiveHandles (FF_IOMAN *pIoman) |
| | Checks the cache for Active Handles.
|
| FF_ERROR | FF_UnmountPartition (FF_IOMAN *pIoman) |
| | Unmounts the active partition.
|
| FF_ERROR | FF_IncreaseFreeClusters (FF_IOMAN *pIoman, FF_T_UINT32 Count) |
| FF_ERROR | FF_DecreaseFreeClusters (FF_IOMAN *pIoman, FF_T_UINT32 Count) |
| FF_T_SINT32 | FF_GetPartitionBlockSize (FF_IOMAN *pIoman) |
| | Returns the Block-size of a mounted Partition.
|
| FF_T_UINT32 | FF_GetVolumeSize (FF_IOMAN *pIoman) |
- Author:
- James Walmsley
Definition in file ff_ioman.c.