Lines Matching defs:instr
239 uchar_t instr[SLOW_SCALL_SIZE] = { 0xCD, T_SYSCALLINT };
241 if (uwrite(curthread->t_procp, instr, SLOW_SCALL_SIZE,
261 uchar_t instr[FAST_SCALL_SIZE];
265 if (copyin_nowatch(pc, (caddr_t)instr, FAST_SCALL_SIZE) != 0)
270 if (instr[0] == 0x0F && instr[1] == 0x34)
274 if (instr[0] == 0x0F && instr[1] == 0x05)
278 if (instr[0] == 0xCD && instr[1] == T_SYSCALLINT)
350 uchar_t instr[LCALLSIZE];
352 if (copyin_nowatch(pc, (caddr_t)instr, LCALLSIZE) == 0 &&
353 instr[0] == 0x9a &&
354 instr[1] == 0 &&
355 instr[2] == 0 &&
356 instr[3] == 0 &&
357 instr[4] == 0 &&
358 (instr[5] == 0x7 || instr[5] == 0x27) &&
359 instr[6] == 0)
388 instr_is_lsahf(caddr_t pc, uchar_t *instr)
390 if (copyin_nowatch(pc, (caddr_t)instr, LSAHFSIZE) == 0 &&
391 (*instr == 0x9e || *instr == 0x9f))
404 emulate_lsahf(struct regs *rp, uchar_t instr)
406 if (instr == 0x9e) {
447 uchar_t instr[4]; /* optional REX prefix plus 3-byte opcode */
449 return (copyin_nowatch(pc, instr, sizeof (instr)) == 0 &&
450 cmp_to_prefetch(instr));
487 uchar_t instr;
948 instr_is_lsahf((caddr_t)rp->r_pc, &instr)) {
949 emulate_lsahf(rp, instr);