/openbmc/u-boot/drivers/bios_emulator/x86emu/ |
H A D | decode.c | 52 if (M.x86.intr & INTR_SYNCH) { in x86emu_intr_handle() 53 intno = M.x86.intno; in x86emu_intr_handle() 57 push_word((u16)M.x86.R_FLG); in x86emu_intr_handle() 60 push_word(M.x86.R_CS); in x86emu_intr_handle() 61 M.x86.R_CS = mem_access_word(intno * 4 + 2); in x86emu_intr_handle() 62 push_word(M.x86.R_IP); in x86emu_intr_handle() 63 M.x86.R_IP = mem_access_word(intno * 4); in x86emu_intr_handle() 64 M.x86.intr = 0; in x86emu_intr_handle() 80 M.x86.intno = intrnum; in x86emu_intr_raise() 81 M.x86.intr |= INTR_SYNCH; in x86emu_intr_raise() [all …]
|
H A D | debug.c | 60 printk("%04x:%04x ", M.x86.saved_cs, M.x86.saved_ip); in X86EMU_trace_regs() 61 print_encoded_bytes(M.x86.saved_cs, M.x86.saved_ip); in X86EMU_trace_regs() 79 printk("%04x:%04x ", M.x86.saved_cs, M.x86.saved_ip); in x86emu_just_disassemble() 80 print_encoded_bytes(M.x86.saved_cs, M.x86.saved_ip); in x86emu_just_disassemble() 114 tregs.x86.R_IP = off; in disassemble_forward() 115 tregs.x86.R_CS = seg; in disassemble_forward() 118 tregs.x86.enc_str_pos = 0; in disassemble_forward() 119 tregs.x86.enc_pos = 0; in disassemble_forward() 122 tregs.x86.debug |= DEBUG_DISASSEMBLE_F; in disassemble_forward() 133 op1 = (*sys_rdb) (((u32) M.x86.R_CS << 4) + (M.x86.R_IP++)); in disassemble_forward() [all …]
|
H A D | ops.c | 181 if (M.x86.R_SP != 0) { in x86emuOp_illegal_op() 185 M.x86.R_CS, M.x86.R_IP-1,op1)); in x86emuOp_illegal_op() 258 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp_genop_word_RM_R() 282 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp_genop_word_RM_R() 361 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp_genop_word_R_RM() 377 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp_genop_word_R_RM() 415 M.x86.R_AL = genop_byte_operation[op1](M.x86.R_AL, srcval); in x86emuOp_genop_byte_AL_IMM() 431 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp_genop_word_AX_IMM() 442 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp_genop_word_AX_IMM() 443 M.x86.R_EAX = genop_long_operation[op1](M.x86.R_EAX, srcval); in x86emuOp_genop_word_AX_IMM() [all …]
|
H A D | prim_ops.c | 1876 s16 res = (s16)((s8)M.x86.R_AL * (s8)s); in imul_byte() 1878 M.x86.R_AX = res; in imul_byte() 1879 if (((M.x86.R_AL & 0x80) == 0 && M.x86.R_AH == 0x00) || in imul_byte() 1880 ((M.x86.R_AL & 0x80) != 0 && M.x86.R_AH == 0xFF)) { in imul_byte() 1895 s32 res = (s16)M.x86.R_AX * (s16)s; in imul_word() 1897 M.x86.R_AX = (u16)res; in imul_word() 1898 M.x86.R_DX = (u16)(res >> 16); in imul_word() 1899 if (((M.x86.R_AX & 0x8000) == 0 && M.x86.R_DX == 0x0000) || in imul_word() 1900 ((M.x86.R_AX & 0x8000) != 0 && M.x86.R_DX == 0xFFFF)) { in imul_word() 1953 imul_long_direct(&M.x86.R_EAX,&M.x86.R_EDX,M.x86.R_EAX,s); in imul_long() [all …]
|
H A D | ops2.c | 64 M.x86.R_CS, M.x86.R_IP-2,op2); in x86emuOp2_illegal_op() 154 target += (s16) M.x86.R_IP; in x86emuOp2_long_jump() 158 M.x86.R_IP = (u16)target; in x86emuOp2_long_jump() 268 push_word(M.x86.R_FS); in x86emuOp2_push_FS() 282 M.x86.R_FS = pop_word(); in x86emuOp2_pop_FS() 302 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp2_bt_R() 326 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp2_bt_R() 365 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp2_shld_IMM() 393 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp2_shld_IMM() 435 if (M.x86.mode & SYSMODE_PREFIX_DATA) { in x86emuOp2_shld_CL() [all …]
|
/openbmc/u-boot/drivers/bios_emulator/ |
H A D | bios.c | 77 if (M.x86.R_AH == 0x12 && M.x86.R_BL == 0x32) { in int42() 78 if (M.x86.R_AL == 0) { in int42() 82 } else if (M.x86.R_AL == 1) { in int42() 90 M.x86.R_AL); in int42() 97 M.x86.R_AH, M.x86.R_AL, M.x86.R_BL); in int42() 162 switch (M.x86.R_AX) { 164 M.x86.R_AL = 0x00; /* no config space/special cycle generation support */ 165 M.x86.R_EDX = 0x20494350; /* " ICP" */ 166 M.x86.R_BX = 0x0210; /* Version 2.10 */ 167 M.x86.R_CL = 0; /* Max bus number in system */ [all …]
|
H A D | biosemu.c | 110 M.x86.debug = debugFlags; in BE_init() 249 M.x86.R_EAX = regs->e.eax; in BE_callRealMode() 250 M.x86.R_EBX = regs->e.ebx; in BE_callRealMode() 251 M.x86.R_ECX = regs->e.ecx; in BE_callRealMode() 252 M.x86.R_EDX = regs->e.edx; in BE_callRealMode() 253 M.x86.R_ESI = regs->e.esi; in BE_callRealMode() 254 M.x86.R_EDI = regs->e.edi; in BE_callRealMode() 255 M.x86.R_DS = sregs->ds; in BE_callRealMode() 256 M.x86.R_ES = sregs->es; in BE_callRealMode() 257 M.x86.R_FS = sregs->fs; in BE_callRealMode() [all …]
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | bios_interrupts.c | 28 switch ((M.x86.R_EAX & 0xff00) >> 8) { in int10_handler() 33 if (cursor_row != ((M.x86.R_EDX >> 8) & 0xff) || in int10_handler() 34 cursor_col >= (M.x86.R_EDX & 0xff)) { in int10_handler() 37 cursor_row = (M.x86.R_EDX >> 8) & 0xff; in int10_handler() 38 cursor_col = M.x86.R_EDX & 0xff; in int10_handler() 42 M.x86.R_EAX &= 0x00ff; in int10_handler() 43 M.x86.R_ECX = 0x0607; in int10_handler() 44 M.x86.R_EDX = (cursor_row << 8) | cursor_col; in int10_handler() 52 M.x86.R_EAX = 0x0f00 | 'A'; /* White on black 'A' */ in int10_handler() 57 debug("%c", M.x86.R_EAX & 0xff); in int10_handler() [all …]
|
H A D | bios.c | 60 .eax = M.x86.R_EAX, in int_exception_handler() 61 .ecx = M.x86.R_ECX, in int_exception_handler() 62 .edx = M.x86.R_EDX, in int_exception_handler() 63 .ebx = M.x86.R_EBX, in int_exception_handler() 64 .esp = M.x86.R_ESP, in int_exception_handler() 65 .ebp = M.x86.R_EBP, in int_exception_handler() 66 .esi = M.x86.R_ESI, in int_exception_handler() 67 .edi = M.x86.R_EDI, in int_exception_handler() 68 .vector = M.x86.intno, in int_exception_handler() 70 .eip = M.x86.R_EIP, in int_exception_handler() [all …]
|
/openbmc/openbmc/poky/meta/conf/machine/include/x86/ |
H A D | tune-x86-64-v3.inc | 1 # Settings for the GCC(1) cpu-type "x86-64-v3": 5 # See https://www.phoronix.com/news/GCC-11-x86-64-Feature-Levels for details. 9 DEFAULTTUNE ?= "x86-64-v3" 12 require conf/machine/include/x86/tune-corei7.inc 15 TUNEVALID[x86-64-v3] = "Enable x86-64-v3 specific processor optimizations" 16 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'x86-64-v3', ' -march=x86-64-v3', '', d)}" 19 AVAILTUNES += "x86-64-v3" 20 TUNE_FEATURES:tune-x86-64-v3 = "${TUNE_FEATURES:tune-x86-64} x86-64-v3" 21 BASE_LIB:tune-x86-64-v3 = "lib64" 22 TUNE_PKGARCH:tune-x86-64-v3 = "x86-64-v3" [all …]
|
H A D | arch-x86.inc | 5 DEFAULTTUNE ?= "x86" 17 MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}" 29 MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}" 38 AVAILTUNES += "x86" 39 TUNE_FEATURES:tune-x86 = "m32" 40 BASE_LIB:tune-x86 = "lib" 41 TUNE_PKGARCH:tune-x86 = "x86" 42 PACKAGE_EXTRA_ARCHS:tune-x86 = "${TUNE_PKGARCH:tune-x86}" 44 AVAILTUNES += "x86-64" 45 TUNE_FEATURES:tune-x86-64 = "m64" [all …]
|
/openbmc/openbmc/poky/meta/recipes-support/boost/boost/ |
H A D | 0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch | 27 -# x86 and compatible 30 -toolset.flags gcc OPTIONS <architecture>x86/<address-model>32/<instruction-set> : -march=i686 ; 31 -cpu-flags gcc OPTIONS : x86 : native : -march=native ; 32 -cpu-flags gcc OPTIONS : x86 : i486 : -march=i486 ; 33 -cpu-flags gcc OPTIONS : x86 : i586 : -march=i586 ; 34 -cpu-flags gcc OPTIONS : x86 : i686 : -march=i686 ; 35 -cpu-flags gcc OPTIONS : x86 : pentium : -march=pentium ; 36 -cpu-flags gcc OPTIONS : x86 : pentium-mmx : -march=pentium-mmx ; 37 -cpu-flags gcc OPTIONS : x86 : pentiumpro : -march=pentiumpro ; 38 -cpu-flags gcc OPTIONS : x86 : pentium2 : -march=pentium2 ; [all …]
|
/openbmc/linux/arch/x86/tools/ |
H A D | Makefile | 16 reformatter = $(srctree)/arch/x86/tools/objdump_reformat.awk 17 chkobjdump = $(srctree)/arch/x86/tools/chkobjdump.awk 32 …er_test.o := -Wall -I$(srctree)/tools/arch/x86/lib/ -I$(srctree)/tools/arch/x86/include/ -I$(objtr… 34 …_sanity.o := -Wall -I$(srctree)/tools/arch/x86/lib/ -I$(srctree)/tools/arch/x86/include/ -I$(objtr… 37 …x86/lib/insn.c $(srctree)/tools/arch/x86/lib/inat.c $(srctree)/tools/arch/x86/include/asm/inat_typ… 39 …x86/lib/insn.c $(srctree)/tools/arch/x86/lib/inat.c $(srctree)/tools/arch/x86/include/asm/inat_typ…
|
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/ |
H A D | debug.h | 52 # define CHECK_IP_FETCH() (M.x86.check & CHECK_IP_FETCH_F) 53 # define CHECK_SP_ACCESS() (M.x86.check & CHECK_SP_ACCESS_F) 54 # define CHECK_MEM_ACCESS() (M.x86.check & CHECK_MEM_ACCESS_F) 55 # define CHECK_DATA_ACCESS() (M.x86.check & CHECK_DATA_ACCESS_F) 64 # define DEBUG_INSTRUMENT() (M.x86.debug & DEBUG_INSTRUMENT_F) 65 # define DEBUG_DECODE() (M.x86.debug & DEBUG_DECODE_F) 66 # define DEBUG_TRACE() (M.x86.debug & DEBUG_TRACE_F) 67 # define DEBUG_STEP() (M.x86.debug & DEBUG_STEP_F) 68 # define DEBUG_DISASSEMBLE() (M.x86.debug & DEBUG_DISASSEMBLE_F) 69 # define DEBUG_BREAK() (M.x86.debug & DEBUG_BREAK_F) [all …]
|
/openbmc/linux/tools/perf/arch/x86/tests/ |
H A D | gen-insn-x86-dat.sh | 20 gcc -g -c insn-x86-dat-src.c 22 objdump -dSw insn-x86-dat-src.o | awk -f gen-insn-x86-dat.awk > insn-x86-dat-64.c 24 rm -f insn-x86-dat-src.o 28 gcc -g -c -m32 insn-x86-dat-src.c 30 objdump -dSw insn-x86-dat-src.o | awk -f gen-insn-x86-dat.awk > insn-x86-dat-32.c 32 rm -f insn-x86-dat-src.o
|
/openbmc/openbmc/poky/meta/recipes-bsp/v86d/v86d/ |
H A D | Update-x86emu-from-X.org.patch | 102 - printk("%04x:%04x ",M.x86.saved_cs, M.x86.saved_ip); 103 - print_encoded_bytes( M.x86.saved_cs, M.x86.saved_ip); 106 + printk("%04x:%04x ", M.x86.saved_cs, M.x86.saved_ip); 107 + print_encoded_bytes(M.x86.saved_cs, M.x86.saved_ip); 131 - printk("%04x:%04x ",M.x86.saved_cs, M.x86.saved_ip); 132 - print_encoded_bytes( M.x86.saved_cs, M.x86.saved_ip); 134 + printk("%04x:%04x ", M.x86.saved_cs, M.x86.saved_ip); 135 + print_encoded_bytes(M.x86.saved_cs, M.x86.saved_ip); 159 tregs.x86.R_IP = off; 160 tregs.x86.R_CS = seg; [all …]
|
/openbmc/qemu/tests/migration/i386/ |
H A D | Makefile | 7 a-b-bootblock.h: x86.bootsect x86.o 10 nm x86.o | awk '{print "#define SYM_"$$3" 0x"$$1}' >> header.tmp 13 x86.bootsect: x86.boot 16 x86.boot: x86.o 19 x86.o: a-b-bootblock.S
|
/openbmc/linux/tools/objtool/arch/x86/ |
H A D | Build | 4 inat_tables_script = ../arch/x86/tools/gen-insn-attr-x86.awk 5 inat_tables_maps = ../arch/x86/lib/x86-opcode-map.txt 7 $(OUTPUT)arch/x86/lib/inat-tables.c: $(inat_tables_script) $(inat_tables_maps) 11 $(OUTPUT)arch/x86/decode.o: $(OUTPUT)arch/x86/lib/inat-tables.c 13 CFLAGS_decode.o += -I$(OUTPUT)arch/x86/lib
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | amd.c | 96 if ((cpu->x86 == AMD_MODEL_RANGE_FAMILY(range)) && in cpu_has_amd_erratum() 109 WARN_ONCE((boot_cpu_data.x86 != 0xf), in rdmsrl_amd_safe() 126 WARN_ONCE((boot_cpu_data.x86 != 0xf), in wrmsrl_amd_safe() 379 if (c->x86 >= 0x17) in legacy_fixup_core_id() 405 if (c->x86 == 0x15) in amd_get_topology() 408 if (c->x86 >= 0x17) { in amd_get_topology() 546 if (c->x86 > 0x10 || in bsp_init_amd() 547 (c->x86 == 0x10 && c->x86_model >= 0x2)) { in bsp_init_amd() 556 if (c->x86 == 0x15) { in bsp_init_amd() 588 c->x86 >= 0x15 && c->x86 <= 0x17) { in bsp_init_amd() [all …]
|
/openbmc/u-boot/arch/x86/ |
H A D | Makefile | 5 head-y := arch/x86/cpu/start64.o 7 head-y := arch/x86/cpu/start.o 11 head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/start16.o 12 head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/resetvec.o 14 libs-y += arch/x86/cpu/ 15 libs-y += arch/x86/lib/
|
/openbmc/u-boot/drivers/video/ |
H A D | ivybridge_igd.c | 572 debug("%s: INT15 function %04x!\n", __func__, M.x86.R_AX); in int15_handler() 574 switch (M.x86.R_AX) { in int15_handler() 583 M.x86.R_AX = 0x005f; in int15_handler() 584 M.x86.R_CL = 0x00; /* Use video bios default */ in int15_handler() 599 M.x86.R_AX = 0x005f; in int15_handler() 600 M.x86.R_CX = 0x0000; /* Use video bios default */ in int15_handler() 611 M.x86.R_AX = 0x005f; in int15_handler() 612 M.x86.R_CX = 0x0003; /* eDP */ in int15_handler() 616 switch (M.x86.R_CH) { in int15_handler() 619 M.x86.R_AX = 0x005f; in int15_handler() [all …]
|
/openbmc/linux/arch/x86/ |
H A D | Makefile | 5 ifeq ($(ARCH),x86) 108 include $(srctree)/arch/x86/Makefile_32.cpu 243 $(Q)$(MAKE) $(build)=arch/x86/tools relocs 249 $(Q)$(MAKE) $(build)=arch/x86/entry/syscalls all 254 libs-y += arch/x86/lib/ 257 drivers-$(CONFIG_MATH_EMULATION) += arch/x86/math-emu/ 258 drivers-$(CONFIG_PCI) += arch/x86/pci/ 261 drivers-$(CONFIG_PM) += arch/x86/power/ 263 drivers-$(CONFIG_FB_CORE) += arch/x86/video/ 268 boot := arch/x86/boot [all …]
|
/openbmc/u-boot/board/dfi/dfi-bt700/ |
H A D | MAINTAINERS | 6 F: include/configs/theadorable-x86-dfi-bt700.h 8 F: configs/theadorable-x86-dfi-bt700_defconfig 9 F: arch/x86/dts/dfi-bt700.dtsi 10 F: arch/x86/dts/dfi-bt700-q7x-151.dts 11 F: arch/x86/dts/theadorable-x86-dfi-bt700.dts
|
/openbmc/linux/arch/x86/lib/ |
H A D | cpu.c | 8 unsigned int x86; in x86_family() local 10 x86 = (sig >> 8) & 0xf; in x86_family() 12 if (x86 == 0xf) in x86_family() 13 x86 += (sig >> 20) & 0xff; in x86_family() 15 return x86; in x86_family()
|
/openbmc/openbmc/poky/meta/recipes-devtools/elfutils/files/ |
H A D | 0001-skip-the-test-when-gcc-not-deployed.patch | 13 tests/run-disasm-x86-64.sh | 2 ++ 14 tests/run-disasm-x86.sh | 2 ++ 19 diff --git a/tests/run-disasm-x86-64.sh b/tests/run-disasm-x86-64.sh 21 --- a/tests/run-disasm-x86-64.sh 22 +++ b/tests/run-disasm-x86-64.sh 32 diff --git a/tests/run-disasm-x86.sh b/tests/run-disasm-x86.sh 34 --- a/tests/run-disasm-x86.sh 35 +++ b/tests/run-disasm-x86.sh
|