blob: ef4ba4ecfc230495bc2ebbc74ff1c7a4f348df91 [file] [log] [blame]
.text
.global cpu_features
.type cpu_features,@function
cpu_features:
pushl %ebx
pushl %ecx
pushl %edx
movl $1,%eax
cpuid
movl %edx,%eax
popl %edx
popl %ecx
popl %ebx
ret