Konstantin Belousov 642bb66b63 Provide userspace versions of do_cpuid() and cpuid_count() on i386.
Some older compilers, when generating PIC code, cannot handle inline
asm that clobbers %ebx (because %ebx is used as the GOT offset
register).  Userspace versions avoid clobbering %ebx by saving it to
stack before executing the CPUID instruction.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2019-02-14 13:53:11 +00:00
..
2019-02-13 00:10:12 +00:00
2019-02-12 08:16:05 +00:00
2019-02-04 21:28:25 +00:00
2019-02-12 02:55:25 +00:00
2019-01-11 09:40:34 +00:00
2018-10-20 22:39:35 +00:00
2019-01-31 19:05:56 +00:00
2019-02-04 21:28:25 +00:00