Home
last modified time | relevance | path

Searched refs:e2 (Results 1 – 8 of 8) sorted by relevance

/illumos-kvm-cmd/target-i386/
H A Dop_helper.c168 return ((e1 >> 16) | ((e2 & 0xff) << 16) | (e2 & 0xff000000)); in get_seg_base()
245 if ((e2 & DESC_CS_MASK) || !(e2 & DESC_W_MASK)) in tss_load_seg()
251 if ((e2 & DESC_CS_MASK) && !(e2 & DESC_R_MASK)) in tss_load_seg()
736 if (!(e2 & DESC_S_MASK) || !(e2 & (DESC_CS_MASK))) in do_interrupt_protected()
937 if (!(e2 & DESC_S_MASK) || !(e2 & (DESC_CS_MASK))) in do_interrupt64()
944 if (!(e2 & DESC_L_MASK) || (e2 & DESC_B_MASK)) in do_interrupt64()
2232 get_seg_base(e1, e2), limit, e2); in helper_ljmp_protected()
2423 if (!(e2 & DESC_S_MASK) || !(e2 & (DESC_CS_MASK))) in helper_lcall_protected()
2563 if (!(e2 & DESC_CS_MASK) || !(e2 & DESC_C_MASK)) { in validate_seg()
3294 if ((e2 & DESC_CS_MASK) && (e2 & DESC_C_MASK)) { in helper_lsl()
[all …]
H A Dhelper.c1180 uint32_t e1, e2; in cpu_x86_get_descr_debug() local
1191 || cpu_memory_rw_debug(env, ptr+4, (uint8_t *)&e2, sizeof(e2), 0) != 0) in cpu_x86_get_descr_debug()
1194 *base = ((e1 >> 16) | ((e2 & 0xff) << 16) | (e2 & 0xff000000)); in cpu_x86_get_descr_debug()
1195 *limit = (e1 & 0xffff) | (e2 & 0x000f0000); in cpu_x86_get_descr_debug()
1196 if (e2 & DESC_G_MASK) in cpu_x86_get_descr_debug()
1198 *flags = e2; in cpu_x86_get_descr_debug()
H A Dcpuid.c148 const char *e2) in sstrcmp() argument
154 if (s1 == e1 && s2 == e2) in sstrcmp()
158 else if (s2 == e2) in sstrcmp()
/illumos-kvm-cmd/bsd-user/
H A Dmain.c124 unsigned int e1, e2; in write_dt() local
127 e2 = ((addr >> 16) & 0xff) | (addr & 0xff000000) | (limit & 0x000f0000); in write_dt()
128 e2 |= flags; in write_dt()
131 p[1] = tswap32(e2); in write_dt()
139 uint32_t *p, e1, e2; in set_gate64() local
141 e2 = (addr & 0xffff0000) | 0x8000 | (dpl << 13) | (type << 8); in set_gate64()
144 p[1] = tswap32(e2); in set_gate64()
157 uint32_t *p, e1, e2; in set_gate() local
159 e2 = (addr & 0xffff0000) | 0x8000 | (dpl << 13) | (type << 8); in set_gate()
162 p[1] = tswap32(e2); in set_gate()
/illumos-kvm-cmd/tests/
H A Dqruncom.c32 unsigned int e1, e2; in set_gate() local
34 e2 = (addr & 0xffff0000) | 0x8000 | (dpl << 13) | (type << 8); in set_gate()
36 stl((uint8_t *)ptr + 4, e2); in set_gate()
/illumos-kvm-cmd/darwin-user/
H A Dmain.c512 unsigned int e1, e2; in write_dt() local
514 e2 = ((addr >> 16) & 0xff) | (addr & 0xff000000) | (limit & 0x000f0000); in write_dt()
515 e2 |= flags; in write_dt()
517 stl((uint8_t *)ptr + 4, e2); in write_dt()
523 unsigned int e1, e2; in set_gate() local
525 e2 = (addr & 0xffff0000) | 0x8000 | (dpl << 13) | (type << 8); in set_gate()
527 stl((uint8_t *)ptr + 4, e2); in set_gate()
/illumos-kvm-cmd/linux-user/
H A Dmain.c256 unsigned int e1, e2; in write_dt() local
259 e2 = ((addr >> 16) & 0xff) | (addr & 0xff000000) | (limit & 0x000f0000); in write_dt()
260 e2 |= flags; in write_dt()
263 p[1] = tswap32(e2); in write_dt()
271 uint32_t *p, e1, e2; in set_gate64() local
273 e2 = (addr & 0xffff0000) | 0x8000 | (dpl << 13) | (type << 8); in set_gate64()
276 p[1] = tswap32(e2); in set_gate64()
289 uint32_t *p, e1, e2; in set_gate() local
291 e2 = (addr & 0xffff0000) | 0x8000 | (dpl << 13) | (type << 8); in set_gate()
294 p[1] = tswap32(e2); in set_gate()
/illumos-kvm-cmd/
H A Dqemu-kvm.c1058 struct kvm_irq_routing_entry e1, e2; in kvm_update_msix() local
1061 kvm_msix_routing_entry(&e2, new_gsi, new_addr_lo, new_addr_hi, new_data); in kvm_update_msix()
1062 return kvm_update_routing_entry(&e1, &e2); in kvm_update_msix()

Completed in 26 milliseconds