/xen/xen/arch/arm/ |
A D | decode.c | 88 uint16_t instr; in decode_thumb() local 90 if ( raw_copy_from_guest(&instr, (void * __user)pc, sizeof (instr)) ) in decode_thumb() 93 switch ( instr >> 12 ) in decode_thumb() 98 uint16_t opB = (instr >> 9) & 0x7; in decode_thumb() 99 int reg = instr & 7; in decode_thumb() 121 update_dabt(dabt, instr & 7, 2, false); in decode_thumb() 125 update_dabt(dabt, instr & 7, 0, false); in decode_thumb() 129 update_dabt(dabt, instr & 7, 1, false); in decode_thumb() 136 if ( instr & (1 << 11) ) in decode_thumb() 137 return decode_thumb2(pc, dabt, instr); in decode_thumb() [all …]
|
/xen/tools/tests/x86_emulator/ |
A D | test_x86_emulator.c | 971 instr[0] = 0xf0; instr[1] = 0x0f; instr[2] = 0xb0; instr[3] = 0x0b; in main() 987 instr[0] = 0xf0; instr[1] = 0x0f; instr[2] = 0xb0; instr[3] = 0x0b; in main() 1034 instr[0] = 0xf0; instr[1] = 0x0f; instr[2] = 0xb1; instr[3] = 0x0b; in main() 1080 instr[0] = 0x0f; instr[1] = 0xac; instr[2] = 0x0f; instr[3] = 0x08; in main() 1096 instr[0] = 0x0f; instr[1] = 0xba; instr[2] = 0x37; instr[3] = 0x01; in main() 1130 instr[0] = 0x4d; instr[1] = 0x0f; instr[2] = 0xbb; instr[3] = 0x03; in main() 1147 instr[0] = 0x66; instr[1] = 0x0f; instr[2] = 0xc1; instr[3] = 0x01; in main() 1226 instr[0] = 0x66; instr[1] = 0x0f; instr[2] = 0xc7; instr[3] = 0x0f; in main() 1551 instr[0] = 0x66; instr[1] = 0x0f; instr[2] = 0x38; instr[3] = 0xf1; instr[4] = 0x01; in main() 2403 instr[4] = 0x8a; instr[5] = 0x90; instr[8] = instr[7] = instr[6] = 0; in main() [all …]
|
A D | predicates.c | 552 print_insn(instr, len); in do_test() 558 print_insn(instr, len); in do_test() 565 print_insn(instr, len); in do_test() 575 instr[modrm] |= 0xc0; in do_test() 581 print_insn(instr, len); in do_test() 588 print_insn(instr, len); in do_test() 626 memset(instr + 1, 0xcc, 14); in predicates_test() 635 uint8_t *ptr = instr; in predicates_test() 646 do_test(instr, legacy_0f[t].len[m] + ((void *)ptr - instr), in predicates_test() 653 uint8_t *ptr = instr; in predicates_test() [all …]
|
A D | evex-disp8.c | 791 instr[0] = 0x62; in test_one() 792 instr[1] = evex.raw[0]; in test_one() 793 instr[2] = evex.raw[1]; in test_one() 794 instr[3] = evex.raw[2]; in test_one() 795 instr[4] = test->opc; in test_one() 798 instr[7] = 1; /* Disp8 */ in test_one() 852 instr[3] = evex.raw[2]; in test_one() 891 test_one(&test, vl, instr, ctxt); in test_pair() 896 test_one(&test, vl, instr, ctxt); in test_pair() 933 instr, ctxt); in test_group() [all …]
|
A D | x86-emulate.h | 105 void evex_disp8_test(void *instr, struct x86_emulate_ctxt *ctxt, 107 void predicates_test(void *instr, struct x86_emulate_ctxt *ctxt,
|
/xen/xen/tools/kconfig/lxdialog/ |
A D | inputbox.c | 41 instr[0] = '\0'; in dialog_inputbox() 43 strcpy(instr, init); in dialog_inputbox() 88 len = strlen(instr); in dialog_inputbox() 99 waddstr(dialog, instr); in dialog_inputbox() 127 instr[i] = instr[i+1]; in dialog_inputbox() 133 instr[len] = '\0'; in dialog_inputbox() 136 if (!instr[show_x + i]) { in dialog_inputbox() 190 instr[i] = instr[i-1]; in dialog_inputbox() 191 instr[pos] = key; in dialog_inputbox() 193 instr[len] = key; in dialog_inputbox() [all …]
|
/xen/xen/arch/arm/arm32/lib/ |
A D | assembler.h | 25 #define W(instr) instr argument 26 #define ARM(instr...) instr argument 27 #define THUMB(instr...) argument 171 #define ALT_SMP(instr...) \ argument 172 9998: instr 178 #define ALT_UP(instr...) \ argument 181 9997: instr ;\ 193 #define ALT_SMP(instr...) 194 #define ALT_UP(instr...) instr 293 \instr\cond\()b\()\t \reg, [\ptr], #\inc [all …]
|
A D | bitops.c | 32 #define bitop(name, instr) \ argument 47 " " __stringify(instr) " %2, %2, %3\n" \ 70 #define testop(name, instr) \ argument 89 " " __stringify(instr) " %3, %3, %4 // Toggle bit\n" \
|
/xen/xen/common/xz/ |
A D | dec_bcj.c | 163 uint32_t instr; in bcj_powerpc() local 168 instr &= 0x03FFFFFC; in bcj_powerpc() 170 instr &= 0x03FFFFFC; in bcj_powerpc() 171 instr |= 0x48000001; in bcj_powerpc() 217 uint64_t instr; in bcj_ia64() local 230 instr = 0; in bcj_ia64() 319 uint32_t instr; in bcj_sparc() local 323 if ((instr >> 22) == 0x100 || (instr >> 22) == 0x1FF) { in bcj_sparc() 324 instr <<= 2; in bcj_sparc() 326 instr >>= 2; in bcj_sparc() [all …]
|
/xen/xen/arch/x86/pv/ |
A D | emul-inv-op.c | 28 char sig[5], instr[2]; in emulate_forced_invalid_op() local 46 if ( ( rc = copy_from_user(instr, (char *)eip, sizeof(instr))) != 0 ) in emulate_forced_invalid_op() 48 pv_inject_page_fault(0, eip + sizeof(instr) - rc); in emulate_forced_invalid_op() 51 if ( memcmp(instr, "\xf\xa2", sizeof(instr)) ) in emulate_forced_invalid_op() 63 eip += sizeof(instr); in emulate_forced_invalid_op()
|
/xen/xen/arch/arm/arm32/ |
A D | traps.c | 35 uint32_t instr; in do_trap_undefined_instruction() local 45 instr = *((uint32_t *)pc); in do_trap_undefined_instruction() 46 if ( instr != BUG_OPCODE ) in do_trap_undefined_instruction()
|
/xen/xen/arch/arm/arm64/lib/ |
A D | bitops.c | 31 #define bitop(name, instr) \ argument 43 " " __stringify(instr) " %w2, %w2, %w3\n" \ 66 #define testop(name, instr) \ argument 80 " " __stringify(instr) " %w3, %w3, %w4 // Toggle bit\n" \
|
/xen/xen/scripts/ |
A D | Kconfig.include | 34 # $(as-instr,<instr>) 35 # Return y if the assembler supports <instr>, n otherwise 36 as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) -c -x assembler -o /dev/null -)
|
/xen/xen/include/asm-x86/ |
A D | current.h | 158 #define switch_stack_and_jump(fn, instr, constr) \ argument 165 instr "[fun]" \
|
/xen/tools/xentrace/ |
A D | xenctx.c | 845 guest_word_t instr; in print_code() local 848 instr = instr_pointer(ctx); in print_code() 849 printf("Code (instr addr %08llx)\n", instr); in print_code() 850 instr -= 21; in print_code() 852 unsigned char *c = map_page(ctx, vcpu, instr+i); in print_code() 855 if (instr+i == instr_pointer(ctx)) in print_code()
|
/xen/xen/ |
A D | Rules.mk | 93 COV_FLAGS := -fprofile-instr-generate -fcoverage-mapping
|
/xen/docs/hypervisor-guide/ |
A D | code-coverage.rst | 99 xen.git/xen$ llvm-cov show -format=html -output-dir=cov/ xen-syms -instr-profile=xen.profdata
|
/xen/xen/common/ |
A D | livepatch.c | 816 const void *instr = ALT_ORIG_PTR(a); in prepare_payload() local 819 if ( (instr < region->start && instr >= region->end) || in prepare_payload() 823 elf->name, instr); in prepare_payload()
|
/xen/xen/arch/x86/ |
A D | Kconfig | 39 def_bool $(as-instr,wrssq %rax$(comma)0;setssbsy)
|