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

Function rte_cpu_get_features

dpdk/lib/eal/loongarch/rte_cpuflags.c:55–59  ·  view source on GitHub ↗

* Read AUXV software register and get cpu features for LoongArch */

Source from the content-addressed store, hash-verified

53 * Read AUXV software register and get cpu features for LoongArch
54 */
55static void
56rte_cpu_get_features(hwcap_registers_t out)
57{
58 out[REG_HWCAP] = rte_cpu_getauxval(AT_HWCAP);
59}
60
61/*
62 * Checks if a particular flag is available on current machine.

Callers 1

rte_cpu_get_flag_enabledFunction · 0.70

Calls 1

rte_cpu_getauxvalFunction · 0.50

Tested by

no test coverage detected