Home
last modified time | relevance | path

Searched +full:i386 +full:- +full:linux +full:- +full:user (Results 1 – 25 of 221) sorted by relevance

123456789

/openbmc/qemu/tests/docker/dockerfiles/
H A Ddebian-i686-cross.docker1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool dockerfile --layers all --cross-arch i686 debian-12 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
7 FROM docker.io/library/debian:12-slim
10 apt-get update && \
11 apt-get install -y eatmydata && \
12 eatmydata apt-get dist-upgrade -y && \
13 eatmydata apt-get install --no-install-recommends -y \
20 ca-certificates \
25 exuberant-ctags \
[all …]
H A Ddebian-amd64-cross.docker1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool dockerfile --layers all --cross-arch x86_64 debian-12 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
7 FROM docker.io/library/debian:12-slim
10 apt-get update && \
11 apt-get install -y eatmydata && \
12 eatmydata apt-get dist-upgrade -y && \
13 eatmydata apt-get install --no-install-recommends -y \
20 ca-certificates \
25 exuberant-ctags \
[all …]
H A Ddebian-all-test-cross.docker2 # Docker all cross-compiler target (tests only)
7 # to build and run linux-user tests on GitLab
9 FROM docker.io/library/debian:12-slim
11 # Duplicate deb line as deb-src
12 RUN sed -in "s/Types: deb/Types: deb deb-src/g" /etc/apt/sources.list.d/debian.sources
15 apt-get update && \
16 apt-get install -y eatmydata && \
17 eatmydata apt-get dist-upgrade -y && \
18 apt build-dep -yy qemu
22 apt install -y --no-install-recommends \
[all …]
/openbmc/qemu/tcg/tci/
H A DREADME1 TCG Interpreter (TCI) - Copyright (c) 2011 Stefan Weil.
12 QEMU can create native code for some hosts (arm, i386, ia64, ppc, ppc64,
24 tcg-target.c.inc, tcg-target.h. Both files are in directory tcg/tci.
30 to six arguments packed into a 32-bit integer. See comments in tci.c
37 configure --enable-tcg-interpreter
39 If configure is called without --enable-tcg-interpreter, it will
46 configure --enable-tcg-interpreter
52 qemu-system-i386 -d in_asm,op_opt,cpu -D /tmp/qemu.log -accel tcg,one-insn-per-tb=on
61 configure --cpu=unknown --enable-tcg-interpreter
64 user mode emulation.
[all …]
/openbmc/qemu/docs/user/
H A Dmain.rst1 QEMU User space emulator
5 ---------------------------
7 The following OS are supported in user space emulation:
9 - Linux (referred as qemu-linux-user)
11 - BSD (referred as qemu-bsd-user)
14 --------
16 QEMU user space emulation has the following notable features:
21 32/64-bit mismatches between hosts and targets. IOCTLs can be
31 for example to emulate the signal mask. On Linux, QEMU supports both
32 normal and real-time signals.
[all …]
/openbmc/qemu/tests/tcg/x86_64/
H A DMakefile.target1 # -*- Mode: makefile -*-
3 # x86_64 tests - included from tests/tcg/Makefile.target
5 # Currently we only build test-x86_64 and test-i386-ssse3 from
6 # $(SRC_PATH)/tests/tcg/i386/
9 include $(SRC_PATH)/tests/tcg/i386/Makefile.target
11 X86_64_TESTS += test-2413
13 ifeq ($(filter %-linux-user, $(TARGET)),$(TARGET))
18 X86_64_TESTS += test-1648
19 X86_64_TESTS += test-2175
20 X86_64_TESTS += cross-modifying-code
[all …]
/openbmc/qemu/tests/lcitool/
H A Drefresh3 # Re-generate container recipes
7 # https://gitlab.com/libvirt/libvirt-ci
13 # the top-level directory.
28 lcitool_path = Path(self_dir, "libvirt-ci", "bin", "lcitool")
30 lcitool_cmd = [lcitool_path, "--data-dir", self_dir]
56 # Optional user setting, this will always be the last thing added
59 "# As a final step configure the user (if env is defined)",
60 "ARG USER",
62 "RUN if [ \"${USER}\" ]; then \\",
63 " id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi\n"
[all …]
/openbmc/qemu/tests/tcg/i386/
H A DREADME1 These are i386 specific guest programs
3 test-i386
4 ---------
10 The Linux system call modify_ldt() is used to create x86 selectors
13 The Linux system call vm86() is used to test vm86 emulation.
15 Various exceptions are raised to test most of the x86 user space
18 test-avx
19 --------
24 test-avx.h is generate from x86.csv by test-avx.py
27 linux-test
[all …]
/openbmc/qemu/linux-user/i386/
H A DMakefile.vdso1 include $(BUILD_DIR)/tests/tcg/i386-linux-user/config-target.mak
3 SUBDIR = $(SRC_PATH)/linux-user/i386
8 $(SUBDIR)/vdso.so: vdso.S vdso.ld vdso-asmoffset.h
9 $(CC) -o $@ -m32 -nostdlib -shared -Wl,-h,linux-gate.so.1 \
10 -Wl,--build-id=sha1 -Wl,--hash-style=both \
11 -Wl,-T,$(SUBDIR)/vdso.ld $<
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/gcc/
H A D0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch15 Upstream-Status: Inappropriate [OE configuration]
16 Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 ---
18 gcc/config/aarch64/aarch64-linux.h | 4 ++--
19 gcc/config/alpha/linux-elf.h | 4 ++--
20 gcc/config/arm/linux-eabi.h | 6 +++---
21 gcc/config/arm/linux-elf.h | 2 +-
22 gcc/config/i386/linux.h | 4 ++--
23 gcc/config/i386/linux64.h | 12 ++++++------
24 gcc/config/linux.h | 8 ++++----
[all …]
/openbmc/qemu/.gitlab-ci.d/
H A Dbuildtest.yml2 - local: '/.gitlab-ci.d/buildtest-template.yml'
4 build-system-alpine:
6 - .native_build_job_template
7 - .native_build_artifact_template
9 - job: amd64-alpine-container
12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu
13 MAKE_CHECK_ARGS: check-build
14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog
16 check-system-alpine:
19 - job: build-system-alpine
[all …]
H A Dcrossbuilds.yml2 - local: '/.gitlab-ci.d/crossbuild-template.yml'
4 cross-armhf-user:
7 job: armhf-debian-cross-container
9 IMAGE: debian-armhf-cross
11 cross-arm64-system:
14 job: arm64-debian-cross-container
16 IMAGE: debian-arm64-cross
18 cross-arm64-user:
21 job: arm64-debian-cross-container
23 IMAGE: debian-arm64-cross
[all …]
/openbmc/qemu/scripts/oss-fuzz/
H A Dbuild.sh1 #!/bin/bash -e
3 # OSS-Fuzz build script. See:
4 # https://google.github.io/oss-fuzz/getting-started/new-project-guide/#buildsh
7 # https://github.com/google/oss-fuzz/blob/master/projects/qemu/Dockerfiles
10 # the COPYING file in the top-level directory.
17 # make -j$(nproc) all
21 # $CXX $CXXFLAGS -std=c++11 -Iinclude \
22 # /path/to/name_of_fuzzer.cc -o $OUT/name_of_fuzzer \
23 # -fsanitize=fuzzer /path/to/library.a
30 OSS_FUZZ_BUILD_DIR="./build-oss-fuzz/"
[all …]
/openbmc/qemu/
H A DMAINTAINERS10 consult qemu-devel and not any specific individual privately.
23 W: Web-page with status/info
59 ------------------------------
63 L: qemu-devel@nongnu.org
72 R: Philippe Mathieu-Daudé <philmd@linaro.org>
76 F: docs/devel/code-of-conduct.rst
77 F: docs/devel/conflict-resolution.rst
78 F: docs/devel/submitting-a-patch.rst
79 F: docs/devel/submitting-a-pull-request.rst
82 -------------------------------------------------
[all …]
H A Dconfigure14 source_path=$(cd "$(dirname -- "$0")"; pwd)
16 if test "$PWD" -ef "$source_path"
20 MARKER=build/auto-created-by-configure
22 if test -e build
24 if test -f $MARKER
26 rm -rf build
36 echo "your source directory, or try doing an out-of-tree build."
41 # This file is auto-generated by configure to support in-source tree
46 @$(MAKE) -C build -f Makefile $(MAKECMDGOALS)
48 test -e build/auto-created-by-configure ; \
[all …]
/openbmc/linux/Documentation/mm/
H A Dhighmem.rst22 In the i386 arch, for example, we choose to map the kernel into every process's
25 i386) has to be divided between user and kernel space.
30 +--------+ 0xffffffff
32 +--------+ 0xc0000000
34 | User |
36 +--------+ 0x00000000
39 time, but because we need virtual address space for other things - including
40 temporary maps to access the rest of the physical memory - the actual direct
44 and user maps. Some hardware (like some ARMs), however, have limited virtual
54 * kmap_local_page(), kmap_local_folio() - These functions are used to create
[all …]
/openbmc/linux/Documentation/admin-guide/
H A Dhighuid.rst2 Notes on the change from 16-bit UIDs to 32-bit UIDs
8 - kernel code MUST take into account __kernel_uid_t and __kernel_uid32_t
9 when communicating between user and kernel space in an ioctl or data
12 - kernel code should use uid_t and gid_t in kernel-private structures and
15 What's left to be done for 32-bit UIDs on all Linux architectures:
17 - Disk quotas have an interesting limitation that is not related to the
22 properly with huge UIDs. If it can deal with 64-bit file offsets on all
25 - Decide whether or not to keep backwards compatibility with the system
27 (currently, the old 16-bit UID and GID are still written to disk, and
28 part of the former pad space is used to store separate 32-bit UID and
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/
H A Dqemu-targets.inc2 # aarch64 arm armeb alpha cris i386 x86_64 m68k microblaze
13 softmmuonly += arch + "-softmmu,"
18 linuxuseronly += arch + "-linux-user,"
20 if 'linux' not in tos:
21 return softmmuonly + ''.join([arch + "-softmmu" + "," for arch in archs]).rstrip(',')
22 …return softmmuonly + linuxuseronly + ''.join([arch + "-linux-user" + "," + arch + "-softmmu" + ","…
25 return ",".join(filter(lambda i: "-linux-user" in i, get_qemu_target_list(d).split(',')))
28 return ",".join(filter(lambda i: "-linux-user" not in i, get_qemu_target_list(d).split(',')))
/openbmc/qemu/scripts/
H A Dupdate-syscalltbl.sh2 arch/alpha/kernel/syscalls/syscall.tbl,linux-user/alpha/syscall.tbl \
3 arch/arm/tools/syscall.tbl,linux-user/arm/syscall.tbl \
4 scripts/syscall.tbl,linux-user/aarch64/syscall_64.tbl \
5 scripts/syscall.tbl,linux-user/hexagon/syscall.tbl \
6 scripts/syscall.tbl,linux-user/loongarch64/syscall.tbl \
7 arch/m68k/kernel/syscalls/syscall.tbl,linux-user/m68k/syscall.tbl \
8 arch/microblaze/kernel/syscalls/syscall.tbl,linux-user/microblaze/syscall.tbl \
9 arch/mips/kernel/syscalls/syscall_n32.tbl,linux-user/mips64/syscall_n32.tbl \
10 arch/mips/kernel/syscalls/syscall_n64.tbl,linux-user/mips64/syscall_n64.tbl \
11 arch/mips/kernel/syscalls/syscall_o32.tbl,linux-user/mips/syscall_o32.tbl \
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/
H A D0005-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch4 Subject: [PATCH] qemu: Add some user space mmap tweaks to address musl 32 bit
6 When using qemu-i386 to build qemux86 webkitgtk on musl, it sits in an
18 Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2021-01/msg01355.html]
19 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org
20 ---
21 linux-user/mmap.c | 10 +++++++---
22 1 file changed, 7 insertions(+), 3 deletions(-)
24 diff --git a/linux-user/mmap.c b/linux-user/mmap.c
26 --- a/linux-user/mmap.c
27 +++ b/linux-user/mmap.c
[all …]
/openbmc/linux/tools/testing/selftests/rcutorture/bin/
H A Dfunctions.sh2 # SPDX-License-Identifier: GPL-2.0+
8 # Authors: Paul E. McKenney <paulmck@linux.ibm.com>
10 # bootparam_hotplug_cpu bootparam-string
12 # Returns 1 if the specified boot-parameter string tells rcutorture to
13 # test CPU-hotplug operations.
15 echo "$1" | grep -q "torture\.onoff_"
18 # checkarg --argname argtype $# arg mustmatch cannotmatch
23 if test $3 -le 1
28 if echo "$4" | grep -q -e "$5"
35 if echo "$4" | grep -q -e "$6"
[all …]
/openbmc/linux/arch/x86/um/
H A Dtls_32.c6 #include <linux/percpu.h>
7 #include <linux/sched.h>
8 #include <linux/syscalls.h>
9 #include <linux/uaccess.h>
10 #include <asm/ptrace-abi.h>
20 static int host_supports_tls = -1;
34 "index = %d\n", ret, info->entry_number); in do_set_thread_area()
50 "index = %d\n", ret, info->entry_number); in do_get_thread_area()
65 struct thread_struct *t = &task->thread; in get_free_idx()
69 if (!t->arch.tls_array[idx].present) in get_free_idx()
[all …]
/openbmc/linux/include/scsi/
H A Dsg.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/compiler.h>
9 * Started: Aug 9 by Lawrence Foard (entropy@world.std.com), to allow user
16 * Copyright (C) 1998 - 2014 Douglas Gilbert
27 * Also see: <kernel_source>/Documentation/scsi/scsi-generic.rst
33 typedef struct sg_iovec /* same structure as used by readv() Linux system */
34 { /* call. It defines one scatter-gather element. */
52 unsigned int timeout; /* [i] MAX_UINT->no timeout (unit: millisec) */
53 unsigned int flags; /* [i] 0 -> default, see SG_FLAG... */
54 int pack_id; /* [i->o] unused internally (normally) */
[all …]
/openbmc/qemu/scripts/coverity-scan/
H A DCOMPONENTS.md7 …~ .*/qemu((/include)?/hw/arm/.*|(/include)?/hw/.*/(arm|allwinner-a10|bcm28|digic|exynos|imx|omap|s…
12 hexagon-gen (component should be ignored in analysis)
21 i386
22 ~ .*/qemu((/include)?/hw/i386/.*|/target/i386/.*|/hw/intc/[^/]*apic[^/]*\.c)
40 …~ .*/qemu((/include)?/hw/ppc/.*|/target/ppc/.*|/hw/pci-host/(uninorth.*|dec.*|prep.*|ppc.*)|/hw/mi…
70 …ock.*|(/include?)/(block|storage-daemon)/.*|(/include)?/hw/(block|ide|nvme)/.*|/qemu-(img|io).*|/u…
97 ~ .*/qemu((/include)?/(qapi|qobject|monitor)/.*|/job-qmp.c)
100 ~ .*/qemu(/nbd/.*|/include/block/nbd.*|/qemu-nbd\.c)
108 qemu-ga
123 user
[all …]
/openbmc/linux/Documentation/networking/
H A Dpacket_mmap.rst1 .. SPDX-License-Identifier: GPL-2.0
22 - Ulisses Alonso Camaró <uaca@i.hate.spam.alumni.uv.es>
23 - Johann Baudy
34 configurable circular buffer mapped in user space that can be used to either
38 highest bandwidth. By using a shared buffer between the kernel and the user
53 From the user standpoint, you should use the higher level libpcap library, which
67 [setup] socket() -------> creation of the capture socket
68 setsockopt() ---> allocation of the circular buffer (ring)
70 mmap() ---------> mapping of the allocated buffer to the
71 user process
[all …]

123456789