aboutsummaryrefslogtreecommitdiffstats
path: root/host/apps/omap_debug/usrp_e.h
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2010-04-28 13:07:22 +0000
committerPhilip Balister <philip@opensdr.com>2010-04-28 13:07:22 +0000
commitf2454f90023552c00b5b25aca4e8eaa8d46c0751 (patch)
tree3a24a7ed0721a43bc28607caaef3887a73144f4e /host/apps/omap_debug/usrp_e.h
parent7dba88b257f6a0fd5c35677ed5c7ce577cebbc74 (diff)
downloaduhd-f2454f90023552c00b5b25aca4e8eaa8d46c0751.tar.gz
uhd-f2454f90023552c00b5b25aca4e8eaa8d46c0751.tar.bz2
uhd-f2454f90023552c00b5b25aca4e8eaa8d46c0751.zip
Various updates to test programs.
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;