17#include <rte_compat.h>
163static inline uint16_t
174static inline uint32_t
185static inline uint64_t
198rte_write8(uint8_t value,
volatile void *addr);
269#ifndef RTE_OVERRIDE_IO_H
274 return *(
const volatile uint8_t *)addr;
280 return *(
const volatile uint16_t *)addr;
286 return *(
const volatile uint32_t *)addr;
292 return *(
const volatile uint64_t *)addr;
298 *(
volatile uint8_t *)addr = value;
304 *(
volatile uint16_t *)addr = value;
310 *(
volatile uint32_t *)addr = value;
316 *(
volatile uint64_t *)addr = value;
383#ifndef RTE_NATIVE_WRITE32_WC
static void rte_io_rmb(void)
static void rte_io_wmb(void)
#define __rte_always_inline
static void rte_write8(uint8_t value, volatile void *addr)
static void rte_write16_relaxed(uint16_t value, volatile void *addr)
static void rte_write64(uint64_t value, volatile void *addr)
static uint8_t rte_read8(const volatile void *addr)
static uint8_t rte_read8_relaxed(const volatile void *addr)
static uint64_t rte_read64(const volatile void *addr)
static uint16_t rte_read16(const volatile void *addr)
static uint32_t rte_read32_relaxed(const volatile void *addr)
static void rte_write64_relaxed(uint64_t value, volatile void *addr)
static uint64_t rte_read64_relaxed(const volatile void *addr)
static void rte_write32(uint32_t value, volatile void *addr)
static __rte_experimental void rte_write32_wc_relaxed(uint32_t value, volatile void *addr)
static uint16_t rte_read16_relaxed(const volatile void *addr)
static void rte_write32_relaxed(uint32_t value, volatile void *addr)
static void rte_write8_relaxed(uint8_t value, volatile void *addr)
static __rte_experimental void rte_write32_wc(uint32_t value, volatile void *addr)
static uint32_t rte_read32(const volatile void *addr)
static void rte_write16(uint16_t value, volatile void *addr)