diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-11 18:22:27 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-11 18:22:27 +0000 |
commit | 205242a575697630d073edc02a6341e6d9be22a6 (patch) | |
tree | 55bdc1b853ebf75814934f703ed60373b1e2e0e1 /nuttx/fs/fat/fs_fat32.h | |
parent | 88da8a5b4f042532c0b980510b0d90b77158eff4 (diff) | |
download | px4-nuttx-205242a575697630d073edc02a6341e6d9be22a6.tar.gz px4-nuttx-205242a575697630d073edc02a6341e6d9be22a6.tar.bz2 px4-nuttx-205242a575697630d073edc02a6341e6d9be22a6.zip |
Add beginning of a simple granule allocator to support DMA IO buffer allocation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5129 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fat/fs_fat32.h')
-rw-r--r-- | nuttx/fs/fat/fs_fat32.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/fs/fat/fs_fat32.h b/nuttx/fs/fat/fs_fat32.h index c7fa5219c..71a21333b 100644 --- a/nuttx/fs/fat/fs_fat32.h +++ b/nuttx/fs/fat/fs_fat32.h @@ -697,11 +697,11 @@ ****************************************************************************/ #ifdef CONFIG_FAT_DMAMEMORY -# define fat_io_alloc(s) fat_dma_alloc(s) -# define fat_io_free(s) fat_dma_free(s) +# define fat_io_alloc(s) fat_dma_alloc(s) +# define fat_io_free(m,s) fat_dma_free(m,s) #else -# define fat_io_alloc(s) kmalloc(s) -# define fat_io_free(s) kfree(s) +# define fat_io_alloc(s) kmalloc(s) +# define fat_io_free(m,s) kfree(m) #endif /**************************************************************************** |