diff options
| author | Miguel <m.i@gmx.at> | 2018-10-01 23:22:03 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-01 23:22:03 +0200 |
| commit | a455cd5af26bf8731e7c981a9421b16ab34dae6f (patch) | |
| tree | 140b184bf306cef258ba6e7965a78b3eecb598b9 /asm/asm_x86.h | |
| parent | b518f39803eaaf0b25b95baf951b12ef4d5a727e (diff) | |
fukkin scheduler
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 |
