diff options
| author | Miguel <m.i@gmx.at> | 2018-08-17 21:41:21 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-17 21:41:21 +0200 |
| commit | c15925a24efe14f437d8a2699500241a58fdc8f9 (patch) | |
| tree | c0db3a7d2a4f857324735df35e9cc1f0539c5f24 /kernel/ringbuffer.h | |
| parent | 6fd78c2ff950310d8372ec0353553cc4a5a43e72 (diff) | |
cleanup and working on fifo pipes
Diffstat (limited to 'kernel/ringbuffer.h')
| -rw-r--r-- | kernel/ringbuffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/ringbuffer.h b/kernel/ringbuffer.h index c79fdcf..bb2b875 100644 --- a/kernel/ringbuffer.h +++ b/kernel/ringbuffer.h @@ -6,6 +6,7 @@ // Simple FIRST IN FIRST OUT // requires kballoc - block allocation + typedef volatile struct ringbuffer_struct { uint32_t size; @@ -16,7 +17,7 @@ typedef volatile struct ringbuffer_struct }ringbuffer; -// create new fifo of given size (in blocks) +// create new fifo/ringbuffer of given size (in blocks) ringbuffer ringbuffer_init(uint32_t blocks); // true on success |
