projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: add doxygen documentation
[bertos.git]
/
bertos
/
io
/
kblock_ram.h
diff --git
a/bertos/io/kblock_ram.h
b/bertos/io/kblock_ram.h
index f913b7662b2d4c2f686669df52ba9f9811263c72..2b518901599880b933d0d25e2e035168a2bcf44f 100644
(file)
--- a/
bertos/io/kblock_ram.h
+++ b/
bertos/io/kblock_ram.h
@@
-30,9
+30,9
@@
*
* -->
*
*
* -->
*
- * \author Francesco Sacchi <batt@develer.com>
- *
* \brief KBlock interface
* \brief KBlock interface
+ *
+ * \author Francesco Sacchi <batt@develer.com>
*/
#ifndef KBLOCK_RAM_H
*/
#ifndef KBLOCK_RAM_H
@@
-44,7
+44,6
@@
typedef struct KBlockRam
{
KBlock b;
typedef struct KBlockRam
{
KBlock b;
- uint8_t *pagebuf;
uint8_t *membuf;
} KBlockRam;
uint8_t *membuf;
} KBlockRam;
@@
-57,6
+56,6
@@
INLINE KBlockRam *KBLOCKRAM_CAST(KBlock *b)
return (KBlockRam *)b;
}
return (KBlockRam *)b;
}
-void kblockram_init(KBlockRam *ram, void *buf, size_t size, size_t block_size);
+void kblockram_init(KBlockRam *ram, void *buf, size_t size, size_t block_size
, bool buffered, bool hwbuffered
);
#endif /* KBLOCK_RAM_H */
#endif /* KBLOCK_RAM_H */