Home | History | Annotate | Download | only in m_syswrap

Lines Matching defs:mach

62 #include <mach/mach.h>
64 static void x86_thread_state32_from_vex(i386_thread_state_t *mach,
67 mach->__eax = vex->guest_EAX;
68 mach->__ebx = vex->guest_EBX;
69 mach->__ecx = vex->guest_ECX;
70 mach->__edx = vex->guest_EDX;
71 mach->__edi = vex->guest_EDI;
72 mach->__esi = vex->guest_ESI;
73 mach->__ebp = vex->guest_EBP;
74 mach->__esp = vex->guest_ESP;
75 mach->__ss = vex->guest_SS;
76 mach->__eflags = LibVEX_GuestX86_get_eflags(vex);
77 mach->__eip = vex->guest_EIP;
78 mach->__cs = vex->guest_CS;
79 mach->__ds = vex->guest_DS;
80 mach->__es = vex->guest_ES;
81 mach->__fs = vex->guest_FS;
82 mach->__gs = vex->guest_GS;
86 static void x86_float_state32_from_vex(i386_float_state_t *mach,
91 VG_(memcpy)(&mach->__fpu_xmm0, &vex->guest_XMM0, 8 * sizeof(mach->__fpu_xmm0));
119 static void x86_thread_state32_to_vex(const i386_thread_state_t *mach,
123 vex->guest_EAX = mach->__eax;
124 vex->guest_EBX = mach->__ebx;
125 vex->guest_ECX = mach->__ecx;
126 vex->guest_EDX = mach->__edx;
127 vex->guest_EDI = mach->__edi;
128 vex->guest_ESI = mach->__esi;
129 vex->guest_EBP = mach->__ebp;
130 vex->guest_ESP = mach->__esp;
131 vex->guest_SS = mach->__ss;
133 vex->guest_EIP = mach->__eip;
134 vex->guest_CS = mach->__cs;
135 vex->guest_DS = mach->__ds;
136 vex->guest_ES = mach->__es;
137 vex->guest_FS = mach->__fs;
138 vex->guest_GS = mach->__gs;
141 static void x86_float_state32_to_vex(const i386_float_state_t *mach,
146 VG_(memcpy)(&vex->guest_XMM0, &mach->__fpu_xmm0, 8 * sizeof(mach->__fpu_xmm0));
205 i386_thread_state_t *mach = (i386_thread_state_t *)mach_generic;
218 mach->__eip = (uintptr_t)&start_thread_NORETURN;
219 mach->__esp = (uintptr_t)stack;
308 // Record thread's stack and Mach port and pthread struct
496 // Record thread's stack and Mach port and pthread struct