summaryrefslogtreecommitdiffstats
path: root/src/svm/svm_fifo_segment.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-09-01 19:12:11 -0400
committerFlorin Coras <florin.coras@gmail.com>2017-09-06 18:30:55 +0000
commit91f3e744a37b9f6f3c87ac45e54142f16fd2d3d5 (patch)
treecbb3e1c008206a3209538dc41f8901bb10b7ca9c /src/svm/svm_fifo_segment.h
parent2951d901a5b6ac48b0203b2da9e35ea419b9b4d6 (diff)
Improve "show segment-manager segments"
Clean up private-segment fifo preallocation Change-Id: I53c630ed81d48f2832a204992d73635536926983 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/svm/svm_fifo_segment.h')
-rw-r--r--src/svm/svm_fifo_segment.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/svm/svm_fifo_segment.h b/src/svm/svm_fifo_segment.h
index 5cc4754a0a0..7c97e9b489f 100644
--- a/src/svm/svm_fifo_segment.h
+++ b/src/svm/svm_fifo_segment.h
@@ -118,7 +118,11 @@ void svm_fifo_segment_free_fifo (svm_fifo_segment_private_t * s,
void svm_fifo_segment_init (u64 baseva, u32 timeout_in_seconds);
u32 svm_fifo_segment_index (svm_fifo_segment_private_t * s);
u32 svm_fifo_segment_num_fifos (svm_fifo_segment_private_t * fifo_segment);
+u32 svm_fifo_segment_num_free_fifos (svm_fifo_segment_private_t *
+ fifo_segment, u32 fifo_size_in_bytes);
+
svm_fifo_segment_private_t *svm_fifo_segment_segments_pool (void);
+format_function_t format_svm_fifo_segment;
#endif /* __included_ssvm_fifo_segment_h__ */