* Read AUXV software register and get cpu features for ARM */
| 81 | * Read AUXV software register and get cpu features for ARM |
| 82 | */ |
| 83 | static void |
| 84 | rte_cpu_get_features(hwcap_registers_t out) |
| 85 | { |
| 86 | out[REG_HWCAP] = rte_cpu_getauxval(AT_HWCAP); |
| 87 | out[REG_HWCAP2] = rte_cpu_getauxval(AT_HWCAP2); |
| 88 | } |
| 89 | |
| 90 | /* |
| 91 | * Checks if a particular flag is available on current machine. |
no test coverage detected