MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_read16_relaxed

Function rte_read16_relaxed

dpdk/lib/eal/arm/include/rte_io_64.h:32–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32static __rte_always_inline uint16_t
33rte_read16_relaxed(const volatile void *addr)
34{
35 uint16_t val;
36
37 asm volatile(
38 "ldrh %w[val], [%x[addr]]"
39 : [val] "=r" (val)
40 : [addr] "r" (addr));
41 return val;
42}
43
44static __rte_always_inline uint32_t
45rte_read32_relaxed(const volatile void *addr)

Callers 1

rte_read16Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected