/* * Copyright (c) 2022 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include /* Header provided by the toolchain. */ #include #include #include uint32_t z_x86_cpuid_extended_features(void) { uint32_t eax, ebx, ecx = 0U, edx; if (__get_cpuid(CPUID_EXTENDED_FEATURES_LVL, &eax, &ebx, &ecx, &edx) == 0) { return 0; } return edx; }