10 #if GFX_USE_GFILE && GFILE_NEED_FATFS && !GFILE_FATFS_EXTERNAL_LIB
15 #include "../../3rdparty/fatfs-0.13/source/ff.c"
16 #include "../../3rdparty/fatfs-0.13/source/ffunicode.c"
23 static gSem ff_sem[_VOLUMES];
28 int ff_cre_syncobj(BYTE vol, _SYNC_t *sobj)
39 int ff_del_syncobj(_SYNC_t sobj)
49 int ff_req_grant(_SYNC_t sobj)
59 void ff_rel_grant(_SYNC_t sobj)
69 void *ff_memalloc(UINT size)
77 void ff_memfree(
void *mblock)
void gfxSemSignal(gSem *psem)
Signal a semaphore.
gBool gfxSemWait(gSem *psem, gDelay ms)
Wait on a semaphore.
void * gfxAlloc(gMemSize sz)
Allocate memory.
void gfxSemDestroy(gSem *psem)
Destroy a Counted Semaphore.
void gfxSemInit(gSem *psem, gSemcount val, gSemcount limit)
Initialise a Counted Semaphore.
void gfxFree(void *ptr)
Free memory.