/openbmc/qemu/tests/docker/dockerfiles/ |
H A D | debian-i686-cross.docker | 1 # 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 D | debian-all-test-cross.docker | 2 # Docker all cross-compiler target (tests only) 4 # While the normal cross builds take care to setup proper multiarch 5 # build environments which can cross build QEMU this just installs the 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 && \ [all …]
|
H A D | debian-amd64-cross.docker | 1 # 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 …]
|
/openbmc/qemu/tests/lcitool/ |
H A D | refresh | 3 # 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/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/tests/tcg/x86_64/ |
H A D | Makefile.target | 1 # -*- 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/.gitlab-ci.d/ |
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 …]
|
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 …]
|
/openbmc/qemu/ |
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 …]
|
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> 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 D | meson.build | 10 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py')) 23 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak') 30 tmpdir = meson.current_build_dir() / 'meson-private/temp' 61 have_linux_user = have_linux_user or target.endswith('linux-user') 62 have_bsd_user = have_bsd_user or target.endswith('bsd-user') 63 have_system = have_system or target.endswith('-softmmu') 107 …dgen.version() + ' is unsupported. You can install a new version with "cargo install bindgen-cli"') 114 message('To use Rust you can install a new version with "cargo install bindgen-cli"') 132 # instead. QEMU --enable-modules depends on this because the SystemTap 135 add_global_arguments('-DSTAP_SDT_V2', [all …]
|
/openbmc/linux/tools/testing/ktest/examples/ |
H A D | crosstests.conf | 2 # Example config for cross compiling 14 # /usr/local/gcc-4.5.2-nolibc/mips-linux/bin/mips-linux-gcc 16 # Some of the archs will use gcc-4.5.1 instead of gcc-4.5.2 22 # ${PWD} is defined by ktest.pl to be the directory that the user 33 OUTPUT_DIR = ${THIS_DIR}/cross-compile 35 # The build will be compiled with -j8 36 BUILD_OPTIONS = -j8 45 # The log file is stored in the OUTPUT_DIR called cross.log 47 LOG_FILE = ${OUTPUT_DIR}/cross.log 78 MAKE_CMD = PATH=/usr/local/gcc-${GCC_VER}-nolibc/${CROSS}/bin:$PATH CROSS_COMPILE=${CROSS}- make AR… [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/ |
H A D | gcc-testsuite.inc | 3 TOOLCHAIN_TEST_TARGET ??= "user" 9 MAKE_CHECK_BOARDARGS ??= "--target_board=${TOOLCHAIN_TEST_TARGET}${MAKE_CHECK_BOARDFLAGS}" 13 # correctly mark incompatible tests as UNSUPPORTED (e.g. needs soft-float 14 # but running on hard-float target). 21 # provided by any test (through dg-options), CFLAGS_FOR_TARGET is always 25 # i686, x86-64 and aarch64 are special, since most toolchains built for 40 content.append('load_base_board_description "basic-sim"') 46 bb.fatal("Missing target qemu linux-user binary") 49 # QEMU_OPTIONS is not always valid due to -cross recipe 50 args += ["-r", d.getVar("OLDEST_KERNEL")] [all …]
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | kernel-stacks.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Kernel stacks on x86-64 bit 17 zombie. While the thread is in user space the kernel stack is empty 22 is in control on that CPU; when a CPU returns to user space the 30 the split thread and interrupt stacks on i386, this gives more room 37 per CPU interrupt nest counter. This is needed because x86-64 "IST" 40 x86_64 also has a feature which is not available on i386, the ability 48 An IST is selected by a non-zero value in the IST field of an 49 interrupt-gate descriptor. When an interrupt occurs and the hardware 52 the interrupt came from user mode, then the interrupt handler prologue [all …]
|
/openbmc/qemu/docs/devel/ |
H A D | multi-thread-tcg.rst | 2 Copyright (c) 2015-2020 Linaro Ltd. 5 later. See the COPYING file in the top-level directory. 8 Multi-threaded TCG 11 This document outlines the design for multi-threaded TCG (a.k.a MTTCG) 12 system-mode emulation. user-mode emulation has always mirrored the 15 linux-user emulation. 17 The original system-mode TCG implementation was single threaded and 18 dealt with multiple CPUs with simple round-robin scheduling. This 20 being emulated gained additional cores and per-core performance gains 27 user-space thread. This is enabled by default for all FE/BE [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | crosstap | 6 # 'bitbake -e' commands and contructs proper invocation of stap on 11 # --remote user@hostname option is specified script will build, load 15 # The major difference that this script supports user-land related 21 # SPDX-License-Identifier: GPL-2.0-only 49 if self.module[-4:] == ".stp": 50 self.module = self.module[:-4] 51 # replace - if any with _ 52 self.module = self.module.replace("-", "_") 59 ret.append("--remote") 62 ret.append("-p4") [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | siteinfo.bbclass | 4 # SPDX-License-Identifier: MIT 13 # where 'target' == "<arch>-<os>" 16 # * target: Returns the target name ("<arch>-<os>") 26 …"allarch": "endian-little bit-32", # bogus, but better than special-casing the checks below for al… 27 "aarch64": "endian-little bit-64 arm-common arm-64", 28 "aarch64_be": "endian-big bit-64 arm-common arm-64", 29 "arc": "endian-little bit-32 arc-common", 30 "arceb": "endian-big bit-32 arc-common", 31 "arm": "endian-little bit-32 arm-common arm-32", 32 "armeb": "endian-big bit-32 arm-common arm-32", [all …]
|
/openbmc/linux/Documentation/kbuild/ |
H A D | makefiles.rst | 29 architecture-specific information to the top Makefile. 34 any built-in or modular targets. 80 ---------------- 90 obj-y += foo.o 95 If foo.o shall be built as a module, the variable obj-m is used. 100 obj-$(CONFIG_FOO) += foo.o 102 $(CONFIG_FOO) evaluates to either y (for built-in) or m (for module). 106 Built-in object goals - obj-y 107 ----------------------------- 110 in the $(obj-y) lists. These lists depend on the kernel [all …]
|
H A D | kbuild.rst | 10 ------------- 16 --------------- 21 ----------------------- 30 --------- 36 ------- 37 Additional options to the assembler (for built-in and modules). 40 ------------- 44 ------------- 45 Additional assembler options for built-in. 48 ------- [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/ |
H A D | qemu.inc | 7 LICENSE = "GPL-2.0-only & LGPL-2.1-only" 9 DEPENDS += "bison-native meson-native ninja-native" 11 RDEPENDS:${PN}-ptest = "bash" 13 require qemu-targets.inc 14 # https://gitlab.com/qemu-project/qemu/-/commit/81e2b198a8cb4ee5fdf108bd438f44b193ee3a36 means 15 # we need a full python3-native setup 16 inherit pkgconfig ptest update-rc.d systemd python3native 21 SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ 23 file://run-ptest \ 24 file://fix-strerrorname_np.patch \ [all …]
|
/openbmc/openbmc/poky/documentation/migration-guides/ |
H A D | migration-2.2.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 9 .. _migration-2.2-minimum-kernel-version: 12 ---------------------- 16 AArch64-based targets the version is 3.14. For Nios II-based targets, 24 .. _migration-2.2-staging-directories-in-sysroot-simplified: 27 -------------------------------------------------- 33 :oe_lists:`v2 patch series on the OE-Core Mailing List 34 </pipermail/openembedded-core/2016-May/121365.html>` 37 .. _migration-2.2-removal-of-old-images-from-tmp-deploy-now-enabled: 40 ------------------------------------------------------------------- [all …]
|
/openbmc/qemu/hw/i386/ |
H A D | pc.c | 4 * Copyright (c) 2003-2004 Fabrice Bellard 27 #include "hw/i386/pc.h" 28 #include "hw/char/serial-isa.h" 30 #include "hw/hyperv/hv-balloon.h" 31 #include "hw/i386/fw_cfg.h" 32 #include "hw/i386/vmport.h" 34 #include "hw/ide/ide-bus.h" 48 #include "qemu/error-report.h" 50 #include "acpi-build.h" 54 #include "hw/i386/intel_iommu.h" [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/binutils/binutils/ |
H A D | 0008-Use-libtool-2.4.patch | 8 Upstream-Status: Pending 10 Signed-off-by: Khem Raj <raj.khem@gmail.com> 11 --- 13 bfd/configure | 1333 +++++++++--- 14 bfd/configure.ac | 2 +- 16 binutils/configure | 1331 +++++++++--- 18 gas/configure | 1331 +++++++++--- 20 gprof/configure | 1331 +++++++++--- 22 gprofng/configure | 1693 ++++++++++++---- 24 gprofng/gp-display-html/Makefile.in | 2 + [all …]
|
/openbmc/linux/drivers/thermal/intel/ |
H A D | therm_throt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * limiting) that was factored out from x86_64 (mce_intel.c) and i386 (p4.c). 9 * events, such that the user knows how bad the thermal problem might be 45 * struct _thermal_state - Represent the current thermal event state 61 * This is used for the purpose of rate-control. 142 unsigned int cpu = dev->id; \ 206 * "Table 2-2. IA-32 Architectural MSRs", MSR 0x19C in thermal_intr_init_core_clear_mask() 229 * Bit 15: Cross Domain Limit log (R/WC0) If CPUID.06H:EAX[7] = 1 in thermal_intr_init_core_clear_mask() 242 * "Table 2-2. IA-32 Architectural MSRs", MSR 0x1B1 in thermal_intr_init_pkg_clear_mask() 308 get_therm_status(state->level, &hot, &temp); in throttle_active_work() [all …]
|