uc_x86_mmr type available in qemu/target-i386/unicorn.c

This commit is contained in:
Chris Eagle
2016-02-04 19:09:41 -08:00
parent 59f7bf3be7
commit 49b9f4f8da
4 changed files with 59 additions and 58 deletions

View File

@ -47,10 +47,10 @@ static void test_idt_gdt_i386(/*void **state*/)
uc_engine *uc;
uc_err err;
uint8_t buf[6];
x86_mmr idt;
x86_mmr gdt;
x86_mmr ldt;
x86_mmr tr;
uc_x86_mmr idt;
uc_x86_mmr gdt;
uc_x86_mmr ldt;
uc_x86_mmr tr;
const uint8_t code[] = "\x0f\x01\x0c\x24\x0f\x01\x44\x24\x06"; // sidt [esp]; sgdt [esp+6]
const uint64_t address = 0x1000000;