Searched refs:gdt_table (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/bsd-user/x86_64/ |
H A D | target_arch_cpu.h | 30 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()
|
/openbmc/qemu/bsd-user/i386/ |
H A D | target_arch_cpu.h | 30 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()
|
/openbmc/qemu/linux-user/i386/ |
H A D | cpu_loop.c | 406 uint64_t *gdt_table; in target_cpu_copy_regs() local 411 gdt_table = g2h_untagged(env->gdt.base); in target_cpu_copy_regs() 413 write_dt(&gdt_table[__USER_CS >> 3], 0, 0xfffff, in target_cpu_copy_regs() 418 write_dt(&gdt_table[__USER_CS >> 3], 0, 0xfffff, in target_cpu_copy_regs() 423 write_dt(&gdt_table[__USER_DS >> 3], 0, 0xfffff, in target_cpu_copy_regs()
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 6112 uint64_t *gdt_table = g2h_untagged(env->gdt.base); in do_set_thread_area() local 6129 if (gdt_table[i] == 0) { in do_set_thread_area() 6189 lp = (uint32_t *)(gdt_table + ldt_info.entry_number); in do_set_thread_area() 6198 uint64_t *gdt_table = g2h_untagged(env->gdt.base); in do_get_thread_area() local 6213 lp = (uint32_t *)(gdt_table + idx); in do_get_thread_area()
|