From ed77cacbf3398c880a7ca34e72ca9ca55601a932 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sat, 6 Feb 2016 17:34:19 +0800 Subject: [PATCH] cosmetic change for uc_x86_mmr --- include/unicorn/x86.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/unicorn/x86.h b/include/unicorn/x86.h index 37667cfc..51401eba 100644 --- a/include/unicorn/x86.h +++ b/include/unicorn/x86.h @@ -8,13 +8,13 @@ extern "C" { #endif -//Memory-Management Register fields (idtr, gdtr, ldtr, tr) -//borrow from SegmentCache in qemu/target-i386/cpu.h +// Memory-Management Register for instructions IDTR, GDTR, LDTR, TR. +// Borrow from SegmentCache in qemu/target-i386/cpu.h 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 */ uint32_t limit; - uint32_t flags; /* not used by gdtr and idtr */ + uint32_t flags; /* not used by GDTR and IDTR */ } uc_x86_mmr; // Callback function for tracing SYSCALL/SYSENTER (for uc_hook_intr())