Home
last modified time | relevance | path

Searched refs:LdtEnt (Results 1 – 4 of 4) sorted by relevance

/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-x86-linux.c456 out->LdtEnt.Words.word1 = entry_1; in translate_to_hw_format()
457 out->LdtEnt.Words.word2 = entry_2; in translate_to_hw_format()
672 if (gdt[idx].LdtEnt.Words.word1 == 0 in sys_set_thread_area()
673 && gdt[idx].LdtEnt.Words.word2 == 0) in sys_set_thread_area()
721 info->base_addr = ( gdt[idx].LdtEnt.Bits.BaseHi << 24 ) | in sys_get_thread_area()
722 ( gdt[idx].LdtEnt.Bits.BaseMid << 16 ) | in sys_get_thread_area()
723 gdt[idx].LdtEnt.Bits.BaseLow; in sys_get_thread_area()
724 info->limit = ( gdt[idx].LdtEnt.Bits.LimitHi << 16 ) | in sys_get_thread_area()
725 gdt[idx].LdtEnt.Bits.LimitLow; in sys_get_thread_area()
726 info->seg_32bit = gdt[idx].LdtEnt.Bits.Default_Big; in sys_get_thread_area()
[all …]
Dsyswrap-darwin.c7700 ldt[6].LdtEnt.Bits.LimitLow = 1; in PRE()
7701 ldt[6].LdtEnt.Bits.LimitHi = 0; in PRE()
7702 ldt[6].LdtEnt.Bits.BaseLow = ARG1 & 0xffff; in PRE()
7703 ldt[6].LdtEnt.Bits.BaseMid = (ARG1 >> 16) & 0xff; in PRE()
7704 ldt[6].LdtEnt.Bits.BaseHi = (ARG1 >> 24) & 0xff; in PRE()
7705 ldt[6].LdtEnt.Bits.Pres = 1; // ACC_P in PRE()
7706 ldt[6].LdtEnt.Bits.Dpl = 3; // ACC_PL_U in PRE()
7707 ldt[6].LdtEnt.Bits.Type = 0x12; // ACC_DATA_W in PRE()
7708 ldt[6].LdtEnt.Bits.Granularity = 1; // SZ_G in PRE()
7709 ldt[6].LdtEnt.Bits.Default_Big = 1; // SZ_32 in PRE()
/external/valgrind/main/VEX/pub/
Dlibvex_guest_x86.h263 LdtEnt; member
/external/valgrind/main/VEX/priv/
Dguest_x86_helpers.c2562 UInt lo = 0xFFFF & (UInt)ent->LdtEnt.Bits.BaseLow; in get_segdescr_base()
2563 UInt mid = 0xFF & (UInt)ent->LdtEnt.Bits.BaseMid; in get_segdescr_base()
2564 UInt hi = 0xFF & (UInt)ent->LdtEnt.Bits.BaseHi; in get_segdescr_base()
2571 UInt lo = 0xFFFF & (UInt)ent->LdtEnt.Bits.LimitLow; in get_segdescr_limit()
2572 UInt hi = 0xF & (UInt)ent->LdtEnt.Bits.LimitHi; in get_segdescr_limit()
2574 if (ent->LdtEnt.Bits.Granularity) in get_segdescr_limit()