svn commit: r290249 - head/sys/arm/broadcom/bcm2835

Oleksandr Tymoshenko gonzo at FreeBSD.org
Sun Nov 1 23:50:09 UTC 2015


Author: gonzo
Date: Sun Nov  1 23:50:07 2015
New Revision: 290249
URL: https://svnweb.freebsd.org/changeset/base/290249

Log:
  Add mailbox tag/structure for touchscreen buffer address property

Modified:
  head/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h

Modified: head/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h
==============================================================================
--- head/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h	Sun Nov  1 23:48:16 2015	(r290248)
+++ head/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h	Sun Nov  1 23:50:07 2015	(r290249)
@@ -438,6 +438,21 @@ struct bcm2835_mbox_tag_release_buffer {
 	} body;
 };
 
+#define	BCM2835_MBOX_TAG_GET_TOUCHBUF		0x0004000f
+
+struct bcm2835_mbox_tag_touchbuf {
+	struct bcm2835_mbox_hdr hdr;
+	struct bcm2835_mbox_tag_hdr tag_hdr;
+	union {
+		struct {
+		} req;
+		struct {
+			uint32_t address;
+		} resp;
+	} body;
+	uint32_t end_tag;
+};
+
 struct bcm2835_fb_config {
 	uint32_t xres;
 	uint32_t yres;


More information about the svn-src-all mailing list