Move list of hardware features to hwfeatures.c.
authorWerner Koch <wk@gnupg.org>
Thu, 12 Dec 2013 17:53:39 +0000 (18:53 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 12 Dec 2013 17:53:39 +0000 (18:53 +0100)
commit4ae77322b681a13da62d01274bcab25be2af12d0
tree4b3a2e31cb86fae492800e58cce8138c91bc4bd3
parent3b30e9840d4b351c4de73b126e561154cb7df4cc
Move list of hardware features to hwfeatures.c.

* src/global.c (hwflist, disabled_hw_features): Move to ..
* src/hwfeatures.c: here.
(_gcry_disable_hw_feature): New.
(_gcry_enum_hw_features): New.
(_gcry_detect_hw_features): Remove arg DISABLED_FEATURES.
* src/global.c (print_config, _gcry_vcontrol, global_init): Adjust
accordingly.
--

It is better to keep the hardware feature infor at one place.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/g10lib.h
src/global.c
src/hwf-arm.c
src/hwfeatures.c