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