1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
|
__asm__ __volatile__("mov %%ebx, %%esi \n\t" /* save %ebx */
"cpuid \n\t"
"xchg %%esi, %%ebx \n\t" /* restore the old %ebx */
: "=a"(regsPtr[0]), "=S"(regsPtr[1]), "=c"(regsPtr[2]), "=d"(regsPtr[3])
: "a"(index));
#endif
status = TCL_OK;
#endif
return status;
}
/*
* Local Variables:
* mode: c
|
>
>
>
|
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
|
__asm__ __volatile__("mov %%ebx, %%esi \n\t" /* save %ebx */
"cpuid \n\t"
"xchg %%esi, %%ebx \n\t" /* restore the old %ebx */
: "=a"(regsPtr[0]), "=S"(regsPtr[1]), "=c"(regsPtr[2]), "=d"(regsPtr[3])
: "a"(index));
#endif
status = TCL_OK;
#else
(void)index;
(void)regsPtr;
#endif
return status;
}
/*
* Local Variables:
* mode: c
|