Home
last modified time | relevance | path

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

12

/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/.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/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/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/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/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" : {
99 "sh4": ( 42, 0, 0, True, 32),
101 "uclinux-uclibc" : {
104 "linux-gnueabi" : {
108 "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/linux/scripts/package/
H A Dmkdebian5 # Simple script to generate a debian/ directory for a Linux kernel.
7 set -e
10 grep -q "^$1=y" include/config/auto.conf
15 echo -n "$2"
16 elif [ $# -ge 3 ]; then
17 echo -n "$3"
22 if [ -n "$KBUILD_DEBARCH" ] ; then
70 debarch=sh4$(if_enabled_echo CONFIG_CPU_BIG_ENDIAN eb)
74 if [ -z "$debarch" ]; then
75 debarch=$(dpkg-architecture -qDEB_HOST_ARCH)
[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"
22 #include "exec/exec-all.h"
23 #include "exec/tb-flush.h"
91 * target_mmap(loaddr, hiaddr - loaddr + 1, ...)
113 return (abi_ulong)ret >= (abi_ulong)(-4096); in is_error()
138 return cpu_env->eabi; in regpairs_aligned()
150 /* SH4 doesn't align register pairs, except for p{read,write}64 */
179 * Include target-specific struct and function definitions;
180 * they may need access to the target-independent structures
/openbmc/linux/arch/sh/mm/
H A Dcache-sh7705.c2 * arch/sh/mm/cache-sh7705.c
12 #include <linux/init.h>
13 #include <linux/mman.h>
14 #include <linux/mm.h>
15 #include <linux/fs.h>
16 #include <linux/pagemap.h>
17 #include <linux/threads.h>
23 #include <linux/uaccess.h>
29 * as SH4 CPUs
58 } while (--ways); in cache_wback_all()
[all …]
/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>
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 …]
/openbmc/linux/tools/testing/ktest/examples/
H A Dcrosstests.conf14 # /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
30 BUILD_DIR = ${THIS_DIR}/linux.git
33 OUTPUT_DIR = ${THIS_DIR}/cross-compile
35 # The build will be compiled with -j8
36 BUILD_OPTIONS = -j8
78 MAKE_CMD = PATH=/usr/local/gcc-${GCC_VER}-nolibc/${CROSS}/bin:$PATH CROSS_COMPILE=${CROSS}- make AR…
84 # the add-config file and uncomment this option. This is useful if you want to test
86 #ADD_CONFIG = ${THIS_DIR}/add-config
[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/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/exec-all.h"
28 #include "fpu/softfloat-helpers.h"
35 cpu->env.pc = value; in superh_cpu_set_pc()
42 return cpu->env.pc; in superh_cpu_get_pc()
51 cpu->env.pc = tb->pc; in superh_cpu_synchronize_from_tb()
52 cpu->env.flags = tb->flags & TB_FLAG_ENVFLAGS_MASK; in superh_cpu_synchronize_from_tb()
61 cpu->env.pc = data[0]; in superh_restore_state_to_opc()
[all …]
/openbmc/linux/arch/sh/kernel/cpu/sh4/
H A Dsq.c1 // SPDX-License-Identifier: GPL-2.0
3 * arch/sh/kernel/cpu/sh4/sq.c
5 * General management API for SH-4 integrated Store Queues
7 * Copyright (C) 2001 - 2006 Paul Mundt
10 #include <linux/init.h>
11 #include <linux/cpu.h>
12 #include <linux/bitmap.h>
13 #include <linux/device.h>
14 #include <linux/kernel.h>
15 #include <linux/module.h>
[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/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"
56 /* CONFIG_BOOT_LINK_OFFSET of Linux kernel */
119 if ((fpga->irlmon & fpga->irlmsk & irqtab[i].msk) && in update_irl()
124 qemu_set_irq(fpga->irl, irl ^ 15); in update_irl()
131 fpga->irlmon |= irqtab[n].msk; in r2d_fpga_irq_set()
133 fpga->irlmon &= ~irqtab[n].msk; in r2d_fpga_irq_set()
144 return s->irlmsk; in r2d_fpga_read()
[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:`sdk-manual/extensible:a closer look at \`\`devtool add\`\``" section
[all …]
/openbmc/linux/arch/sh/kernel/
H A Dtraps_32.c1 // SPDX-License-Identifier: GPL-2.0
9 * Copyright (C) 2002 - 2010 Paul Mundt
11 #include <linux/kernel.h>
12 #include <linux/ptrace.h>
13 #include <linux/hardirq.h>
14 #include <linux/init.h>
15 #include <linux/spinlock.h>
16 #include <linux/kallsyms.h>
17 #include <linux/io.h>
18 #include <linux/bug.h>
[all …]
/openbmc/linux/drivers/media/platform/renesas/
H A Drenesas-ceu.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2017-2018 Jacopo Mondi <jacopo+renesas@jmondi.org>
6 * Based on soc-camera driver "soc_camera/sh_mobile_ceu_camera.c"
9 * Based on V4L2 Driver for PXA camera host - "pxa_camera.c",
14 #include <linux/delay.h>
15 #include <linux/device.h>
16 #include <linux/dma-mapping.h>
17 #include <linux/err.h>
18 #include <linux/errno.h>
19 #include <linux/interrupt.h>
[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"
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 …]

12