diff options
Diffstat (limited to 'asm/asm_x86.h')
| -rw-r--r-- | asm/asm_x86.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/asm/asm_x86.h b/asm/asm_x86.h index ec9ebd0..0781fc7 100644 --- a/asm/asm_x86.h +++ b/asm/asm_x86.h @@ -100,4 +100,6 @@ static inline void x86_paging_enable() {x86_set_cr(0,x86_get_cr(0)| 0x8000000 /** Disable paging */ static inline void x86_paging_disable() {x86_set_cr(0,x86_get_cr(0)&~0x80000000);} +/** Read Time Stamp Counter */ +uint64_t x86_rdtscp(); #endif |
