summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Yen <jyen@ti.com>2012-04-05 11:24:09 -0500
committerJack Yen <jyen@ti.com>2012-04-09 09:39:54 -0500
commit88632573b4fb87af35bebe3d7007093ef318cafd (patch)
tree777802d73fbd8c05110594446836c41e470e3e9a
parent6c7d4cce083f2cfa46168457dbc00d6fa22cec4e (diff)
downloadhardware_ti_omap4-88632573b4fb87af35bebe3d7007093ef318cafd.zip
hardware_ti_omap4-88632573b4fb87af35bebe3d7007093ef318cafd.tar.gz
hardware_ti_omap4-88632573b4fb87af35bebe3d7007093ef318cafd.tar.bz2
bltsville: update headers in bvbuffdesc and bvsurfgeom
Change-Id: Ibceeef51b9c676e88dd19330248b61ad0817ab66 Signed-off-by: Jack Yen <jyen@ti.com>
-rwxr-xr-xbltsville/include/bvbuffdesc.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/bltsville/include/bvbuffdesc.h b/bltsville/include/bvbuffdesc.h
index d00d9e7..d86e317 100755
--- a/bltsville/include/bvbuffdesc.h
+++ b/bltsville/include/bvbuffdesc.h
@@ -24,6 +24,24 @@
*/
struct bvbuffmap;
+#define BVATDEF_VENDOR_SHIFT 24
+#define BVATDEF_VENDOR_MASK (0xFF << BVATDEF_VENDOR_SHIFT)
+
+/* Common aux type */
+#define BVATDEF_VENDOR_ALL (0x00 << BVATDEF_VENDOR_SHIFT)
+
+/* Texas Instruments, Inc. */
+#define BVATDEF_VENDOR_TI (0x01 << BVATDEF_VENDOR_SHIFT)
+
+enum bvauxtype {
+ BVAT_NONE = 0, /* auxptr not used */
+ BVAT_reserved1 = /* reserved */
+ BVATDEF_VENDOR_ALL + 1,
+#ifdef BVAT_EXTERNAL_INCLUDE
+#include BVAT_EXTERNAL_INCLUDE
+#endif
+};
+
/*
* bvbuffdesc - This structure is used to specify the buffer parameters
* in a call to bv_map().
@@ -32,7 +50,11 @@ struct bvbuffdesc {
unsigned int structsize; /* used to identify struct version */
void *virtaddr; /* virtual ptr to start of buffer */
unsigned long length; /* length of the buffer in bytes */
- struct bvbuffmap *map; /* resource(s) associated w/buffer */
+ struct bvbuffmap *map; /* resource(s) associated w/buffer */
+ enum bvauxtype auxtype; /* type of auxptr */
+ void *auxptr; /* additional buffer description data;
+ type depends on auxtype */
};
+
#endif /* BVBUFFDESC_H */