Permalink
Browse files

Add memory management

  • Loading branch information...
1 parent 083cf97 commit 3849a105e3fe4606704609d96a6025385598cdba @sbourdeauducq sbourdeauducq committed Jul 30, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 rtems/rtems_yaffs.c
View
12 rtems/rtems_yaffs.c
@@ -36,6 +36,18 @@
#include "rtems_yaffs.h"
+/* memory management */
+
+void *yaffsfs_malloc(size_t size)
+{
+ return malloc(size);
+}
+
+void yaffsfs_free(void *ptr)
+{
+ free(ptr);
+}
+
/* locking */
static void ylock(struct yaffs_dev *dev)

0 comments on commit 3849a10

Please sign in to comment.