Author: gedmurphy
Date: Sat Apr 2 18:51:41 2011
New Revision: 51236
URL:
http://svn.reactos.org/svn/reactos?rev=51236&view=rev
Log:
[FULLFAT]
- Map the memory functions onto kernel APIs
Modified:
trunk/reactos/include/reactos/libs/fullfat/ff_config.h
trunk/reactos/include/reactos/libs/fullfat/ff_memory.h
Modified: trunk/reactos/include/reactos/libs/fullfat/ff_config.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/fullf…
==============================================================================
--- trunk/reactos/include/reactos/libs/fullfat/ff_config.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/libs/fullfat/ff_config.h [iso-8859-1] Sat Apr 2
18:51:41 2011
@@ -121,8 +121,8 @@
//---------- MALLOC
// These should map on to platform specific memory allocators.
-#define FF_MALLOC(aSize) malloc(aSize)
-#define FF_FREE(apPtr) free(apPtr)
+#define FF_MALLOC(aSize) FF_Malloc(aSize)
+#define FF_FREE(apPtr) FF_Free(apPtr)
//---------- IN-LINE FUNCTIONS
Modified: trunk/reactos/include/reactos/libs/fullfat/ff_memory.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/fullf…
==============================================================================
--- trunk/reactos/include/reactos/libs/fullfat/ff_memory.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/libs/fullfat/ff_memory.h [iso-8859-1] Sat Apr 2
18:51:41 2011
@@ -40,6 +40,12 @@
#include "ff_config.h"
#include "ff_types.h"
+
+#ifdef __REACTOS__
+// defined in fullfat.c
+void *FF_Malloc(FF_T_UINT32 allocSize);
+void FF_Free(void *pBuffer);
+#endif
/*
HT changed type of aOffset to u32