Lines Matching +full:hexagon +full:- +full:linux +full:- +full:user
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Event entry/exit for Hexagon
5 * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
8 #include <asm/asm-offsets.h> /* assembly-safer versions of C defines */
9 #include <asm/mem-layout.h> /* sigh, except for page_offset */
14 * Entry into guest-mode Linux under Hexagon Virtual Machine.
15 * Stack pointer points to event record - build pt_regs on top of it,
25 * register, putting prior thread_info.regs pointer in a callee-save
31 * to -1 for all events. It will be replaced with the system call
75 R2 = #-1; } \
105 { THREADINFO_REG = and(R0, # ## #-_THREAD_SIZE); \
112 R2 = #-1; } \
206 R29 = add(R29, #-(_PT_REGS_SIZE)); \
207 memd(R29 + #(_PT_R0100 + -_PT_REGS_SIZE)) = R1:0; \
229 R29 = add(R29, #-(_PT_REGS_SIZE)); \
230 memd(R29 + #(_PT_R0100 + -_PT_REGS_SIZE)) = R1:0; \
231 memd(R29 + #(_PT_R0302 + -_PT_REGS_SIZE)) = R3:2; \
264 * Coming back from the C-world, our thread info pointer
278 /* "Nested control path" -- if the previous mode was kernel */
292 * user mode