Stanislav Galabov 59cd18b093 sys/arm/arm/identcpu-v4.c: fix identify_arm_cpu()
identify_arm_cpu() in sys/arm/arm/identcpu-v4.c incorrectly uses a
u_int8_t variable to store the result of cpu_get_control().
It should really use a u_int variable, the same way as done for cpu_ident()
in the same function, as both cpuid and control registers are 32-bit..
This issue causes users of identcpu-v4 to incorrectly report things such as
icache status (bit 12 in cpu control register) and basically anything
defined in bits above bit 7 :-)

Reviewed by:	manu
Sponsored by:	Smartcom - Bulgaria AD
Differential Revision:	https://reviews.freebsd.org/D9460
2017-02-06 14:58:24 +00:00
..
2017-02-05 14:19:19 +00:00
2017-01-28 16:31:23 +00:00
2017-01-28 02:22:15 +00:00
2017-01-28 16:31:23 +00:00
2017-02-06 11:37:20 +00:00
2017-01-28 16:31:23 +00:00
2017-02-05 14:19:19 +00:00
2017-01-28 02:22:15 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00
2017-01-19 16:46:05 +00:00
2017-02-04 19:16:19 +00:00
2017-01-28 02:22:15 +00:00