blob: ef4ba4ecfc230495bc2ebbc74ff1c7a4f348df91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
.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
|