| /openbmc/qemu/tcg/tci/ |
| H A D | README | 1 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/.gitlab-ci.d/ |
| H A D | crossbuild-template.yml | 7 - ccache 12 - source scripts/ci/gitlab-ci-section 13 - section_start setup "Pre-script setup" 14 - JOBS=$(expr $(nproc) + 1) 15 - cat /packages.txt 16 - section_end setup 18 - export CCACHE_BASEDIR="$(pwd)" 19 - export CCACHE_DIR="$CCACHE_BASEDIR/ccache" 20 - export CCACHE_MAXSIZE="500M" 21 - export PATH="$CCACHE_WRAPPERSDIR:$PATH" [all …]
|
| H A D | crossbuilds.yml | 2 - 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 …]
|
| H A D | buildtest.yml | 2 - 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 …]
|
| /openbmc/qemu/tests/functional/ |
| H A D | test_ppc_bamboo.py | 3 # Test that Linux kernel boots on the ppc bamboo board and check the console 8 # later. See the COPYING file in the top-level directory. 20 ('https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/' 21 'buildroot/qemu_ppc_bamboo-2023.11-8-gdcd9f0f6eb-20240105/vmlinux'), 24 ('https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/' 25 'buildroot/qemu_ppc_bamboo-2023.11-8-gdcd9f0f6eb-20240105/rootfs.cpio'), 31 self.require_netdev('user') 37 self.vm.add_args('-kernel', kernel, 38 '-initrd', initrd, 39 '-nic', 'user,model=virtio-net-pci,restrict=on') [all …]
|
| H A D | test_ppc_sam460ex.py | 3 # Functional test that boots a sam460ex machine with a PPC 460EX CPU 5 # SPDX-License-Identifier: GPL-2.0-or-later 14 …'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/buildroot/qemu_ppc_sam460ex-2023.11… 19 self.require_netdev('user') 24 self.vm.add_args('-kernel', linux_path, 25 '-device', 'virtio-net-pci,netdev=net0', 26 '-netdev', 'user,id=net0') 29 self.wait_for_console_pattern('Linux version')
|
| H A D | test_ppc64_e500.py | 3 # Boot a Linux kernel on a e500 ppc64 machine and check the console 5 # SPDX-License-Identifier: GPL-2.0-or-later 14 …'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/buildroot/qemu_ppc64_e5500-2023.11-… 18 …'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main//buildroot/qemu_ppc64_e5500-2023.11… 23 self.require_netdev('user') 30 self.vm.add_args('-kernel', uimage_path, 31 '-append', 'root=/dev/vda', 32 '-drive', f'file={rootfs_path},if=virtio,format=raw', 33 '-snapshot', '-no-shutdown') 36 self.wait_for_console_pattern('Linux version')
|
| /openbmc/qemu/ |
| H A D | MAINTAINERS | 10 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> 75 F: docs/devel/build-environment.rst 76 F: docs/devel/code-of-conduct.rst 78 F: docs/devel/conflict-resolution.rst 80 F: docs/devel/submitting-a-patch.rst 81 F: docs/devel/submitting-a-pull-request.rst [all …]
|
| H A D | configure | 14 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/qemu/scripts/ |
| H A D | update-syscalltbl.sh | 2 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/ |
| H A D | qemu-targets.inc | 3 # mips mipsel mips64 mips64el ppc ppc64 ppc64abi32 ppcemb 19 softmmuonly += arch + "-softmmu," 24 linuxuseronly += arch + "-linux-user," 26 if 'linux' not in tos: 27 return softmmuonly + ''.join([arch + "-softmmu" + "," for arch in archs]).rstrip(',') 28 …return softmmuonly + linuxuseronly + ''.join([arch + "-linux-user" + "," + arch + "-softmmu" + ","… 31 return ",".join(filter(lambda i: "-linux-user" in i, get_qemu_target_list(d).split(','))) 34 return ",".join(filter(lambda i: "-linux-user" not in i, get_qemu_target_list(d).split(',')))
|
| /openbmc/qemu/tests/docker/dockerfiles/ |
| H A D | debian-all-test-cross.docker | 2 # 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 --arch-only qemu 22 apt install -y --no-install-recommends \ [all …]
|
| /openbmc/qemu/linux-user/ppc/ |
| H A D | Makefile.vdso | 1 include $(BUILD_DIR)/tests/tcg/ppc64-linux-user/config-target.mak 3 SUBDIR = $(SRC_PATH)/linux-user/ppc 6 all: $(SUBDIR)/vdso-32.so $(SUBDIR)/vdso-64.so $(SUBDIR)/vdso-64le.so 8 LDFLAGS32 = -nostdlib -shared -Wl,-T,$(SUBDIR)/vdso-32.ld \ 9 -Wl,-h,linux-vdso32.so.1 -Wl,--hash-style=both \ 10 -Wl,--build-id=sha1 -Wl,-z,max-page-size=4096 11 LDFLAGS64 = -nostdlib -shared -Wl,-T,$(SUBDIR)/vdso-64.ld \ 12 -Wl,-h,linux-vdso64.so.1 -Wl,--hash-style=both \ 13 -Wl,--build-id=sha1 -Wl,-z,max-page-size=4096 15 $(SUBDIR)/vdso-32.so: vdso.S vdso-32.ld vdso-asmoffset.h [all …]
|
| /openbmc/qemu/scripts/coverity-scan/ |
| H A D | COMPONENTS.md | 7 …~ .*/qemu((/include)?/hw/arm/.*|(/include)?/hw/.*/(arm|allwinner-a10|bcm28|digic|exynos|imx|omap|s… 12 hexagon-gen (component should be ignored in analysis) 39 ppc 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 124 ~ .*/qemu(/linux-user/.*|/bsd-user/.*|/user-exec\.c|/thunk\.c|/include/user/.*)
|
| /openbmc/qemu/docs/system/ |
| H A D | introduction.rst | 7 --------------------------- 14 .. list-table:: Supported Accelerators 15 :header-rows: 1 17 * - Accelerator 18 - Host OS 19 - Host Architectures 20 * - KVM 21 - Linux 22 - Arm (64 bit only), MIPS, PPC, RISC-V, s390x, x86 23 * - Xen [all …]
|
| H A D | qemu-block-drivers.rst.inc | 5 any of the tools (like ``qemu-img``). This includes the preferred formats 10 ``qemu-img create`` and ``qemu-img convert`` using the ``-o`` option. 13 .. program:: image-formats 19 Linux or NTFS on Windows), then only the written sectors will reserve 20 space. Use ``qemu-img info`` to know the real size used by the 21 image or ``ls -ls`` on Unix/Linux. 34 .. program:: image-formats 51 zero clusters, which allow efficient copy-on-read for sparse images. 69 use to unlock the LUKS key slot is given by the ``encrypt.key-secret`` 73 If this is set to ``aes``, the image is encrypted with 128-bit AES-CBC. [all …]
|
| /openbmc/qemu/linux-user/openrisc/ |
| H A D | signal.c | 2 * Emulation of Linux signals 21 #include "user-internals.h" 22 #include "signal-common.h" 23 #include "linux-user/trace.h" 49 __get_user(v, &sc->regs.gpr[i]); in restore_sigcontext() 52 __get_user(env->pc, &sc->regs.pc); in restore_sigcontext() 55 __get_user(v, &sc->regs.sr); in restore_sigcontext() 66 __put_user(cpu_get_gpr(env, i), &sc->regs.gpr[i]); in setup_sigcontext() 69 __put_user(env->pc, &sc->regs.pc); in setup_sigcontext() 70 __put_user(cpu_get_sr(env), &sc->regs.sr); in setup_sigcontext() [all …]
|
| /openbmc/qemu/docs/user/ |
| H A D | main.rst | 1 .. _user-mode: 3 QEMU User space emulator 7 --------------------------- 9 The following OS are supported in user space emulation: 11 - Linux (referred as qemu-linux-user) 13 - BSD (referred as qemu-bsd-user) 16 -------- 18 QEMU user space emulation has the following notable features: 23 System calls are the principle interface between user-space and the 41 for example to emulate the signal mask. On Linux, QEMU supports both [all …]
|
| /openbmc/qemu/docs/system/ppc/ |
| H A D | pseries.rst | 5 The Power machine para-virtualized environment described by the Linux on Power 7 is also known as sPAPR, System p guests, or simply Power Linux guests (although 18 - POWER7, POWER7+ 19 - POWER8, POWER8NVL 20 - POWER9 21 - Power10 22 - Power11 23 - Support for POWER5+ also exists, works with correct kernel/userspace 25 - XICS (POWER8) 26 - XIVE (Supported by below:) [all …]
|
| /openbmc/qemu/hw/ppc/ |
| H A D | spapr_rtas.c | 6 * Copyright (c) 2010-2011 David Gibson, IBM Corporation. 30 #include "qemu/error-report.h" 39 #include "hw/ppc/spapr.h" 40 #include "hw/ppc/spapr_vio.h" 41 #include "hw/ppc/spapr_cpu_core.h" 42 #include "hw/ppc/ppc.h" 45 #include "hw/ppc/spapr_drc.h" 48 #include "hw/ppc/fdt.h" 49 #include "target/ppc/mmu-hash64.h" 50 #include "target/ppc/mmu-book3s-v3.h" [all …]
|
| H A D | spapr_cpu_core.c | 4 * Copyright (C) 2016 Bharata B Rao <bharata@linux.vnet.ibm.com> 7 * See the COPYING file in the top-level directory. 12 #include "hw/ppc/spapr_cpu_core.h" 13 #include "hw/qdev-properties.h" 15 #include "target/ppc/cpu.h" 16 #include "hw/ppc/spapr.h" 20 #include "target/ppc/kvm_ppc.h" 21 #include "hw/ppc/ppc.h" 22 #include "target/ppc/mmu-hash64.h" 23 #include "target/ppc/power8-pmu.h" [all …]
|
| H A D | spapr_numa.c | 10 * See the COPYING file in the top-level directory. 14 #include "hw/ppc/spapr_numa.h" 15 #include "hw/pci-host/spapr.h" 16 #include "hw/ppc/fdt.h" 18 /* Moved from hw/ppc/spapr_pci_nvlink2.c */ 26 if (spapr_ovec_test(spapr->ov5_cas, OV5_FORM2_AFFINITY)) { in get_max_dist_ref_points() 38 if (spapr_ovec_test(spapr->ov5_cas, OV5_FORM2_AFFINITY)) { in get_numa_assoc_size() 62 if (spapr_ovec_test(spapr->ov5_cas, OV5_FORM2_AFFINITY)) { in get_associativity() 63 return spapr->FORM2_assoc_array[node_id]; in get_associativity() 65 return spapr->FORM1_assoc_array[node_id]; in get_associativity() [all …]
|
| /openbmc/u-boot/doc/ |
| H A D | README.mpc85xx-sd-spi-boot | 1 ---------------------------------------- 2 Booting from On-Chip ROM (eSDHC or eSPI) 3 ---------------------------------------- 9 the RAM-based U-Boot image on the card. 17 http://git.freescale.com/git/cgit.cgi/ppc/sdk/boot-format.git/ 29 boot_format runs under a regular Linux machine and requires a super user mode 34 $ boot_format $config u-boot.bin -sd $device 41 $ boot_format $config u-boot.bin -spi $file 43 Where $file is the target file. Also keep in mind the u-boot.bin file needs 44 to be the u-boot built for your particular platform and target media. [all …]
|
| /openbmc/qemu/util/ |
| H A D | meson.build | 1 util_ss.add(files('osdep.c', 'cutils.c', 'unicode.c', 'qemu-timer-common.c')) 2 util_ss.add(files('thread-context.c'), numa) 7 util_ss.add(files('aio-posix.c')) 8 util_ss.add(files('fdmon-poll.c')) 10 util_ss.add(files('fdmon-epoll.c')) 13 util_ss.add(files('event_notifier-posix.c')) 15 util_ss.add(files('mmap-alloc.c')) 21 util_ss.add(files('oslib-posix.c'), freebsd_dep) 22 util_ss.add(files('qemu-thread-posix.c')) 26 util_ss.add(files('aio-win32.c')) [all …]
|
| /openbmc/openbmc/poky/documentation/migration-guides/ |
| H A D | release-notes-4.0.1.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 4 ----------------------------------- 9 - linux-yocto/5.15: fix :cve_nist:`2022-28796` 10 - python3: ignore :cve_nist:`2015-20107` 11 - e2fsprogs: fix :cve_nist:`2022-1304` 12 - lua: fix :cve_nist:`2022-28805` 13 - busybox: fix :cve_nist:`2022-28391` 18 - abi_version/sstate: Bump hashequiv and sstate versions due to git changes 19 - apt: add apt selftest to test signed package feeds 20 - apt: upgrade 2.4.4 -> 2.4.5 [all …]
|