Home
last modified time | relevance | path

Searched refs:ldt (Results 1 – 25 of 26) sorted by relevance

12

/external/valgrind/main/VEX/test/
Dtest-amd64.c988 struct modify_ldt_ldt_s ldt;
997 ldt.entry_number = 1;
998 ldt.base_addr = (unsigned long)&seg_data1;
999 ldt.limit = (sizeof(seg_data1) + 0xfff) >> 12;
1000 ldt.seg_32bit = 1;
1001 ldt.contents = MODIFY_LDT_CONTENTS_DATA;
1002 ldt.read_exec_only = 0;
1003 ldt.limit_in_pages = 1;
1004 ldt.seg_not_present = 0;
1005 ldt.useable = 1;
[all …]
Dtest-i386.c950 struct modify_ldt_ldt_s ldt;
959 ldt.entry_number = 1;
960 ldt.base_addr = (unsigned long)&seg_data1;
961 ldt.limit = (sizeof(seg_data1) + 0xfff) >> 12;
962 ldt.seg_32bit = 1;
963 ldt.contents = MODIFY_LDT_CONTENTS_DATA;
964 ldt.read_exec_only = 0;
965 ldt.limit_in_pages = 1;
966 ldt.seg_not_present = 0;
967 ldt.useable = 1;
[all …]
/external/libffi/src/alpha/
Dosf.S64 ldt $f16, 0($30)
65 ldt $f17, 8($30)
67 ldt $f18, 16($30)
69 ldt $f19, 24($30)
71 ldt $f20, 32($30)
73 ldt $f21, 40($30)
189 ldt $f0, 16($30)
/external/kernel-headers/original/asm-x86/
Dsystem_32.h62 #define set_base(ldt,base) _set_base( ((char *)&(ldt)) , (base) ) argument
63 #define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , ((limit)-1) ) argument
Ddesc_32.h66 #define load_ldt(ldt) __asm__ __volatile("lldt %0"::"m" (ldt)) argument
71 #define store_ldt(ldt) __asm__ ("sldt %0":"=m" (ldt)) argument
200 set_ldt(pc->ldt, pc->size); in load_LDT_nolock()
Dmmu.h14 void *ldt; member
Dprocessor_32.h316 unsigned short ldt, __ldth; member
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-x86-linux.c541 UChar* ldt; in read_ldt() local
550 ldt = (Char*)(VG_(threads)[tid].arch.vex.guest_LDT); in read_ldt()
552 if (ldt == NULL) in read_ldt()
562 ptr[i] = ldt[i]; in read_ldt()
573 VexGuestX86SegDescr* ldt; in write_ldt() local
584 ldt = (VexGuestX86SegDescr*)VG_(threads)[tid].arch.vex.guest_LDT; in write_ldt()
603 if (ldt == NULL) { in write_ldt()
604 ldt = alloc_zeroed_x86_LDT(); in write_ldt()
605 VG_(threads)[tid].arch.vex.guest_LDT = (HWord)ldt; in write_ldt()
609 translate_to_hw_format ( ldt_info, &ldt[ldt_info->entry_number], oldmode ); in write_ldt()
Dsyswrap-darwin.c7660 VexGuestX86SegDescr *ldt; in PRE() local
7662 ldt = (VexGuestX86SegDescr *)tst->arch.vex.guest_LDT; in PRE()
7663 if (!ldt) { in PRE()
7664 ldt = alloc_zeroed_x86_LDT(); in PRE()
7665 tst->arch.vex.guest_LDT = (HWord)ldt; in PRE()
7667 VG_(memset)(&ldt[6], 0, sizeof(ldt[6])); in PRE()
7668 ldt[6].LdtEnt.Bits.LimitLow = 1; in PRE()
7669 ldt[6].LdtEnt.Bits.LimitHi = 0; in PRE()
7670 ldt[6].LdtEnt.Bits.BaseLow = ARG1 & 0xffff; in PRE()
7671 ldt[6].LdtEnt.Bits.BaseMid = (ARG1 >> 16) & 0xff; in PRE()
[all …]
/external/qemu/target-i386/
Dop_helper.c145 dt = &env->ldt; in load_segment()
468 env->ldt.selector = new_ldt & ~4; in switch_tss()
469 env->ldt.base = 0; in switch_tss()
470 env->ldt.limit = 0; in switch_tss()
471 env->ldt.flags = 0; in switch_tss()
489 load_seg_cache_raw_dt(&env->ldt, e1, e2); in switch_tss()
1410 stw_phys(sm_state + 0x7e70, env->ldt.selector); in do_smm_enter()
1411 stq_phys(sm_state + 0x7e78, env->ldt.base); in do_smm_enter()
1412 stl_phys(sm_state + 0x7e74, env->ldt.limit); in do_smm_enter()
1413 stw_phys(sm_state + 0x7e72, (env->ldt.flags >> 8) & 0xf0ff); in do_smm_enter()
[all …]
DTODO10 - test ldt limit < 7 ?
Dkvm.c419 set_seg(&sregs.ldt, &env->ldt); in kvm_put_sregs()
518 get_seg(&env->ldt, &sregs.ldt); in kvm_get_sregs()
Dmachine.c83 cpu_put_seg(f, &env->ldt); in cpu_save()
265 cpu_get_seg(f, &env->ldt); in cpu_load()
Dhax-all.c733 get_seg(&env->ldt, &sregs->_ldt); in hax_get_segments()
767 set_seg(&sregs->_ldt, &env->ldt); in hax_set_segments()
Dhelper.c494 env->ldt.limit = 0xffff; in cpu_reset()
495 env->ldt.flags = DESC_P_MASK | (2 << DESC_TYPE_SHIFT); in cpu_reset()
742 cpu_x86_dump_seg_cache(env, f, cpu_fprintf, "LDT", &env->ldt); in cpu_dump_state()
Dcpu.h585 SegmentCache ldt; member
Dtranslate.c6919 tcg_gen_ld32u_tl(cpu_T[0], cpu_env, offsetof(CPUX86State,ldt.selector)); in disas_insn()
/external/qemu/
Dkqemu.h50 struct kqemu_segment_cache ldt; member
Dkqemu.c713 kqemu_load_seg(&kenv->ldt, &env->ldt); in kqemu_cpu_exec()
784 kqemu_save_seg(&env->ldt, &kenv->ldt); in kqemu_cpu_exec()
/external/valgrind/main/VEX/priv/
Dguest_x86_defs.h129 ULong x86g_use_seg_selector ( HWord ldt, HWord gdt,
Dguest_x86_helpers.c2567 ULong x86g_use_seg_selector ( HWord ldt, HWord gdt, in x86g_use_seg_selector() argument
2619 if (ldt == 0) in x86g_use_seg_selector()
2625 the_descrs = (VexGuestX86SegDescr*)ldt; in x86g_use_seg_selector()
/external/qemu/android/config/linux-x86/asm/
Dkvm.h120 struct kvm_segment tr, ldt; member
/external/qemu/android/config/linux-x86_64/asm/
Dkvm.h120 struct kvm_segment tr, ldt; member
/external/webkit/Source/WebKit/mac/WebView/
DWebView.mm4638 LongDateTime ldt;
4639 if (noErr == UCConvertCFAbsoluteTimeToLongDateTime(utcSeconds, &ldt))
4640 …SAppleEventDescriptor descriptorWithDescriptorType:typeLongDateTime bytes:&ldt length:sizeof(ldt)];
/external/strace/
DChangeLog-CVS2954 * configure.ac: Check for `struct user_desc' in <asm/ldt.h>.

12