aboutsummaryrefslogtreecommitdiffstats
path: root/host/apps/omap_debug/usrp_e.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/apps/omap_debug/usrp_e.h')
-rw-r--r--host/apps/omap_debug/usrp_e.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/host/apps/omap_debug/usrp_e.h b/host/apps/omap_debug/usrp_e.h
index 48a3201cb..d4132021f 100644
--- a/host/apps/omap_debug/usrp_e.h
+++ b/host/apps/omap_debug/usrp_e.h
@@ -1,3 +1,4 @@
+
/*
* Copyright (C) 2010 Ettus Research, LLC
*
@@ -77,6 +78,11 @@ struct usrp_transfer_frame {
__u8 buf[];
};
+// Flag defines
+#define RB_USER (1 << 0)
+#define RB_KERNEL (1 << 1)
+#define RB_OVERRUN (1 << 2)
+
struct ring_buffer_entry {
unsigned long dma_addr;
struct usrp_transfer_frame *frame_addr;