Home
last modified time | relevance | path

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

/external/valgrind/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/valgrind/coregrind/m_syswrap/
Dsyswrap-x86-linux.c520 UChar* ldt; in read_ldt() local
529 ldt = (UChar*)(VG_(threads)[tid].arch.vex.guest_LDT); in read_ldt()
531 if (ldt == NULL) in read_ldt()
541 ptr[i] = ldt[i]; in read_ldt()
552 VexGuestX86SegDescr* ldt; in write_ldt() local
563 ldt = (VexGuestX86SegDescr*)VG_(threads)[tid].arch.vex.guest_LDT; in write_ldt()
582 if (ldt == NULL) { in write_ldt()
583 ldt = alloc_zeroed_x86_LDT(); in write_ldt()
584 VG_(threads)[tid].arch.vex.guest_LDT = (HWord)ldt; in write_ldt()
588 translate_to_hw_format ( ldt_info, &ldt[ldt_info->entry_number], oldmode ); in write_ldt()
Dsyswrap-darwin.c8735 VexGuestX86SegDescr *ldt; in PRE() local
8737 ldt = (VexGuestX86SegDescr *)tst->arch.vex.guest_LDT; in PRE()
8738 if (!ldt) { in PRE()
8739 ldt = alloc_zeroed_x86_LDT(); in PRE()
8740 tst->arch.vex.guest_LDT = (HWord)ldt; in PRE()
8742 VG_(memset)(&ldt[6], 0, sizeof(ldt[6])); in PRE()
8743 ldt[6].LdtEnt.Bits.LimitLow = 1; in PRE()
8744 ldt[6].LdtEnt.Bits.LimitHi = 0; in PRE()
8745 ldt[6].LdtEnt.Bits.BaseLow = ARG1 & 0xffff; in PRE()
8746 ldt[6].LdtEnt.Bits.BaseMid = (ARG1 >> 16) & 0xff; in PRE()
[all …]
/external/valgrind/VEX/priv/
Dguest_x86_defs.h134 ULong x86g_use_seg_selector ( HWord ldt, HWord gdt,
Dguest_x86_helpers.c2615 ULong x86g_use_seg_selector ( HWord ldt, HWord gdt, in x86g_use_seg_selector() argument
2667 if (ldt == 0) in x86g_use_seg_selector()
2673 the_descrs = (VexGuestX86SegDescr*)ldt; in x86g_use_seg_selector()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dkvm.h146 struct kvm_segment tr, ldt; member
/external/valgrind/coregrind/m_gdbserver/
Dvalgrind-low-x86.c263 extern ULong x86g_use_seg_selector ( HWord ldt, HWord gdt, in target_get_dtv()
/external/strace/
DAndroid.mk81 ldt.c \
DMakefile.am65 ldt.c \
DChangeLog-CVS2954 * configure.ac: Check for `struct user_desc' in <asm/ldt.h>.