Home
last modified time | relevance | path

Searched refs:M (Results 1 – 25 of 1579) sorted by relevance

12345678910>>...64

/openbmc/u-boot/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()
113 tregs = M; in disassemble_forward()
133 op1 = (*sys_rdb) (((u32) M.x86.R_CS << 4) + (M.x86.R_IP++)); in disassemble_forward()
160 M.x86.enc_pos += x; in x86emu_inc_decoded_inst_len()
165 sprintf(M.x86.decoded_buf + M.x86.enc_str_pos, "%s", x); in x86emu_decode_printf()
166 M.x86.enc_str_pos += strlen(x); in x86emu_decode_printf()
173 sprintf(M.x86.decoded_buf + M.x86.enc_str_pos, "%s", temp); in x86emu_decode_printf2()
[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 …]
/openbmc/u-boot/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.c90 memset(&M, 0, sizeof(M)); in BE_init()
96 M.mem_base = malloc(memSize); in BE_init()
98 if (M.mem_base == NULL){ in BE_init()
102 M.mem_size = memSize; in BE_init()
110 M.x86.debug = debugFlags; in BE_init()
150 memcpy((u8 *) M.mem_base, info->LowMem, sizeof(info->LowMem)); in BE_setVGA()
172 memcpy(info->LowMem, (u8 *) M.mem_base, sizeof(info->LowMem)); in BE_getVGA()
197 return (void *)(M.mem_base + addr); in BE_mapRealPointer()
221 return (void *)(M.mem_base + ((u32) * rseg << 4) + *roff); in BE_getVESABuf()
230 free(M.mem_base); in BE_exit()
[all …]
/openbmc/u-boot/arch/x86/lib/
H A Dbios_interrupts.c28 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 Dbios.c60 .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/qemu/target/s390x/tcg/
H A Dinsn-format.h.inc7 F2(RI_c, M(1, 8), I(2,16,16))
8 F3(RIE_a, R(1, 8), I(2,16,16), M(3,32))
9 F4(RIE_b, R(1, 8), R(2,12), M(3,32), I(4,16,16))
10 F4(RIE_c, R(1, 8), I(2,32, 8), M(3,12), I(4,16,16))
14 F3(RIE_g, R(1, 8), I(2,16,16), M(3,12))
17 F2(RIL_c, M(1, 8), I(2,16,32))
18 F4(RIS, R(1, 8), I(2,32, 8), M(3,12), BD(4,16,20))
22 F2(RR_b, M(1, 8), R(2,12))
25 F4(RRF_a, R(1,24), R(2,28), R(3,16), M(4,20))
26 F4(RRF_b, R(1,24), R(2,28), R(3,16), M(4,20))
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D20446 CLUSTER_SIZE=1M
47 size=128M
76 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
83 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
104 echo read -P 0 32M 32M
105 echo read -P 22 64M 13M
106 echo read -P 0 77M 29M
107 echo read -P 22 106M 4M
108 echo read -P 11 110M 18M
H A D17746 CLUSTER_SIZE=1M
47 size=128M
75 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
82 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
106 echo read -P 0 32M 32M
107 echo read -P 22 64M 13M
108 echo read -P $discarded 77M 29M
109 echo read -P 22 106M 22M
H A D04985 test_qemu_img create -f $IMGFMT -o size=10M "$TEST_IMG" 20M
93 test_qemu_img create -f $IMGFMT -o cluster_size=$s "$TEST_IMG" 64M
98 test_qemu_img create -f $IMGFMT -o compat=0.10 "$TEST_IMG" 64M
99 test_qemu_img create -f $IMGFMT -o compat=1.1 "$TEST_IMG" 64M
101 test_qemu_img create -f $IMGFMT -o compat=0.42 "$TEST_IMG" 64M
102 test_qemu_img create -f $IMGFMT -o compat=foobar "$TEST_IMG" 64M
106 test_qemu_img create -f $IMGFMT -o preallocation=off "$TEST_IMG" 64M
107 test_qemu_img create -f $IMGFMT -o preallocation=metadata "$TEST_IMG" 64M
108 test_qemu_img create -f $IMGFMT -o preallocation=1234 "$TEST_IMG" 64M
112 test_qemu_img create -f $IMGFMT -o encryption=off "$TEST_IMG" 64M
[all …]
H A D06074 _make_test_img 64M
108 _make_test_img 64M
134 _make_test_img 64M
188 _make_test_img 64M
197 _make_test_img 64M
205 _make_test_img 64M
213 _make_test_img 64M
221 _make_test_img 64M
230 _make_test_img 64M
237 _make_test_img 64M
[all …]
H A D11259 _make_test_img -o "refcount_bits=0" 64M
61 _make_test_img -o "refcount_bits=-1" 64M
63 _make_test_img -o "refcount_bits=128" 64M
65 _make_test_img -o "refcount_bits=42" 64M
68 _make_test_img -o "refcount_bits=1" 64M
72 _make_test_img -o "refcount_bits=64" 64M
76 _make_test_img 64M
84 _make_test_img -o "compat=0.10,refcount_bits=16" 64M
88 _make_test_img -o "compat=0.10,refcount_bits=1" 64M
89 _make_test_img -o "compat=0.10,refcount_bits=64" 64M
[all …]
H A D06160 _make_test_img -o "compat=1.1,lazy_refcounts=on" 64M
71 _make_test_img -o "compat=1.1,lazy_refcounts=on" 64M
87 _make_test_img -o "compat=1.1,lazy_refcounts=on" 64M
100 _make_test_img -o "compat=1.1" 64M
111 _make_test_img -o "compat=0.10" 64M
122 _make_test_img -o "compat=0.10" 32M
125 $QEMU_IMG resize "$TEST_IMG" 64M &&
134 $QEMU_IMG resize --shrink "$TEST_IMG" 64M ||
157 _make_test_img -o "compat=1.1,lazy_refcounts=on" 64M
170 _make_test_img -o "compat=1.1" 64M
[all …]
H A D149.out10 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-…
16 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-…
23 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts d…
28 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-op…
33 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts …
38 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-o…
46 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-a…
52 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-1…
63 …cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha1 TEST_DIR/luks-aes-256-xts-plain64-sha1.img 4194304M
68 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-…
[all …]
H A D28755 output=$(_make_test_img -o 'compression_type=zstd' 64M; _cleanup_test_img)
63 _make_test_img -o compression_type=zlib 64M
69 _make_test_img -o compression_type=zstd 64M
75 _make_test_img -o compression_type=zlib 64M
87 _make_test_img -o compression_type=zstd 64M
100 _make_test_img -o compression_type=zlib 64M
105 _make_test_img -o compression_type=zstd 64M
112 _make_test_img -o compression_type=zstd 64M
122 _make_test_img -o compression_type=zstd 64M
136 dd if=/dev/urandom of="$RAND_FILE" bs=1M count=1 seek=1
/openbmc/qemu/chardev/
H A Dmsmouse.c39 #define M(c) (c - 0x20) macro
51 const uint8_t pnp_data[] = {M('('), 1, '$', M('Q'), M('M'), M('U'),
52 M('0'), M('0'), M('0'), M('1'),
53 M('\\'), M('\\'),
54 M('M'), M('O'), M('U'), M('S'), M('E'),
55 M('\\'), M('\\')};
187 const uint8_t hexchr[16] = {M('0'), M('1'), M('2'), M('3'), M('4'), M('5'), in msmouse_ioctl()
188 M('6'), M('7'), M('8'), M('9'), M('A'), M('B'), in msmouse_ioctl()
189 M('C'), M('D'), M('E'), M('F')}; in msmouse_ioctl()
208 c = M(')'); in msmouse_ioctl()
[all …]
/openbmc/u-boot/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 …]
/openbmc/u-boot/board/sunxi/
H A DMAINTAINERS2 M: Hans de Goede <hdegoede@redhat.com>
80 M: Marcus Cooper <codekipper@gmail.com>
85 M: FUKAUMI Naoki <naobsd@gmail.com>
90 M: Iain Paton <ipaton0@gmail.com>
95 M: Olliver Schinagl <oliver@schinagl.nl>
100 M: Stefan Mavrodiev <stefan.mavrodiev@gmail.com>
105 M: Jagan Teki <jagan@amarulasolutions.com>
110 M: Chen-Yu Tsai <wens@csie.org>
115 M: Paul Kocialkowski <contact@paulk.fr>
120 M: Jagan Teki <jagan@amarulasolutions.com>
[all …]
/openbmc/u-boot/board/freescale/ls1088a/
H A DMAINTAINERS2 M: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
3 M: Ashish Kumar <Ashish.Kumar@nxp.com>
4 M: Rajesh Bhagat <rajesh.bhagat@nxp.com>
14 M: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
15 M: Ashish Kumar <Ashish.Kumar@nxp.com>
16 M: Rajesh Bhagat <rajesh.bhagat@nxp.com>
27 M: Udit Agarwal <udit.agarwal@nxp.com>
28 M: Vinitha Pillai-B57223 <vinitha.pillai@nxp.com>
33 M: Udit Agarwal <udit.agarwal@nxp.com>
34 M: Vinitha Pillai-B57223 <vinitha.pillai@nxp.com>
[all …]
/openbmc/qemu/target/loongarch/
H A Dvec.h45 #define DO_DIVU(N, M) (unlikely(M == 0) ? 0 : N / M) argument
46 #define DO_REMU(N, M) (unlikely(M == 0) ? 0 : N % M) argument
47 #define DO_DIV(N, M) (unlikely(M == 0) ? 0 :\ argument
48 unlikely((N == -N) && (M == (__typeof(N))(-1))) ? N : N / M)
49 #define DO_REM(N, M) (unlikely(M == 0) ? 0 :\ argument
50 unlikely((N == -N) && (M == (__typeof(N))(-1))) ? 0 : N % M)
/openbmc/openbmc/poky/meta/recipes-bsp/v86d/v86d/
H A DUpdate-x86emu-from-X.org.patch102 - 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);
157 - tregs = M;
158 + tregs = M;
[all …]
/openbmc/qemu/
H A DMAINTAINERS14 M: Mail patches to: FullName <address@domain>
60 M: Peter Maydell <peter.maydell@linaro.org>
87 M: Michael S. Tsirkin <mst@redhat.com>
93 M: Michael Tokarev <mjt@tls.msk.ru>
94 M: Laurent Vivier <laurent@vivier.eu>
105 M: Thomas Huth <thuth@redhat.com>
130 M: Philippe Mathieu-Daudé <philmd@linaro.org>
138 M: Paolo Bonzini <pbonzini@redhat.com>
153 M: Richard Henderson <richard.henderson@linaro.org>
179 M: Aurelien Jarno <aurelien@aurel32.net>
[all …]
/openbmc/openbmc/poky/scripts/
H A Dsstate-diff-machines.sh115 for M in ${machines}; do
117 mkdir -p ${OUTPUT}/${M}
118 export MACHINE=${M}
119 bitbake -S none ${targets} 2>&1 | tee -a ${OUTPUT}/${M}/log;
122 cp -ra ${tmpdir}/stamps/* ${OUTPUT}/${M}
123 find ${OUTPUT}/${M} -name \*sigdata\* | sed "s#${OUTPUT}/${M}/##g" | sort > ${OUTPUT}/${M}/list
124 M_UNDERSCORE=`echo ${M} | sed 's/-/_/g'`
125 sed "s/^${M_UNDERSCORE}-/MACHINE/g" ${OUTPUT}/${M}/list | sort > ${OUTPUT}/${M}/list.M
128 printf "ERROR: no sigdata files were generated for MACHINE $M in ${tmpdir}/stamps\n";
143 …diff ${OUTPUT}/${MACHINE1}/list.M ${OUTPUT}/${MACHINE2}/list.M | grep ${PRE_PATTERN} "${PATTERN}" …

12345678910>>...64