aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/RaspberryPi/rpi_mailbox.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-07-09 15:40:03 +1000
committerinmarket <andrewh@inmarket.com.au>2014-07-09 15:40:03 +1000
commitab9ce99647965d0d3e9ea65ea92ad694c8b8ee1b (patch)
tree5a84906ce24ed4214ab94d9f74af1a8fe610f8a4 /boards/base/RaspberryPi/rpi_mailbox.h
parent34cc5e029a21784bf2eeb17f3c22f3914326d982 (diff)
downloaduGFX-ab9ce99647965d0d3e9ea65ea92ad694c8b8ee1b.tar.gz
uGFX-ab9ce99647965d0d3e9ea65ea92ad694c8b8ee1b.tar.bz2
uGFX-ab9ce99647965d0d3e9ea65ea92ad694c8b8ee1b.zip
Support added for the Raspberry Pi - talking directly to the graphics co-processor.
Diffstat (limited to 'boards/base/RaspberryPi/rpi_mailbox.h')
-rw-r--r--boards/base/RaspberryPi/rpi_mailbox.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/boards/base/RaspberryPi/rpi_mailbox.h b/boards/base/RaspberryPi/rpi_mailbox.h
new file mode 100644
index 00000000..f3c03a26
--- /dev/null
+++ b/boards/base/RaspberryPi/rpi_mailbox.h
@@ -0,0 +1,7 @@
+#ifndef RPI_MAILBOX_H
+#define RPI_MAILBOX_H
+
+extern unsigned int readmailbox(unsigned int channel);
+extern void writemailbox(unsigned int channel, unsigned int data);
+
+#endif /* RPI_MAILBOX_H */