Revision 4a1418e0 target-i386/cpu.h
b/target-i386/cpu.h | ||
---|---|---|
682 | 682 |
uint64_t mask; |
683 | 683 |
} mtrr_var[8]; |
684 | 684 |
|
685 |
#ifdef CONFIG_KQEMU |
|
686 |
int kqemu_enabled; |
|
687 |
int last_io_time; |
|
688 |
#endif |
|
689 |
|
|
690 | 685 |
/* For KVM */ |
691 | 686 |
uint64_t interrupt_bitmap[256 / 64]; |
692 | 687 |
uint32_t mp_state; |
... | ... | |
850 | 845 |
#define X86_DUMP_FPU 0x0001 /* dump FPU state too */ |
851 | 846 |
#define X86_DUMP_CCOP 0x0002 /* dump qemu flag cache */ |
852 | 847 |
|
853 |
#ifdef CONFIG_KQEMU |
|
854 |
static inline int cpu_get_time_fast(void) |
|
855 |
{ |
|
856 |
int low, high; |
|
857 |
asm volatile("rdtsc" : "=a" (low), "=d" (high)); |
|
858 |
return low; |
|
859 |
} |
|
860 |
#endif |
|
861 |
|
|
862 | 848 |
#define TARGET_PAGE_BITS 12 |
863 | 849 |
|
864 | 850 |
#define cpu_init cpu_x86_init |
Also available in: Unified diff