summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2013-10-22 16:22:14 -0700
committerBernard Xiong <[email protected]>2013-10-22 16:22:14 -0700
commitd327f4a25a155866eafcb2f1292545ff15839b97 (patch)
tree0c3ed9f1408f09dfdc95563e4354eb299e9d9b99 /components/drivers/include
parenta3bf5e2d9b12482a0552bb96bfa091e4b80c79df (diff)
parenta391e0a89307258b54e2599368963ce95fa7e7d3 (diff)
Merge pull request #183 from grissiom/log_trace-in-mem
Log trace in mem
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/rtdevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index 60d4dc1e8a..8ed9f34ca4 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -114,6 +114,8 @@ struct rt_pipe_device
struct rt_portal_device *read_portal;
};
+#define PIPE_CTRL_GET_SPACE 0x14 /**< get the remaining size of a pipe device */
+
#define RT_DATAQUEUE_EVENT_UNKNOWN 0x00
#define RT_DATAQUEUE_EVENT_POP 0x01
#define RT_DATAQUEUE_EVENT_PUSH 0x02