From 99c2730bc9db270560671f2d7d173768465ed51f Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 31 Oct 2016 14:30:52 -0700 Subject: Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be , but not all of our compilers support that). --- host/lib/usrp/e300/e300_global_regs.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'host/lib/usrp/e300/e300_global_regs.hpp') diff --git a/host/lib/usrp/e300/e300_global_regs.hpp b/host/lib/usrp/e300/e300_global_regs.hpp index 12693da79..3b6b26239 100644 --- a/host/lib/usrp/e300/e300_global_regs.hpp +++ b/host/lib/usrp/e300/e300_global_regs.hpp @@ -24,10 +24,10 @@ namespace uhd { namespace usrp { namespace e300 { struct global_regs_transaction_t { - boost::uint32_t is_poke; - boost::uint32_t addr; - boost::uint32_t data; - boost::uint32_t pad; + uint32_t is_poke; + uint32_t addr; + uint32_t data; + uint32_t pad; }; class global_regs : boost::noncopyable, public virtual uhd::wb_iface @@ -63,12 +63,12 @@ public: static const size_t PPS_EXT = 3; }; -UHD_INLINE boost::uint32_t XB_ADDR(const boost::uint32_t addr) +UHD_INLINE uint32_t XB_ADDR(const uint32_t addr) { return global_regs::SR_CORE_XBAR + (addr << 2); } -UHD_INLINE boost::uint32_t DST_ADDR(const boost::uint32_t addr) +UHD_INLINE uint32_t DST_ADDR(const uint32_t addr) { return global_regs::SR_CORE_DST + (addr << 2); } -- cgit v1.2.3