Home
last modified time | relevance | path

Searched refs:gdt_table (Results 1 – 4 of 4) sorted by relevance

/qemu/bsd-user/x86_64/
H A Dtarget_arch_cpu.h30 uint64_t *gdt_table; in target_cpu_init() local
94 gdt_table = g2h_untagged(env->gdt.base); in target_cpu_init()
97 bsd_x86_64_write_dt(&gdt_table[__USER_CS >> 3], 0, 0xfffff, in target_cpu_init()
101 bsd_x86_64_write_dt(&gdt_table[__USER_DS >> 3], 0, 0xfffff, in target_cpu_init()
/qemu/bsd-user/i386/
H A Dtarget_arch_cpu.h30 uint64_t *gdt_table; in target_cpu_init() local
85 gdt_table = g2h_untagged(env->gdt.base); in target_cpu_init()
87 bsd_i386_write_dt(&gdt_table[__USER_CS >> 3], 0, 0xfffff, in target_cpu_init()
91 bsd_i386_write_dt(&gdt_table[__USER_DS >> 3], 0, 0xfffff, in target_cpu_init()
/qemu/linux-user/i386/
H A Dcpu_loop.c403 uint64_t *gdt_table; in target_cpu_copy_regs() local
408 gdt_table = g2h_untagged(env->gdt.base); in target_cpu_copy_regs()
410 write_dt(&gdt_table[__USER_CS >> 3], 0, 0xfffff, in target_cpu_copy_regs()
415 write_dt(&gdt_table[__USER_CS >> 3], 0, 0xfffff, in target_cpu_copy_regs()
420 write_dt(&gdt_table[__USER_DS >> 3], 0, 0xfffff, in target_cpu_copy_regs()
/qemu/linux-user/
H A Dsyscall.c6082 uint64_t *gdt_table = g2h_untagged(env->gdt.base); in do_set_thread_area() local
6099 if (gdt_table[i] == 0) { in do_set_thread_area()
6159 lp = (uint32_t *)(gdt_table + ldt_info.entry_number); in do_set_thread_area()
6168 uint64_t *gdt_table = g2h_untagged(env->gdt.base); in do_get_thread_area() local
6183 lp = (uint32_t *)(gdt_table + idx); in do_get_thread_area()