Home
last modified time | relevance | path

Searched +full:0 +full:x86 (Results 1 – 25 of 1158) sorted by relevance

12345678910>>...47

/openbmc/u-boot/arch/x86/lib/
H A Dbios_interrupts.c16 PCIBIOS_SUCCESSFUL = 0x0000,
17 PCIBIOS_UNSUPPORTED = 0x8100,
18 PCIBIOS_BADVENDOR = 0x8300,
19 PCIBIOS_NODEV = 0x8600,
20 PCIBIOS_BADREG = 0x8700
26 int res = 0; in int10_handler()
28 switch ((M.x86.R_EAX & 0xff00) >> 8) { in int10_handler()
29 case 0x01: /* Set cursor shape */ in int10_handler()
32 case 0x02: /* Set cursor position */ in int10_handler()
33 if (cursor_row != ((M.x86.R_EDX >> 8) & 0xff) || in int10_handler()
[all …]
H A Dbios.c3 * From Coreboot file device/oprom/realmode/x86.c
47 memcpy((void *)0xffff5, &date, 8); in setup_rombios()
50 memcpy((void *)0xfffd9, &ident, 7); in setup_rombios()
53 writeb(0xfc, 0xffffe); in setup_rombios()
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()
[all …]
/openbmc/u-boot/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()
80 PM_outpb(0x3c2, PM_inpb(0x3cc) | (u8) 0x02); in int42()
82 } else if (M.x86.R_AL == 1) { in int42()
84 PM_outpb(0x3c2, PM_inpb(0x3cc) & (u8) ~ 0x02); in int42()
89 printf("int42: unknown function AH=0x12, BL=0x32, AL=%#02x\n", in int42()
90 M.x86.R_AL); in int42()
97 M.x86.R_AH, M.x86.R_AL, M.x86.R_BL); in int42()
123 #define SUCCESSFUL 0x00
[all …]
H A Dbiosemu.c4 * to Realmode X86 Emulator Library
52 BE_sysEnv _BE_env = {{0}};
71 #define OFF(addr) (u16)(((addr) >> 0) & 0xffff)
72 #define SEG(addr) (u16)(((addr) >> 4) & 0xf000)
82 BIOS image as the BIOS that is used and emulated at 0xC0000.
90 memset(&M, 0, sizeof(M)); in BE_init()
93 return 0; in BE_init()
100 return 0; in BE_init()
104 _BE_env.emulateVGA = 0; in BE_init()
108 return 0; in BE_init()
[all …]
/openbmc/u-boot/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()
192 * the emulator with an 0xF1 opcode to finish the service in x86emuOp_illegal_op()
202 Handles opcodes 0x00, 0x08, 0x10, 0x18, 0x20, 0x28, 0x30, 0x38
211 op1 = (op1 >> 3) & 0x7; in x86emuOp_genop_byte_RM_R()
242 Handles opcodes 0x01, 0x09, 0x11, 0x19, 0x21, 0x29, 0x31, 0x39
[all …]
/openbmc/qemu/tests/qtest/
H A Dtest-x86-cpuid-compat.c128 uint32_t recx = 0; in get_feature_word()
141 return 0; in get_feature_word()
240 g_test_trap_subprocess("/x86/cpuid/parsing-plus-minus/subprocess", 0, 0); in test_plus_minus()
253 g_test_add_func("/x86/cpuid/parsing-plus-minus/subprocess", in main()
255 g_test_add_func("/x86/cpuid/parsing-plus-minus", test_plus_minus); in main()
258 add_cpuid_test("x86/cpuid/phenom/level", in main()
260 add_cpuid_test("x86/cpuid/Conroe/level", in main()
262 add_cpuid_test("x86/cpuid/SandyBridge/level", in main()
263 "SandyBridge", NULL, NULL, "level", 0xd); in main()
264 add_cpuid_test("x86/cpuid/486/xlevel", in main()
[all …]
/openbmc/openbmc/poky/meta/recipes-bsp/v86d/v86d/
H A DUpdate-x86emu-from-X.org.patch48 @@ -1,17 +0,0 @@
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;
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-samsung-s6e3ha2.c22 #define S6E3HA2_MIN_BRIGHTNESS 0
31 { 0x00, 0xb8, 0x00, 0xc3, 0x00, 0xb1, 0x89, 0x87, 0x87, 0x82, 0x83,
32 0x85, 0x88, 0x8b, 0x8b, 0x84, 0x88, 0x82, 0x82, 0x89, 0x86, 0x8c,
33 0x94, 0x84, 0xb1, 0xaf, 0x8e, 0xcf, 0xad, 0xc9, 0x00, 0x00, 0x00,
34 0x00, 0x00 },
35 { 0x00, 0xb8, 0x00, 0xc3, 0x00, 0xb1, 0x89, 0x87, 0x87, 0x84, 0x84,
36 0x85, 0x87, 0x8b, 0x8a, 0x84, 0x88, 0x82, 0x82, 0x89, 0x86, 0x8a,
37 0x93, 0x84, 0xb0, 0xae, 0x8e, 0xc9, 0xa8, 0xc5, 0x00, 0x00, 0x00,
38 0x00, 0x00 },
39 { 0x00, 0xb8, 0x00, 0xc3, 0x00, 0xb1, 0x89, 0x87, 0x87, 0x83, 0x83,
[all …]
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/
H A Ddebug.h3 * Realmode X86 Emulator Library
46 #define CHECK_IP_FETCH_F 0x1
47 #define CHECK_SP_ACCESS_F 0x2
48 #define CHECK_MEM_ACCESS_F 0x4 /*using regular linear pointer */
49 #define CHECK_DATA_ACCESS_F 0x8 /*using segment:offset */
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)
[all …]
/openbmc/linux/tools/perf/
H A Dcheck-headers.sh4 YELLOW='\033[0;33m'
5 NC='\033[0m' # No Color
36 "arch/x86/include/asm/disabled-features.h"
37 "arch/x86/include/asm/required-features.h"
38 "arch/x86/include/asm/cpufeatures.h"
39 "arch/x86/include/asm/inat_types.h"
40 "arch/x86/include/asm/emulate_prefix.h"
41 "arch/x86/include/asm/irq_vectors.h"
42 "arch/x86/include/asm/msr-index.h"
43 "arch/x86/include/uapi/asm/prctl.h"
[all …]
/openbmc/linux/tools/perf/arch/x86/tests/
H A Dgen-insn-x86-dat.sh3 # gen-insn-x86-dat: generate data for the insn-x86 test
14 cd $(dirname $0)
18 echo "Compiling insn-x86-dat-src.c to 64-bit object"
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
26 echo "Compiling insn-x86-dat-src.c to 32-bit object"
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
H A Dinsn-x86.c8 #include "../../../../arch/x86/include/asm/insn.h"
22 #include "insn-x86-dat-32.c"
23 {{0x0f, 0x01, 0xee}, 3, 0, NULL, NULL, "0f 01 ee \trdpkru"},
24 {{0x0f, 0x01, 0xef}, 3, 0, NULL, NULL, "0f 01 ef \twrpkru"},
25 {{0}, 0, 0, NULL, NULL, NULL},
29 #include "insn-x86-dat-64.c"
30 {{0x0f, 0x01, 0xee}, 3, 0, NULL, NULL, "0f 01 ee \trdpkru"},
31 {{0x0f, 0x01, 0xef}, 3, 0, NULL, NULL, "0f 01 ef \twrpkru"},
32 {{0xf2, 0x0f, 0x01, 0xca}, 4, 0, "erets", "indirect", "f2 0f 01 ca \terets"},
33 {{0xf3, 0x0f, 0x01, 0xca}, 4, 0, "eretu", "indirect", "f3 0f 01 ca \teretu"},
[all …]
H A Dgen-insn-x86-dat.awk3 # gen-insn-x86-dat.awk: script to convert data for the insn-x86 test
9 print " * Generated by gen-insn-x86-dat.sh and gen-insn-x86-dat.awk"
10 print " * from insn-x86-dat-src.c for inclusion by insn-x86.c"
15 rel = 0
16 going = 0
24 going = 0
27 /^\s*[0-9a-fA-F]+\:/ {
29 colon_pos = index($0, ":")
30 useful_line = substr($0, colon_pos + 1)
31 first_pos = match(useful_line, "[0-9a-fA-F]")
[all …]
/openbmc/linux/tools/objtool/
H A Dsync-check.sh11 if [ "$SRCARCH" = "x86" ]; then
13 arch/x86/include/asm/nops.h
14 arch/x86/include/asm/inat_types.h
15 arch/x86/include/asm/orc_types.h
16 arch/x86/include/asm/emulate_prefix.h
17 arch/x86/lib/x86-opcode-map.txt
18 arch/x86/tools/gen-insn-attr-x86.awk
23 arch/x86/include/asm/inat.h
24 arch/x86/include/asm/insn.h
25 arch/x86/lib/inat.c
[all …]
/openbmc/linux/fs/unicode/
H A Dutf8data.c_shipped8 0,
9 0x10100,
10 0x20000,
11 0x20100,
12 0x30000,
13 0x30100,
14 0x30200,
15 0x40000,
16 0x40100,
17 0x50000,
[all …]
/openbmc/u-boot/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
78 0 .text 00416850 81000000 01000000 00001000 2**5
86 4 __bug_table 0000597c 8156cba0 0156cba0 0056dba0 2**0
90 6 .tracedata 00000024 8157409c 0157409c 0057509c 2**0
96 9 __ksymtab_strings 0001d6fc 815809a8 015809a8 005819a8 2**0
112 17 .altinstructions 0000267c 81674cf8 01674cf8 00675cf8 2**0
[all …]
/openbmc/linux/arch/x86/
H A DMakefile5 ifeq ($(ARCH),x86)
75 # Kernel IBT has S_CET.NOTRACK_EN=0, as such the compilers must not generate
108 include $(srctree)/arch/x86/Makefile_32.cpu
140 # By default gcc and clang use a stack alignment of 16 bytes for x86.
141 # However the standard kernel entry on x86-64 leaves the stack on an
200 # retpoline builds, however, gcc does not for x86. This has
201 # only been fixed starting from gcc stable version 8.4.0 and
233 # The 64-bit kernel must be aligned to 2MB. Pass -z max-page-size=0x200000 to
238 LDFLAGS_vmlinux += -z max-page-size=0x200000
243 $(Q)$(MAKE) $(build)=arch/x86/tools relocs
[all …]
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dbootparam.h6 #define SETUP_NONE 0
22 #define RAMDISK_IMAGE_START_MASK 0x07FF
23 #define RAMDISK_PROMPT_FLAG 0x8000
24 #define RAMDISK_LOAD_FLAG 0x4000
27 #define LOADED_HIGH (1<<0)
34 #define XLF_KERNEL_64 (1<<0)
115 /* Gleaned from OFW's set-parameters in cpu/x86/pc/linux.fth */
136 * (the zeropage), which is part of the x86 boot protocol ABI:
187 struct screen_info screen_info; /* 0x000 */
188 struct apm_bios_info apm_bios_info; /* 0x040 */
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/libx86-1/libx86-1.1/
H A D0001-Fix-type-of-the-void-pointer-assignment.patch8 x86-common.c:216:9: error: incompatible integer to pointer conversion assigning to 'void *' from 'l…
15 x86-common.c | 2 +-
18 diff --git a/x86-common.c b/x86-common.c
20 --- a/x86-common.c
21 +++ b/x86-common.c
30 Map the Interrupt Vectors (0x0 - 0x400) + BIOS data (0x400 - 0x502)
/openbmc/linux/include/xen/interface/
H A Dcallback.h22 /* x86: Callback for event delivery. */
23 #define CALLBACKTYPE_event 0
25 /* x86: Failsafe callback when guest state cannot be restored by Xen. */
28 /* x86/64 hypervisor: Syscall by 64-bit guest app ('64-on-64-on-64'). */
32 * x86/32 hypervisor: Only available on x86/32 when supervisor_mode_kernel
37 /* x86: Callback for NMI delivery. */
41 * x86: sysenter is only available as follows:
51 * x86/64 hypervisor: Syscall by 32-bit guest app on AMD CPUs
60 #define _CALLBACKF_mask_events 0
66 #define CALLBACKOP_register 0
/openbmc/linux/arch/x86/lib/
H A Dcpu.c8 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()
25 model = (sig >> 4) & 0xf; in x86_model()
27 if (fam >= 0x6) in x86_model()
28 model += ((sig >> 16) & 0xf) << 4; in x86_model()
36 return sig & 0xf; in x86_stepping()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A DKconfig18 select X86_PLATFORM_DEVICES if ACPI && X86
19 select ACPI_WMI if ACPI && X86
20 select MXM_WMI if ACPI && X86
23 select BACKLIGHT_CLASS_DEVICE if ACPI && X86
24 select INPUT if ACPI && X86
25 select THERMAL if ACPI && X86
26 select ACPI_VIDEO if ACPI && X86
42 range 0 7
47 0 - fatal
62 range 0 7
/openbmc/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt1 acpi= [HW,ACPI,X86,ARM64,RISCV64]
21 1,0: use 1st APIC table
22 default: 0
62 acpi.debug_layer=0x20000000
65 acpi.debug_layer=0xffffffff acpi.debug_level=0x2
67 acpi.debug_layer=0x2 acpi.debug_level=0xffffffff
91 By default, this is disabled due to x86 early mapping
215 acpi_pm_good [X86]
[all...]

12345678910>>...47