| /kernel/linux/linux-5.10/arch/openrisc/kernel/ |
| D | entry.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 25 #include <asm/asm-offsets.h> 46 l.sw -8(r1),r2 /* store frame pointer */ ;\ 47 l.sw -4(r1),r9 /* store return address */ ;\ 50 l.addi r1,r1,-8 ;\ 52 l.lwz r9,-4(r1) /* restore return address */ ;\ 53 l.lwz r2,-8(r1) /* restore fp */ ;\ 59 l.sw -12(r1),t1 /* save extra reg */ ;\ 60 l.sw -8(r1),r2 /* store frame pointer */ ;\ [all …]
|
| D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 26 #include <asm/asm-offsets.h> 30 l.movhi rd,hi(-KERNELBASE) ;\ 73 #define EMERGENCY_PRINT_STORE_GPR4 l.sw 0x20(r0),r4 76 #define EMERGENCY_PRINT_STORE_GPR5 l.sw 0x24(r0),r5 79 #define EMERGENCY_PRINT_STORE_GPR6 l.sw 0x28(r0),r6 82 #define EMERGENCY_PRINT_STORE_GPR7 l.sw 0x2c(r0),r7 85 #define EMERGENCY_PRINT_STORE_GPR8 l.sw 0x30(r0),r8 88 #define EMERGENCY_PRINT_STORE_GPR9 l.sw 0x34(r0),r9 [all …]
|
| /kernel/linux/linux-4.19/arch/openrisc/kernel/ |
| D | entry.S | 11 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 29 #include <asm/asm-offsets.h> 50 l.sw -8(r1),r2 /* store frame pointer */ ;\ 51 l.sw -4(r1),r9 /* store return address */ ;\ 54 l.addi r1,r1,-8 ;\ 56 l.lwz r9,-4(r1) /* restore return address */ ;\ 57 l.lwz r2,-8(r1) /* restore fp */ ;\ 63 l.sw -12(r1),t1 /* save extra reg */ ;\ 64 l.sw -8(r1),r2 /* store frame pointer */ ;\ 65 l.sw -4(r1),r9 /* store return address */ ;\ [all …]
|
| D | head.S | 10 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 30 #include <asm/asm-offsets.h> 34 l.movhi rd,hi(-KERNELBASE) ;\ 77 #define EMERGENCY_PRINT_STORE_GPR4 l.sw 0x20(r0),r4 80 #define EMERGENCY_PRINT_STORE_GPR5 l.sw 0x24(r0),r5 83 #define EMERGENCY_PRINT_STORE_GPR6 l.sw 0x28(r0),r6 86 #define EMERGENCY_PRINT_STORE_GPR7 l.sw 0x2c(r0),r7 89 #define EMERGENCY_PRINT_STORE_GPR8 l.sw 0x30(r0),r8 92 #define EMERGENCY_PRINT_STORE_GPR9 l.sw 0x34(r0),r9 117 #define EXCEPTION_STORE_GPR2 l.sw 0x64(r0),r2 [all …]
|
| /kernel/linux/linux-4.19/arch/x86/math-emu/ |
| D | errors.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /*---------------------------------------------------------------------------+ 5 | The error handling functions for wm-FPU-emu | 9 | E-mail billm@jacobi.maths.monash.edu.au | 12 +---------------------------------------------------------------------------*/ 14 /*---------------------------------------------------------------------------+ 19 +---------------------------------------------------------------------------*/ 27 #include "exception.h" 68 EXCEPTION(EX_Invalid); 126 printk("SW: backward compatibility\n"); in FPU_printall() [all …]
|
| /kernel/linux/linux-5.10/arch/x86/math-emu/ |
| D | errors.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /*---------------------------------------------------------------------------+ 5 | The error handling functions for wm-FPU-emu | 9 | E-mail billm@jacobi.maths.monash.edu.au | 12 +---------------------------------------------------------------------------*/ 14 /*---------------------------------------------------------------------------+ 19 +---------------------------------------------------------------------------*/ 27 #include "exception.h" 68 EXCEPTION(EX_Invalid); 126 printk("SW: backward compatibility\n"); in FPU_printall() [all …]
|
| /kernel/linux/linux-5.10/arch/parisc/math-emu/ |
| D | driver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 9 * linux/arch/math-emu/driver.c.c 14 * Copyright (C) 2001 Hewlett-Packard <bame@debian.org> 20 #include "math-emu.h" 25 #define extru(r,pos,len) (((r) >> (31-(pos))) & (( 1 << (len)) - 1)) 29 /* Format of the floating-point exception registers. */ 31 unsigned int exception : 6; member [all …]
|
| /kernel/linux/linux-4.19/arch/parisc/math-emu/ |
| D | driver.c | 2 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 4 * Floating-point emulation code 5 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 * linux/arch/math-emu/driver.c.c 27 * Copyright (C) 2001 Hewlett-Packard <bame@debian.org> 33 #include "math-emu.h" 38 #define extru(r,pos,len) (((r) >> (31-(pos))) & (( 1 << (len)) - 1)) 42 /* Format of the floating-point exception registers. */ 44 unsigned int exception : 6; member [all …]
|
| /kernel/linux/linux-5.10/arch/mips/kernel/ |
| D | genex.S | 6 * Copyright (C) 1994 - 2000, 2001, 2003 Ralf Baechle 28 * General exception vector for all other CPUs. 31 * to fit into space reserved for the exception handler. 47 * General exception handler for CPUs with virtual coherency exception. 50 * exception) bytes to fit into space reserved for the exception handler. 75 * c0_badvaddr because after return from this exception handler the 76 * load / store will be re-executed. 80 li k1, -4 # Is this ... 89 sw k1, (k0) 100 sw k1, (k0) [all …]
|
| D | cps-vec-ns16550.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 #include <asm/asm-offsets.h> 25 # define UART_S sw 32 * _mips_cps_putc() - write a character to the UART 45 * _mips_cps_puts() - write a string to the UART 46 * @a0: pointer to NULL-terminated ASCII string 49 * Write a null-terminated ASCII string to the UART. 65 * _mips_cps_putx4 - write a 4b hex value to the UART 76 addiu a0, a0, -10 82 * _mips_cps_putx8 - write an 8b hex value to the UART [all …]
|
| /kernel/linux/linux-4.19/arch/mips/kernel/ |
| D | genex.S | 6 * Copyright (C) 1994 - 2000, 2001, 2003 Ralf Baechle 27 * General exception vector for all other CPUs. 30 * to fit into space reserved for the exception handler. 49 * General exception handler for CPUs with virtual coherency exception. 52 * exception) bytes to fit into space reserved for the exception handler. 77 * c0_badvaddr because after return from this exception handler the 78 * load / store will be re-executed. 82 li k1, -4 # Is this ... 91 sw k1, (k0) 102 sw k1, (k0) [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/wireless/ |
| D | qcom,ath11k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 5 --- 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Kalle Valo <kvalo@codeaurora.org> 21 - qcom,ipq8074-wifi 22 - qcom,ipq6018-wifi 29 - description: misc-pulse1 interrupt events 30 - description: misc-latch interrupt events 31 - description: sw exception interrupt events [all …]
|
| /kernel/liteos_m/arch/risc-v/nuclei/gcc/ |
| D | los_exc.S | 44 * - All the interrupt requests will be ignored by CPU. 55 * - This Macro could use to save context when you enter to interrupt 56 * or exception 63 addi sp, sp, -20*REGBYTES 65 addi sp, sp, -14*REGBYTES 94 * - You could use this macro to restore context before you want return 118 /* De-allocate the stack space */ 121 /* De-allocate the stack space */ 156 * \brief Exception/NMI Entry 158 * This function provide common entry functions for exception/nmi. [all …]
|
| /kernel/linux/linux-4.19/arch/riscv/kernel/ |
| D | entry.S | 22 #include <asm/asm-offsets.h> 28 * Prepares to enter a system call or exception by saving all registers to the 49 addi sp, sp, -(PT_SIZE_ON_STACK) 81 * Disable user-mode memory access as it should only be set in the 104 * Prepares to return from a system call or exception by restoring all 151 * Set sscratch register to 0, so that if a recursive exception 152 * occurs, the exception vector knows it came from the kernel 191 /* Check if exception code lies within bounds */ 240 REG_L s0, TASK_TI_FLAGS(tp) /* current_thread_info->flags */ 264 /* Handle pending signals and notify-resume requests */ [all …]
|
| /kernel/linux/linux-4.19/arch/mips/dec/prom/ |
| D | locore.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * Simple general exception handling routine. This one is used for the 23 sw k0, 0(k1)
|
| /kernel/linux/linux-5.10/arch/mips/dec/prom/ |
| D | locore.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * Simple general exception handling routine. This one is used for the 23 sw k0, 0(k1)
|
| /kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Source/GCC/ |
| D | startup_gd32vf103.S | 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 265 * Set ECLIC non-vector entry to be controlled 267 * Initialize ECLIC non-vector interrupt 275 * Set Exception Entry MTVEC to exc_entry 276 * Due to settings above, Exception and NMI 306 /* If the ILM phy-address same as the logic-address, then quit */ 314 sw t0, (a1) 326 sw t0, (a1) 336 sw zero, (a0) [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-berlin/ |
| D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Antoine Ténart <antoine.tenart@free-electrons.com> 20 * There are two reset registers, one with self-clearing (SC) 21 * reset and one with non-self-clearing reset (NON_SC). 47 return -EFAULT; in berlin_boot_secondary() 51 * exception vector. in berlin_boot_secondary() 64 np = of_find_compatible_node(NULL, NULL, "arm,cortex-a9-scu"); in berlin_smp_prepare_cpus() 70 np = of_find_compatible_node(NULL, NULL, "marvell,berlin-cpu-ctrl"); in berlin_smp_prepare_cpus() 84 * in the reset exception vector. in berlin_smp_prepare_cpus() 89 * Write the secondary startup address into the SW reset address in berlin_smp_prepare_cpus() [all …]
|
| /kernel/linux/linux-4.19/arch/arm/mach-berlin/ |
| D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Antoine Ténart <antoine.tenart@free-electrons.com> 20 * There are two reset registers, one with self-clearing (SC) 21 * reset and one with non-self-clearing reset (NON_SC). 47 return -EFAULT; in berlin_boot_secondary() 51 * exception vector. in berlin_boot_secondary() 64 np = of_find_compatible_node(NULL, NULL, "arm,cortex-a9-scu"); in berlin_smp_prepare_cpus() 70 np = of_find_compatible_node(NULL, NULL, "marvell,berlin-cpu-ctrl"); in berlin_smp_prepare_cpus() 84 * in the reset exception vector. in berlin_smp_prepare_cpus() 89 * Write the secondary startup address into the SW reset address in berlin_smp_prepare_cpus() [all …]
|
| /kernel/liteos_m/targets/riscv_nuclei_demo_soc_gcc/SoC/demosoc/Common/Source/GCC/ |
| D | startup_demosoc.S | 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 201 * Set ECLIC non-vector entry to be controlled 203 * Initialize ECLIC non-vector interrupt 211 * Set Exception Entry MTVEC to exc_entry 212 * Due to settings above, Exception and NMI 242 /* If the ILM phy-address same as the logic-address, then quit */ 250 sw t0, (a1) 262 sw t0, (a1) 272 sw zero, (a0) [all …]
|
| /kernel/linux/linux-5.10/arch/ia64/kernel/ |
| D | unaligned.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Architecture-specific unaligned trap handling. 5 * Copyright (C) 1999-2002, 2004 Hewlett-Packard Co 7 * David Mosberger-Tang <davidm@hpl.hp.com> 9 * 2002/12/09 Fix rotating register handling (off-by-1 error, missing fr-rotation). Fix 10 * get_rse_reg() to not leak kernel bits to user-level (reading an out-of-frame 28 #include <asm/exception.h> 69 * For M-unit: 72 * --------|------|---------| 73 * [40-37] | [36] | [35:30] | [all …]
|
| /kernel/linux/linux-4.19/arch/ia64/kernel/ |
| D | unaligned.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Architecture-specific unaligned trap handling. 5 * Copyright (C) 1999-2002, 2004 Hewlett-Packard Co 7 * David Mosberger-Tang <davidm@hpl.hp.com> 9 * 2002/12/09 Fix rotating register handling (off-by-1 error, missing fr-rotation). Fix 10 * get_rse_reg() to not leak kernel bits to user-level (reading an out-of-frame 28 #include <asm/exception.h> 69 * For M-unit: 72 * --------|------|---------| 73 * [40-37] | [36] | [35:30] | [all …]
|
| /kernel/linux/linux-4.19/arch/m68k/kernel/ |
| D | signal.c | 16 * 1997-12-01 Modified for POSIX.1b signals by Andreas Schwab 25 * Atari :-) Current limitation: Only one sigstack can be active at one time. 65 #define FMT4SIZE sizeof(((struct frame *)0)->un.fmt4) 69 [1] = -1, /* sizeof(((struct frame *)0)->un.fmt1), */ 70 [2] = sizeof(((struct frame *)0)->un.fmt2), 71 [3] = sizeof(((struct frame *)0)->un.fmt3), 73 [5] = -1, /* sizeof(((struct frame *)0)->un.fmt5), */ 74 [6] = -1, /* sizeof(((struct frame *)0)->un.fmt6), */ 75 [7] = sizeof(((struct frame *)0)->un.fmt7), 76 [8] = -1, /* sizeof(((struct frame *)0)->un.fmt8), */ [all …]
|
| /kernel/linux/linux-4.19/arch/mips/lib/ |
| D | csum_partial.S | 15 #include <asm/asm-offsets.h> 326 * The exception handler for loads requires that: 327 * 1- AT contain the address of the byte just past the end of the source 329 * 2- src_entry <= src < AT, and 330 * 3- (dst - src) == (dst_entry - src_entry), 338 * The exception handlers for stores stores -EFAULT to errptr and return. 351 * Wrapper to add an entry in the exception table 352 * in case the insn causes a memory exception. 358 * handler : Exception handler 376 /* EVA without exception */ \ [all …]
|
| /kernel/linux/linux-5.10/arch/riscv/kernel/ |
| D | entry.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 #include <asm/asm-offsets.h> 35 addi sp, sp, -(PT_SIZE_ON_STACK) 67 * Disable user-mode memory access as it should only be set in the 89 * Set the scratch register to 0, so that if a recursive exception 90 * occurs, the exception vector knows it came from the kernel 150 /* Check if exception code lies within bounds */ 160 * When running is M-Mode (no MMU config), MPIE does not get set. 168 /* Recover a0 - a7 for system calls */ 238 REG_L s0, TASK_TI_FLAGS(tp) /* current_thread_info->flags */ [all …]
|