Lines Matching +full:0 +full:xfffff
32 env->cr[0] = CR0_PG_MASK | CR0_WP_MASK | CR0_PE_MASK; in target_cpu_init()
56 env->idt.base = target_mmap(0, sizeof(uint64_t) * (env->idt.limit + 1), in target_cpu_init()
57 PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in target_cpu_init()
59 bsd_i386_set_idt(0, 0); in target_cpu_init()
60 bsd_i386_set_idt(1, 0); in target_cpu_init()
61 bsd_i386_set_idt(2, 0); in target_cpu_init()
64 bsd_i386_set_idt(5, 0); in target_cpu_init()
65 bsd_i386_set_idt(6, 0); in target_cpu_init()
66 bsd_i386_set_idt(7, 0); in target_cpu_init()
67 bsd_i386_set_idt(8, 0); in target_cpu_init()
68 bsd_i386_set_idt(9, 0); in target_cpu_init()
69 bsd_i386_set_idt(10, 0); in target_cpu_init()
70 bsd_i386_set_idt(11, 0); in target_cpu_init()
71 bsd_i386_set_idt(12, 0); in target_cpu_init()
72 bsd_i386_set_idt(13, 0); in target_cpu_init()
73 bsd_i386_set_idt(14, 0); in target_cpu_init()
74 bsd_i386_set_idt(15, 0); in target_cpu_init()
75 bsd_i386_set_idt(16, 0); in target_cpu_init()
76 bsd_i386_set_idt(17, 0); in target_cpu_init()
77 bsd_i386_set_idt(18, 0); in target_cpu_init()
78 bsd_i386_set_idt(19, 0); in target_cpu_init()
79 bsd_i386_set_idt(0x80, 3); in target_cpu_init()
82 env->gdt.base = target_mmap(0, sizeof(uint64_t) * TARGET_GDT_ENTRIES, in target_cpu_init()
83 PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in target_cpu_init()
87 bsd_i386_write_dt(&gdt_table[__USER_CS >> 3], 0, 0xfffff, in target_cpu_init()
89 (3 << DESC_DPL_SHIFT) | (0xa << DESC_TYPE_SHIFT)); in target_cpu_init()
91 bsd_i386_write_dt(&gdt_table[__USER_DS >> 3], 0, 0xfffff, in target_cpu_init()
93 (3 << DESC_DPL_SHIFT) | (0x2 << DESC_TYPE_SHIFT)); in target_cpu_init()
102 env->segs[R_FS].selector = 0; in target_cpu_init()
119 case 0x80: { in target_cpu_loop()
120 /* syscall from int $0x80 */ in target_cpu_loop()
181 fprintf(stderr, "qemu: 0x%08lx: unhandled CPU exception 0x%x - " in target_cpu_loop()
194 env->regs[R_EAX] = 0; in target_cpu_clone_regs()