cosmetic change for uc_x86_mmr

This commit is contained in:
Nguyen Anh Quynh 2016-02-06 17:34:19 +08:00
parent 6478a24404
commit ed77cacbf3

View File

@ -8,13 +8,13 @@
extern "C" { extern "C" {
#endif #endif
//Memory-Management Register fields (idtr, gdtr, ldtr, tr) // Memory-Management Register for instructions IDTR, GDTR, LDTR, TR.
//borrow from SegmentCache in qemu/target-i386/cpu.h // Borrow from SegmentCache in qemu/target-i386/cpu.h
typedef struct uc_x86_mmr { typedef struct uc_x86_mmr {
uint16_t selector; /* not used by gdtr and idtr */ uint16_t selector; /* not used by GDTR and IDTR */
uint64_t base; /* handle 32 or 64 bit CPUs */ uint64_t base; /* handle 32 or 64 bit CPUs */
uint32_t limit; uint32_t limit;
uint32_t flags; /* not used by gdtr and idtr */ uint32_t flags; /* not used by GDTR and IDTR */
} uc_x86_mmr; } uc_x86_mmr;
// Callback function for tracing SYSCALL/SYSENTER (for uc_hook_intr()) // Callback function for tracing SYSCALL/SYSENTER (for uc_hook_intr())