mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-04-30 02:56:25 +00:00
cosmetic change for uc_x86_mmr
This commit is contained in:
parent
6478a24404
commit
ed77cacbf3
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue