Home
last modified time | relevance | path

Searched refs:x86 (Results 1 – 25 of 113) sorted by relevance

12345

/rk3399_rockchip-uboot/drivers/bios_emulator/x86emu/
H A Ddecode.c52 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 Ddebug.c60 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 Dops.c181 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 Dprim_ops.c1876 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 Dops2.c64 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 …]
H A Dsys.c320 push_word((u16) M.x86.R_FLG); in X86EMU_prepareForInt()
323 push_word(M.x86.R_CS); in X86EMU_prepareForInt()
324 M.x86.R_CS = mem_access_word(num * 4 + 2); in X86EMU_prepareForInt()
325 push_word(M.x86.R_IP); in X86EMU_prepareForInt()
326 M.x86.R_IP = mem_access_word(num * 4); in X86EMU_prepareForInt()
327 M.x86.intr = 0; in X86EMU_prepareForInt()
/rk3399_rockchip-uboot/drivers/bios_emulator/
H A Dbios.c77 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 Dbiosemu.c110 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 …]
/rk3399_rockchip-uboot/arch/x86/lib/
H A Dbios_interrupts.c29 switch ((M.x86.R_EAX & 0xff00) >> 8) { in int10_handler()
34 if (cursor_row != ((M.x86.R_EDX >> 8) & 0xff) || in int10_handler()
35 cursor_col >= (M.x86.R_EDX & 0xff)) { in int10_handler()
38 cursor_row = (M.x86.R_EDX >> 8) & 0xff; in int10_handler()
39 cursor_col = M.x86.R_EDX & 0xff; in int10_handler()
43 M.x86.R_EAX &= 0x00ff; in int10_handler()
44 M.x86.R_ECX = 0x0607; in int10_handler()
45 M.x86.R_EDX = (cursor_row << 8) | cursor_col; in int10_handler()
53 M.x86.R_EAX = 0x0f00 | 'A'; /* White on black 'A' */ in int10_handler()
58 debug("%c", M.x86.R_EAX & 0xff); in int10_handler()
[all …]
H A Dbios.c61 .eax = M.x86.R_EAX, in int_exception_handler()
62 .ecx = M.x86.R_ECX, in int_exception_handler()
63 .edx = M.x86.R_EDX, in int_exception_handler()
64 .ebx = M.x86.R_EBX, in int_exception_handler()
65 .esp = M.x86.R_ESP, in int_exception_handler()
66 .ebp = M.x86.R_EBP, in int_exception_handler()
67 .esi = M.x86.R_ESI, in int_exception_handler()
68 .edi = M.x86.R_EDI, in int_exception_handler()
69 .vector = M.x86.intno, in int_exception_handler()
71 .eip = M.x86.R_EIP, in int_exception_handler()
[all …]
H A Delf_x86_64_efi.lds9 OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64")
10 OUTPUT_ARCH(i386:x86-64)
/rk3399_rockchip-uboot/drivers/bios_emulator/include/x86emu/
H A Ddebug.h52 # 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 …]
H A Dregs.h210 #define TOGGLE_FLAG(flag) (M.x86.R_FLG ^= (flag))
211 #define SET_FLAG(flag) (M.x86.R_FLG |= (flag))
212 #define CLEAR_FLAG(flag) (M.x86.R_FLG &= ~(flag))
213 #define ACCESS_FLAG(flag) (M.x86.R_FLG & (flag))
214 #define CLEARALL_FLAG(m) (M.x86.R_FLG = 0)
305 #undef x86
307 X86EMU_regs x86; member
/rk3399_rockchip-uboot/arch/x86/
H A DMakefile7 head-y := arch/x86/cpu/start64.o
9 head-y := arch/x86/cpu/start.o
13 head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/start16.o
14 head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/resetvec.o
16 libs-y += arch/x86/cpu/
17 libs-y += arch/x86/lib/
/rk3399_rockchip-uboot/board/dfi/dfi-bt700/
H A DMAINTAINERS6 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
/rk3399_rockchip-uboot/board/emulation/
H A DKconfig13 bool "QEMU x86"
15 This is the QEMU emulated x86 board. U-Boot supports running
17 There are two types of x86 boards supported by QEMU which are
22 bool "QEMU x86 64-bit"
24 This is the QEMU emulated x86 64-bit board. With this config
30 source "board/emulation/qemu-x86/Kconfig"
/rk3399_rockchip-uboot/drivers/video/
H A Divybridge_igd.c629 debug("%s: INT15 function %04x!\n", __func__, M.x86.R_AX); in int15_handler()
631 switch (M.x86.R_AX) { in int15_handler()
640 M.x86.R_AX = 0x005f; in int15_handler()
641 M.x86.R_CL = 0x00; /* Use video bios default */ in int15_handler()
656 M.x86.R_AX = 0x005f; in int15_handler()
657 M.x86.R_CX = 0x0000; /* Use video bios default */ in int15_handler()
668 M.x86.R_AX = 0x005f; in int15_handler()
669 M.x86.R_CX = 0x0003; /* eDP */ in int15_handler()
673 switch (M.x86.R_CH) { in int15_handler()
676 M.x86.R_AX = 0x005f; in int15_handler()
[all …]
/rk3399_rockchip-uboot/board/emulation/qemu-x86/
H A DMAINTAINERS4 F: board/emulation/qemu-x86/
5 F: include/configs/qemu-x86.h
13 F: board/emulation/qemu-x86/
14 F: include/configs/qemu-x86.h
/rk3399_rockchip-uboot/board/congatec/conga-qeval20-qa3-e3845/
H A DMAINTAINERS6 F: include/configs/theadorable-x86-conga-qa3-e3845.h
9 F: configs/theadorable-x86-conga-qa3-e3845_defconfig
10 F: configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig
11 F: arch/x86/dts/conga-qeval20-qa3-e3845.dts
/rk3399_rockchip-uboot/arch/x86/cpu/
H A Du-boot-64.lds9 OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64")
10 OUTPUT_ARCH(i386:x86-64)
/rk3399_rockchip-uboot/doc/uImage.FIT/
H A Dkernel.its41 For x86 a setup node is also required: see x86-fit-boot.txt.
46 description = "Simple image with single Linux kernel on x86";
54 arch = "x86";
68 arch = "x86";
/rk3399_rockchip-uboot/board/dfi/
H A DKconfig20 It requires some binary blobs - see README.x86 for details.
26 bool "DFI BT700 BayTrail on theadorable-x86 baseboard"
29 This is the theadorable-x86 baseboard equipped with the
33 It requires some binary blobs - see README.x86 for details.
/rk3399_rockchip-uboot/arch/x86/dts/
H A Dedison.dts9 #include <dt-bindings/gpio/x86-gpio.h>
34 compatible = "cpu-x86";
41 compatible = "cpu-x86";
48 compatible = "pci-x86";
/rk3399_rockchip-uboot/board/congatec/
H A DKconfig22 It requires some binary blobs - see README.x86 for details.
28 bool "theadorable-x86 baseboard & conga-QA3/E3845"
30 This is the theadorable-x86 baseboard board equipped with the
33 out. It requires some binary blobs - see README.x86 for details.
/rk3399_rockchip-uboot/board/efi/efi-x86/
H A DKconfig4 default "efi-x86"
13 default "efi-x86"

12345