summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristoffer Dall <christoffer.dall@linaro.org>2014-06-23 15:50:05 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-06-23 16:33:29 +0100
commit8fa7507ae68e7e86562107f4204662230b8acdfe (patch)
treeabf977894013c4abc02968194ff8dae3edd27439 /include
parentffb7c1f9f983e41ae80001fb1ad5905e03af582a (diff)
android_pipe: Factor out example/test pipes from android_pipe
The Android Pipe main implementation file should only contain the actual implementation. Keeping all that test backend implementation code in there just makes it confusing to grep in the file and figure out what is going on. This could be made dependent on some sort of debug flag to avoid compiling test code as part of shipped binaries in the future. Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/misc/android_pipe.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/misc/android_pipe.h b/include/hw/misc/android_pipe.h
index 3fa7e1869..4db373156 100644
--- a/include/hw/misc/android_pipe.h
+++ b/include/hw/misc/android_pipe.h
@@ -217,4 +217,8 @@ struct access_params_64 {
uint32_t flags;
};
+extern void android_zero_pipe_init(void);
+extern void android_pingpong_init(void);
+extern void android_throttle_init(void);
+
#endif /* _HW_ANDROID_PIPE_H */