Signed-off-by: Ray-V <ray-v@inbox.lv>
@ -21,9 +21,9 @@
/* ebx saving is necessary for PIC. gcc seems unable to see it alone */
#define cpuid(index,eax,ebx,ecx,edx)\
__asm __volatile\
("mov %%"REG_b", %%"REG_S"\n\t"\
("mov %%" REG_b ", %%" REG_S "\n\t"\
"cpuid\n\t"\
"xchg %%"REG_b", %%"REG_S\
"xchg %%" REG_b ", %%" REG_S\
: "=a" (eax), "=S" (ebx),\
"=c" (ecx), "=d" (edx)\
: "0" (index));