Get supported hardware capabilities.
#include <zircon/syscalls.h> zx_status_t zx_system_get_features(uint32_t kind, uint32_t* features);
zx_system_get_features() populates features with a bit mask of
hardware-specific features. kind indicates the specific type of features
to retrieve, e.g. ZX_FEATURE_KIND_CPU. The supported kinds and the meaning
of individual feature bits is hardware-dependent.
zx_system_get_features() returns ZX_OK on success.
ZX_ERR_NOT_SUPPORTED The requested feature kind is not available on this platform.
Refer to Architecture Support for supported processor architectures.
Refer to zircon/features.h for kinds of features and individual feature bits.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-11-21.