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.c454 out->LdtEnt.Words.word1 = entry_1; in translate_to_hw_format()
455 out->LdtEnt.Words.word2 = entry_2; in translate_to_hw_format()
670 if (gdt[idx].LdtEnt.Words.word1 == 0 in sys_set_thread_area()
671 && gdt[idx].LdtEnt.Words.word2 == 0) in sys_set_thread_area()
719 info->base_addr = ( gdt[idx].LdtEnt.Bits.BaseHi << 24 ) | in sys_get_thread_area()
720 ( gdt[idx].LdtEnt.Bits.BaseMid << 16 ) | in sys_get_thread_area()
721 gdt[idx].LdtEnt.Bits.BaseLow; in sys_get_thread_area()
722 info->limit = ( gdt[idx].LdtEnt.Bits.LimitHi << 16 ) | in sys_get_thread_area()
723 gdt[idx].LdtEnt.Bits.LimitLow; in sys_get_thread_area()
724 info->seg_32bit = gdt[idx].LdtEnt.Bits.Default_Big; in sys_get_thread_area()
[all …]
Dsyswrap-darwin.c7668 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()
7672 ldt[6].LdtEnt.Bits.BaseHi = (ARG1 >> 24) & 0xff; in PRE()
7673 ldt[6].LdtEnt.Bits.Pres = 1; // ACC_P in PRE()
7674 ldt[6].LdtEnt.Bits.Dpl = 3; // ACC_PL_U in PRE()
7675 ldt[6].LdtEnt.Bits.Type = 0x12; // ACC_DATA_W in PRE()
7676 ldt[6].LdtEnt.Bits.Granularity = 1; // SZ_G in PRE()
7677 ldt[6].LdtEnt.Bits.Default_Big = 1; // SZ_32 in PRE()
/external/valgrind/main/VEX/pub/
Dlibvex_guest_x86.h262 LdtEnt; member
/external/valgrind/main/VEX/priv/
Dguest_x86_helpers.c2549 UInt lo = 0xFFFF & (UInt)ent->LdtEnt.Bits.BaseLow; in get_segdescr_base()
2550 UInt mid = 0xFF & (UInt)ent->LdtEnt.Bits.BaseMid; in get_segdescr_base()
2551 UInt hi = 0xFF & (UInt)ent->LdtEnt.Bits.BaseHi; in get_segdescr_base()
2558 UInt lo = 0xFFFF & (UInt)ent->LdtEnt.Bits.LimitLow; in get_segdescr_limit()
2559 UInt hi = 0xF & (UInt)ent->LdtEnt.Bits.LimitHi; in get_segdescr_limit()
2561 if (ent->LdtEnt.Bits.Granularity) in get_segdescr_limit()