Home
last modified time | relevance | path

Searched +full:sh4 +full:- +full:linux +full:- +full:user (Results 1 – 24 of 24) sorted by relevance

/openbmc/qemu/tests/docker/dockerfiles/
H A Ddebian-legacy-test-cross.docker1 # Docker legacy cross-compiler target (tests and minimal qemu)
6 # libc6.1-dev-alpha-cross: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054412
7 # sh4-linux-user: binaries don't run with bookworm compiler
9 # As we are targeting check-tcg here we only need minimal qemu
12 FROM docker.io/library/debian:11-slim
14 # Duplicate deb line as deb-src
15 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
18 apt-get update && \
19 apt-get install -y eatmydata && \
20 eatmydata apt-get dist-upgrade -y && \
[all …]
/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/qemu/docs/user/
H A Dmain.rst1 .. _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/.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 Dcrossbuild-template.yml7 - 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/openbmc/poky/meta/lib/oe/
H A Delf.py4 # SPDX-License-Identifier: GPL-2.0-only
35 "linux" : {
65 "sh4": (42, 0, 0, True, 32),
70 "linux-android" : {
75 "linux-androideabi" : {
78 "linux-musl" : {
100 "sh4": ( 42, 0, 0, True, 32),
102 "uclinux-uclibc" : {
105 "linux-gnueabi" : {
109 "linux-musleabi" : {
[all …]
/openbmc/qemu/linux-user/sh4/
H A Dtarget_cpu.h2 * SH4 specific CPU ABI and functions for linux-user
26 env->gregs[15] = newsp; in cpu_clone_regs_child()
28 env->gregs[0] = 0; in cpu_clone_regs_child()
37 env->gbr = newtls; in cpu_set_tls()
42 return state->gregs[15]; in get_sp_from_cpustate()
H A Dsignal.c2 * Emulation of Linux signals
21 #include "user-internals.h"
22 #include "signal-common.h"
23 #include "linux-user/trace.h"
26 * code and data structures from linux kernel:
27 * include/asm-sh/sigcontext.h
54 target_ulong extramask[TARGET_NSIG_WORDS-1];
73 #define MOVW(n) (0x9300|((n)-2)) /* Move mem word at PC+n to R3 */
81 return (sp - frame_size) & -8ul; in get_sigframe()
93 /* ??? The SH4 kernel checks for and address above 0xC0000000. in unwind_gusa()
[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)
40 …~ .*/qemu((/include)?/hw/ppc/.*|/target/ppc/.*|/hw/pci-host/(uninorth.*|dec.*|prep.*|ppc.*)|/hw/mi…
51 sh4
52 ~ .*/qemu((/include)?/hw/sh4/.*|/target/sh4/.*)
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/qemu/linux-user/
H A Duser-internals.h2 * user-internals.h: prototypes etc internal to the linux-user implementation
21 #include "user/thunk.h"
88 * target_mmap(loaddr, hiaddr - loaddr + 1, ...)
110 return (abi_ulong)ret >= (abi_ulong)(-4096); in is_error()
135 return cpu_env->eabi; in regpairs_aligned()
147 /* SH4 doesn't align register pairs, except for p{read,write}64 */
176 * Include target-specific struct and function definitions;
177 * they may need access to the target-independent structures
/openbmc/qemu/
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 …]
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>
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 Dmeson.build15 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py'))
28 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak')
35 tmpdir = meson.current_build_dir() / 'meson-private/temp'
53 supported_oses = ['windows', 'freebsd', 'netbsd', 'openbsd', 'darwin', 'sunos', 'linux', 'emscripte…
66 have_linux_user = have_linux_user or target.endswith('linux-user')
67 have_bsd_user = have_bsd_user or target.endswith('bsd-user')
68 have_system = have_system or target.endswith('-softmmu')
113 …dgen.version() + ' is unsupported. You can install a new version with "cargo install bindgen-cli"')
120 message('To use Rust you can install a new version with "cargo install bindgen-cli"')
128 '--rustc-version', rustc.version(),
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dsiteinfo.bbclass4 # 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/openbmc/poky/meta/recipes-devtools/qemu/
H A Dqemu.inc7 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/qemu/docs/about/
H A Demulation.rst6 :ref:`System Emulation` and :ref:`User Mode Emulation` are supported
9 .. list-table:: Supported Guest Architectures for Emulation
11 :header-rows: 1
13 * - Architecture (qemu name)
14 - System
15 - User
16 - Notes
17 * - Alpha
18 - Yes
19 - Yes
[all …]
/openbmc/qemu/target/sh4/
H A Dcpu.c5 * Copyright (c) 2012 SUSE LINUX Products GmbH
19 * <http://www.gnu.org/licenses/lgpl-2.1.html>
24 #include "qemu/qemu-print.h"
27 #include "exec/translation-block.h"
28 #include "fpu/softfloat-helpers.h"
29 #include "accel/tcg/cpu-ops.h"
36 cpu->env.pc = value; in superh_cpu_set_pc()
43 return cpu->env.pc; in superh_cpu_get_pc()
51 flags = env->flags in superh_get_tb_cpu_state()
52 | (env->fpscr & TB_FLAG_FPSCR_MASK) in superh_get_tb_cpu_state()
[all …]
H A Dtranslate.c2 * SH4 translation
22 #include "tcg/tcg-op.h"
23 #include "exec/helper-proto.h"
24 #include "exec/helper-gen.h"
25 #include "exec/translation-block.h"
29 #include "qemu/qemu-print.h"
32 #include "exec/helper-info.c.inc"
40 uint32_t envflags; /* should stay in sync with env->flags using TCG ops */
54 #define UNALIGN(C) (ctx->tbflags & TB_FLAG_UNALIGN ? MO_UNALN : MO_ALIGN)
56 #define IS_USER(ctx) (!(ctx->tbflags & (1u << SR_MD)))
[all …]
/openbmc/openbmc/poky/documentation/dev-manual/
H A Dnew-recipe.rst1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
15 ":ref:`ref-manual/varlocality:recipes`" section of the Yocto Project
24 .. image:: figures/recipe-workflow.png
34 - ``devtool add``: A command that assists in creating a recipe and an
37 - ``recipetool create``: A command provided by the Yocto Project that
40 - *Existing Recipes:* Location and modification of an existing recipe
46 ":ref:`dev-manual/new-recipe:recipe syntax`" section.
49 ----------------------------------------------
51 The ``devtool add`` command uses the same logic for auto-creating the
59 the ":ref:`dev-manual/devtool:a closer look at ``devtool add```" section
[all …]
/openbmc/qemu/hw/sh4/
H A Dr2d.c2 * Renesas SH7751R R2D-PLUS emulation
29 #include "qemu/error-report.h"
32 #include "hw/sh4/sh.h"
38 #include "hw/qdev-properties.h"
57 /* CONFIG_BOOT_LINK_OFFSET of Linux kernel */
121 if ((fpga->irlmon & fpga->irlmsk & irqtab[i].msk) && in update_irl()
126 qemu_set_irq(fpga->irl, irl ^ 15); in update_irl()
133 fpga->irlmon |= irqtab[n].msk; in r2d_fpga_irq_set()
135 fpga->irlmon &= ~irqtab[n].msk; in r2d_fpga_irq_set()
146 return s->irlmsk; in r2d_fpga_read()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/postgresql/
H A Dpostgresql.inc3 PostgreSQL is an advanced Object-Relational database management system \
5 transactions, subselects and user-defined types and functions). The \
13 in HTML for the whole package, as well as command-line utilities for \
18 this package if you're installing the postgresql-server package. \
22 DEPENDS = "libnsl2 tzcode-native perl bison-native"
28 file://postgresql-profile \
30 file://postgresql-setup \
38 export LDFLAGS_EX_BE = "-Wl,--export-dynamic"
40 …fig perlnative python3native python3targetconfig useradd update-rc.d systemd gettext perl-version …
42 CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR}"
[all …]
/openbmc/
Dopengrok1.0.log1 2025-11-12 03:01:06.886-0600 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-11-12 03:01:06.954-0600 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]
Dopengrok2.0.log1 2025-11-11 03:01:11.966-0600 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-11-11 03:01:12.039-0600 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]
/openbmc/qemu/qapi/
H A Dmachine.json1 # -*- Mode: Python -*-
5 # See the COPYING file in the top-level directory.
14 { 'include': 'machine-common.json' }
20 # targets. Run "./configure --help" in the project root directory,
21 # and look for the \*-softmmu targets near the "--target-list" option.
32 # "qemu-system-" prefix to produce the corresponding QEMU
33 # executable name. This is true even for "qemu-system-x86_64".
41 'ppc64', 'riscv32', 'riscv64', 'rx', 's390x', 'sh4',
54 'data': [ 'uninitialized', 'stopped', 'check-stop', 'operating', 'load' ] }
61 # @cpu-state: the virtual CPU's state
[all …]