Home
last modified time | relevance | path

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

/external/valgrind/coregrind/m_syswrap/
Dsyswrap-x86-linux.c433 out->LdtEnt.Words.word1 = entry_1; in translate_to_hw_format()
434 out->LdtEnt.Words.word2 = entry_2; in translate_to_hw_format()
649 if (gdt[idx].LdtEnt.Words.word1 == 0 in sys_set_thread_area()
650 && gdt[idx].LdtEnt.Words.word2 == 0) in sys_set_thread_area()
698 info->base_addr = ( gdt[idx].LdtEnt.Bits.BaseHi << 24 ) | in sys_get_thread_area()
699 ( gdt[idx].LdtEnt.Bits.BaseMid << 16 ) | in sys_get_thread_area()
700 gdt[idx].LdtEnt.Bits.BaseLow; in sys_get_thread_area()
701 info->limit = ( gdt[idx].LdtEnt.Bits.LimitHi << 16 ) | in sys_get_thread_area()
702 gdt[idx].LdtEnt.Bits.LimitLow; in sys_get_thread_area()
703 info->seg_32bit = gdt[idx].LdtEnt.Bits.Default_Big; in sys_get_thread_area()
[all …]
Dsyswrap-x86-solaris.c596 desc.LdtEnt.Bits.LimitLow = -1; in ML_()
597 desc.LdtEnt.Bits.LimitHi = -1; in ML_()
598 desc.LdtEnt.Bits.BaseLow = base & 0xffff; in ML_()
599 desc.LdtEnt.Bits.BaseMid = (base >> 16) & 0xff; in ML_()
600 desc.LdtEnt.Bits.BaseHi = (base >> 24) & 0xff; in ML_()
601 desc.LdtEnt.Bits.Pres = 1; in ML_()
602 desc.LdtEnt.Bits.Dpl = 3; /* SEL_UPL */ in ML_()
603 desc.LdtEnt.Bits.Type = 19; /* SDT_MEMRWA */ in ML_()
604 desc.LdtEnt.Bits.Granularity = 1; /* SDP_PAGES */ in ML_()
605 desc.LdtEnt.Bits.Default_Big = 1; /* SDP_OP32 */ in ML_()
Dsyswrap-darwin.c9086 ldt[6].LdtEnt.Bits.LimitLow = 1; in PRE()
9087 ldt[6].LdtEnt.Bits.LimitHi = 0; in PRE()
9088 ldt[6].LdtEnt.Bits.BaseLow = ARG1 & 0xffff; in PRE()
9089 ldt[6].LdtEnt.Bits.BaseMid = (ARG1 >> 16) & 0xff; in PRE()
9090 ldt[6].LdtEnt.Bits.BaseHi = (ARG1 >> 24) & 0xff; in PRE()
9091 ldt[6].LdtEnt.Bits.Pres = 1; // ACC_P in PRE()
9092 ldt[6].LdtEnt.Bits.Dpl = 3; // ACC_PL_U in PRE()
9093 ldt[6].LdtEnt.Bits.Type = 0x12; // ACC_DATA_W in PRE()
9094 ldt[6].LdtEnt.Bits.Granularity = 1; // SZ_G in PRE()
9095 ldt[6].LdtEnt.Bits.Default_Big = 1; // SZ_32 in PRE()
/external/valgrind/VEX/pub/
Dlibvex_guest_x86.h263 LdtEnt; member
/external/valgrind/VEX/priv/
Dguest_x86_helpers.c2711 UInt lo = 0xFFFF & (UInt)ent->LdtEnt.Bits.BaseLow; in get_segdescr_base()
2712 UInt mid = 0xFF & (UInt)ent->LdtEnt.Bits.BaseMid; in get_segdescr_base()
2713 UInt hi = 0xFF & (UInt)ent->LdtEnt.Bits.BaseHi; in get_segdescr_base()
2720 UInt lo = 0xFFFF & (UInt)ent->LdtEnt.Bits.LimitLow; in get_segdescr_limit()
2721 UInt hi = 0xF & (UInt)ent->LdtEnt.Bits.LimitHi; in get_segdescr_limit()
2723 if (ent->LdtEnt.Bits.Granularity) in get_segdescr_limit()