Added register clobber warning to read_tsc.
This commit is contained in:
parent
78fe72e198
commit
d954a122f7
1 changed files with 1 additions and 0 deletions
|
@ -552,6 +552,7 @@ _level0:
|
||||||
!*===========================================================================*
|
!*===========================================================================*
|
||||||
! PUBLIC void read_tsc(unsigned long *high, unsigned long *low);
|
! PUBLIC void read_tsc(unsigned long *high, unsigned long *low);
|
||||||
! Read the cycle counter of the CPU. Pentium and up.
|
! Read the cycle counter of the CPU. Pentium and up.
|
||||||
|
! This function clobbers edx and eax.
|
||||||
.align 16
|
.align 16
|
||||||
_read_tsc:
|
_read_tsc:
|
||||||
.data1 0x0f ! this is the RDTSC instruction
|
.data1 0x0f ! this is the RDTSC instruction
|
||||||
|
|
Loading…
Reference in a new issue