Lines Matching +full:lpc +full:- +full:interrupts
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 1996-2000 Russell King
10 * Do not include any C declarations in this file - it is included by
21 #include <asm/opcodes-virt.h>
22 #include <asm/asm-offsets.h>
26 #include <asm/uaccess-asm.h>
77 * set to write-allocate (this would need further testing on XScale when WA
95 * Enable and disable interrupts
128 stmdb sp!, {r0-r3, ip, lr}
132 ldmia sp!, {r0-r3, ip, lr}
144 stmdb sp!, {r0-r3, ip, lr}
148 ldmia sp!, {r0-r3, ip, lr}
268 .long 9998b - . ;\
270 .if . - 9997b == 2 ;\
273 .if . - 9997b != 4 ;\
280 .long 9998b - . ;\
281 W(b) . + (label - 9998b) ;\
290 * this_cpu_offset - load the per-CPU offset of this CPU into
310 * set_current - store the task pointer of this CPU's current task
329 * get_current - load the task pointer of this CPU's current task
348 * reload_current - reload the task pointer of this CPU's current task
417 * setmode is used to assert to be in svc mode during boot. For v7-M
434 * Helper macro to enter SVC mode cleanly and mask interrupts. reg is
458 * workaround for possibly broken pre-v6 hardware
459 * (akita, Sharp Zaurus C-1000, PXA270-based)
466 * STRT/LDRT access macros with ARM and Thumb-2 variants
543 .size \name , . - \name
600 .La\@: .long \sym - .Lpc\@
606 movw\c \tmp, #:lower16:\sym - .Lpc\@
607 movt\c \tmp, #:upper16:\sym - .Lpc\@
611 .set .Lpc\@, . + 8 // PC bias
620 * In Thumb-2 builds, the PC bias depends on whether we are currently
625 .set .Lpc\@, . + (. - .Lb\@)
634 * mov_l - move a constant value or [relocated] address into a register
646 * adr_l - adr pseudo-op with unlimited range
657 * ldr_l - ldr <literal> pseudo-op with unlimited range
668 * str_l - str <literal> pseudo-op with unlimited range
688 * of -/+ 256 MiB, which should be sufficient for the core kernel and
695 .L0_\@: sub\cond \tmp, pc, #8 - \offset
696 .L1_\@: sub\cond \tmp, \tmp, #4 - \offset
703 * ldr_va - load a 32-bit word from the virtual address of \sym
714 * str_va - store a 32-bit word to the virtual address of \sym
721 * ldr_this_cpu_armv6 - Load a 32-bit word from the per-CPU variable 'sym',
738 * ldr_this_cpu - Load a 32-bit word from the per-CPU variable 'sym'
758 * rev_l - byte-swap a 32-bit value
781 * bl_r - branch and link to register