diff options
author | gonzo <gonzo@FreeBSD.org> | 2015-11-01 23:50:07 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2015-11-01 23:50:07 +0000 |
commit | d455a5090c2b1c2e41d9d473512ba5b6799f555d (patch) | |
tree | a4ee0c64517c91f4972bc14743e7f9a2de5b2015 /sys/arm | |
parent | 18f02192269f00e5a3ede07abeb740f713dc41aa (diff) | |
download | FreeBSD-src-d455a5090c2b1c2e41d9d473512ba5b6799f555d.zip FreeBSD-src-d455a5090c2b1c2e41d9d473512ba5b6799f555d.tar.gz |
Add mailbox tag/structure for touchscreen buffer address property
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h b/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h index a425f2a..02d434a 100644 --- a/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h +++ b/sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h @@ -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; |