Added register clobber warning to read_tsc.

This commit is contained in:
Ben Gras 2007-01-22 15:15:30 +00:00
parent 78fe72e198
commit d954a122f7

View file

@ -552,6 +552,7 @@ _level0:
!*===========================================================================*
! PUBLIC void read_tsc(unsigned long *high, unsigned long *low);
! Read the cycle counter of the CPU. Pentium and up.
! This function clobbers edx and eax.
.align 16
_read_tsc:
.data1 0x0f ! this is the RDTSC instruction