Home
last modified time | relevance | path

Searched full:x86 (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/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.c2 * From Coreboot file device/oprom/realmode/x86.c
61 .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()
[all …]
/rk3399_rockchip-uboot/drivers/bios_emulator/
H A Dbios.c4 * to Realmode X86 Emulator Library
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()
126 #define DEVICE_NOT_FOUND 0x86
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" */
[all …]
H A Dbiosemu.c4 * to Realmode X86 Emulator Library
110 M.x86.debug = debugFlags; in BE_init()
184 NOTE: The memory is *always* in little endian format, son on non-x86
212 NOTE: The memory is *always* in little endian format, son on non-x86
243 and loads all the x86 registers from the passed in registers structure.
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()
[all …]
/rk3399_rockchip-uboot/drivers/bios_emulator/x86emu/
H A Ddebug.c3 * Realmode X86 Emulator Library
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()
[all …]
H A Ddecode.c3 * Realmode X86 Emulator Library
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()
[all …]
H A Dops.c2 * Realmode X86 Emulator Library
38 * and emulation of all the x86 processor instructions.
181 if (M.x86.R_SP != 0) { in x86emuOp_illegal_op()
182 DB(printf("ILLEGAL X86 OPCODE\n")); in x86emuOp_illegal_op()
184 DB( printk("%04x:%04x: %02X ILLEGAL X86 OPCODE!\n", 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()
[all …]
H A Dprim_ops.c3 * Realmode X86 Emulator Library
1207 /* was (M.x86.R_FLG&F_CF)==F_CF)), */ in shl_byte()
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()
[all …]
/rk3399_rockchip-uboot/drivers/bios_emulator/include/x86emu/
H A Ddebug.h3 * Realmode X86 Emulator Library
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)
[all …]
/rk3399_rockchip-uboot/board/emulation/qemu-x86/
H A DMAINTAINERS1 QEMU X86 BOARD
4 F: board/emulation/qemu-x86/
5 F: include/configs/qemu-x86.h
10 QEMU X86 64-bit BOARD
13 F: board/emulation/qemu-x86/
14 F: include/configs/qemu-x86.h
/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/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/include/configs/
H A Dtheadorable-x86-conga-qa3-e3845.h14 #include <configs/x86-common.h>
17 #define DEF_ENV_TFTPDIR "theadorable-x86-conga"
25 * Include the theadorable-x86 common options, macros and default
28 #include <configs/theadorable-x86-common.h>
H A Dtheadorable-x86-dfi-bt700.h14 #include <configs/x86-common.h>
20 #define DEF_ENV_TFTPDIR "theadorable-x86-dfi"
28 * Include the theadorable-x86 common options, macros and default
31 #include <configs/theadorable-x86-common.h>
/rk3399_rockchip-uboot/doc/uImage.FIT/
H A Dx86-fit-boot.txt1 Booting Linux on x86 with FIT
9 Generally Linux x86 uses its own very complex booting method. There is a setup
14 The x86 CPU has various processor modes. I am no expert on these, but my
15 understanding is that an x86 CPU (even a really new one) starts up in a 16-bit
51 As a result, the x86 kernel boot process is needlessly complex. The file
152 arch/x86/boot/setup.bin and is about 12KB in size. It includes the command
170 FIT. See kernel.its for an example for x86 and also instructions on setting
198 FIT description: Simple image with single Linux kernel on x86
206 Architecture: Intel x86
215 Type: x86 setup.bin
[all …]
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/efi/efi-x86/
H A DMAINTAINERS1 EFI-X86 BOARD
4 F: board/efi/efi-x86/
5 F: include/configs/efi-x86.h
/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/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/doc/
H A DREADME.efi55 Only x86 is supported at present. If you are using EFI on another architecture
76 and CONFIG_EFI_APP. The efi-x86 config (efi-x86_defconfig) is set up for this.
98 QEMU is an emulator and it can emulate an x86 machine. Please make sure your
157 little x86-specific code involved - you can find most of it in
158 arch/x86/cpu. Porting to ARM (which can also use EFI if you are brave
177 x86-specific code and a comment at the top of efi_stub.c describes this.
194 is even present when Linux is running. This is common on x86 and provides
215 Everything else is built as a normal U-Boot, so is always 32-bit on x86 at
222 - Add a generic x86 EFI payload configuration. At present you need to modify
223 an existing one, but mostly the low-level x86 code is disabled when booting
[all …]
H A DREADME.nvme80 Testing NVMe with QEMU x86
82 QEMU supports NVMe emulation and we can test NVMe driver with QEMU x86 running
83 U-Boot. Please see README.x86 for how to build u-boot.rom image for QEMU x86.
85 Example command line to call QEMU x86 below with emulated NVMe device:
/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/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";

12345678910>>...13