/openbmc/linux/arch/xtensa/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 2 config XTENSA config 58 Xtensa processors are 32-bit RISC machines designed by Tensilica 60 configurable and extensible. The Linux port to the Xtensa 62 with reasonable minimum requirements. The Xtensa Linux project has 63 a home page at <http://www.linux-xtensa.org/>. 102 def_bool $(success,test "$(shell,echo __XTENSA_EB__ | $(CC) -E -P -)" = 1) 108 …def_bool $(success,test "$(shell,echo __XTENSA_CALL0_ABI__ | $(CC) -mabi=call0 -E -P - 2>/dev/null… 113 prompt "Xtensa Processor Configuration" 117 bool "fsf - default (not generic) configuration" [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/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 | 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/linux/arch/xtensa/include/asm/ |
H A D | elf.h | 2 * include/asm-xtensa/elf.h 10 * Copyright (C) 2001 - 2005 Tensilica Inc. 18 #include <linux/elf-em.h> 20 /* Xtensa processor ELF architecture-magic number */ 24 /* Xtensa relocations defined by the ABIs */ 93 #define elf_check_arch(x) ( ( (x)->e_machine == EM_XTENSA ) || \ 94 ( (x)->e_machine == EM_XTENSA_OLD ) ) 97 #define elf_check_fdpic(x) ((x)->e_ident[EI_OSABI] == ELFOSABI_XTENSA_FDPIC) 128 * This yields a mask that user programs can use to figure out what 129 * instruction set this CPU supports. This could be done in user space, [all …]
|
H A D | pgtable.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * include/asm-xtensa/pgtable.h 5 * Copyright (C) 2001 - 2013 Tensilica Inc. 13 #include <asm-generic/pgtable-nopmd.h> 16 * We only use two ring levels, user and kernel space. 20 #define USER_RING 1 /* user ring level */ 27 * The Xtensa architecture port of Linux has a two-level page table system, 28 * i.e. the logical three-level Linux page table layout is folded. 31 * PGD table (page directory), ie. 3rd-level page table: 37 * (t->mm ? t->mm : t->active_mm)->pgd [all …]
|
H A D | asm-uaccess.h | 2 * include/asm-xtensa/uaccess.h 4 * User space memory access functions 6 * These routines provide basic accessing functions to the user memory 13 * Copyright (C) 2001 - 2005 Tensilica Inc. 19 #include <linux/errno.h> 23 #include <asm/asm-offsets.h> 27 * user_ok determines whether the access to user-space memory is allowed. 28 * See the equivalent C-macro version below for clarity. 42 * <error> label to branch to on error; implies fall-through 47 * <at> destroyed (actually, (TASK_SIZE + 1 - size)) [all …]
|
H A D | thread_info.h | 2 * include/asm-xtensa/thread_info.h 8 * Copyright (C) 2001 - 2005 Tensilica Inc. 14 #include <linux/stringify.h> 25 * - this struct should fit entirely inside of one cache line 26 * - this struct shares the supervisor stack pages 27 * - if the contents of this structure are changed, the assembly constants 51 unsigned long status; /* thread-synchronous flags */ 65 * If i-th bit is set then coprocessor state is loaded into the 70 /* Allocate storage for extra user states and coprocessor states. */ 113 * - these are process state flags that various assembly files may need to access [all …]
|
H A D | processor.h | 6 * Copyright (C) 2001 - 2008 Tensilica Inc. 15 #include <linux/compiler.h> 16 #include <linux/stringify.h> 26 * User space process size: 1 GB. 52 * to their own vector, rather than the general exception vectors (user, 83 * general-purpose interrupts. 86 #define LOCKLEVEL (PROFILING_INTLEVEL - 1) 98 #define WBBITS (XCHAL_NUM_AREGS_LOG2 - 2) /* width of WINDOWBASE in bits */ 105 #error Unsupported xtensa ABI 135 #error Unsupported Xtensa ABI [all …]
|
/openbmc/linux/arch/xtensa/include/uapi/asm/ |
H A D | shmbuf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * include/asm-xtensa/shmbuf.h 5 * The shmid64_ds structure for Xtensa architecture. 7 * between kernel and user space, but the padding is on the wrong 8 * side for big-endian xtensa, for historic reasons. 11 * - 2 miscellaneous 32-bit values 17 * Copyright (C) 2001 - 2005 Tensilica Inc.
|
H A D | ipcbuf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * include/asm-xtensa/ipcbuf.h 5 * The ipc64_perm structure for the Xtensa architecture. 7 * between kernel and user space. 9 * Copyright (C) 2001 - 2005 Tensilica Inc. 15 #include <linux/posix_types.h> 19 * - 32-bit mode_t and seq 20 * - 2 miscellaneous 32-bit values
|
H A D | sembuf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * include/asm-xtensa/sembuf.h 5 * The semid64_ds structure for Xtensa architecture. 11 * Copyright (C) 2001 - 2005 Tensilica Inc. 14 * between kernel and user space. 17 * - 2 miscellaneous 32-bit values
|
H A D | msgbuf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * include/asm-xtensa/msgbuf.h 5 * The msqid64_ds structure for the Xtensa architecture. 7 * between kernel and user space. 10 * - 2 miscellaneous 32-bit values
|
H A D | posix_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * include/asm-xtensa/posix_types.h 9 * Largely copied from include/asm-ppc/posix_types.h 11 * Copyright (C) 2001 - 2005 Tensilica Inc. 18 * This file is generally used by user-level software, so you need to 38 #include <asm-generic/posix_types.h>
|
H A D | stat.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * include/asm-xtensa/stat.h 9 * Copyright (C) 2001 - 2007 Tensilica Inc. 43 unsigned int st_uid; /* User ID of the file's owner. */ 49 unsigned long long st_blocks; /* Number 512-byte blocks allocated. */
|
/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) 40 …~ .*/qemu((/include)?/hw/ppc/.*|/target/ppc/.*|/hw/pci-host/(uninorth.*|dec.*|prep.*|ppc.*)|/hw/mi… 60 xtensa 61 ~ .*/qemu((/include)?/hw/xtensa/.*|/target/xtensa/.*) 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/tools/testing/ktest/examples/ |
H A D | crosstests.conf | 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 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/linux/arch/xtensa/mm/ |
H A D | cache.c | 2 * arch/xtensa/mm/cache.c 8 * Copyright (C) 2001-2006 Tensilica Inc. 16 #include <linux/init.h> 17 #include <linux/signal.h> 18 #include <linux/sched.h> 19 #include <linux/kernel.h> 20 #include <linux/errno.h> 21 #include <linux/string.h> 22 #include <linux/types.h> 23 #include <linux/ptrace.h> [all …]
|
H A D | tlb.c | 2 * arch/xtensa/mm/tlb.c 4 * Logic that manipulates the Xtensa MMU. Derived from MIPS. 10 * Copyright (C) 2001 - 2003 Tensilica Inc. 17 #include <linux/mm.h> 59 * invalidating all previous tlb entries. If mm is someone else's user mapping, 60 * wie invalidate the context, thus, when that user mapping is swapped in, 68 if (mm == current->active_mm) { in local_flush_tlb_mm() 71 mm->context.asid[cpu] = NO_CONTEXT; in local_flush_tlb_mm() 75 mm->context.asid[cpu] = NO_CONTEXT; in local_flush_tlb_mm() 76 mm->context.cpu = -1; in local_flush_tlb_mm() [all …]
|
/openbmc/qemu/linux-user/xtensa/ |
H A D | target_cpu.h | 2 * Xtensa-specific CPU ABI and functions for linux-user 12 env->regs[1] = newsp; in cpu_clone_regs_child() 13 env->sregs[WINDOW_BASE] = 0; in cpu_clone_regs_child() 14 env->sregs[WINDOW_START] = 0x1; in cpu_clone_regs_child() 16 env->regs[2] = 0; in cpu_clone_regs_child() 25 env->uregs[THREADPTR] = newtls; in cpu_set_tls() 30 return state->regs[1]; in get_sp_from_cpustate()
|
/openbmc/linux/arch/xtensa/lib/ |
H A D | usercopy.S | 2 * arch/xtensa/lib/usercopy.S 4 * Copy to/from user space (derived from arch/xtensa/lib/hal/memcopy.S) 6 * DO NOT COMBINE this function with <arch/xtensa/lib/hal/memcopy.S>. 8 * of the Xtensa link-time HAL, and those files may differ per 11 * could lose the special functionality for accessing user-space 37 * This code tries to use fall-through braches for the common 56 #include <linux/linkage.h> 97 addi a4, a4, -1 100 .Ldst2mod4: # dst 16-bit aligned 109 addi a4, a4, -2 [all …]
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | signal.c | 2 * arch/xtensa/kernel/signal.c 12 * 1997-11-28 Modified for POSIX.1b signals by Richard Henderson 18 #include <linux/signal.h> 19 #include <linux/errno.h> 20 #include <linux/ptrace.h> 21 #include <linux/personality.h> 22 #include <linux/resume_user_mode.h> 23 #include <linux/sched/task_stack.h> 26 #include <linux/uaccess.h> 41 xtregs_user_t user; member [all …]
|
H A D | traps.c | 2 * arch/xtensa/kernel/traps.c 7 * Copyright (C) 1994 - 1999 by Ralf Baechle 12 * Essentially rewritten for the Xtensa architecture port. 14 * Copyright (C) 2001 - 2013 Tensilica Inc. 26 #include <linux/cpu.h> 27 #include <linux/kernel.h> 28 #include <linux/sched/signal.h> 29 #include <linux/sched/debug.h> 30 #include <linux/sched/task_stack.h> 31 #include <linux/init.h> [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 …]
|
/openbmc/qemu/docs/about/ |
H A D | emulation.rst | 6 :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 …]
|