1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * AArch32 user helpers. 4 * Based on the kuser helpers in arch/arm/kern 5 * 6 * Copyright (C) 2005-2011 Nicolas Pitre <nico@ 7 * Copyright (C) 2012-2018 ARM Ltd. 8 * 9 * The kuser helpers below are mapped at a fix 10 * aarch32_setup_additional_pages() and are pr 11 * reasons with 32 bit (aarch32) applications 12 * 13 * See Documentation/arch/arm/kernel_user_help 14 */ 15 16 #include <asm/unistd.h> 17 18 .section .rodata 19 .align 5 20 .globl __kuser_helper_start 21 __kuser_helper_start: 22 23 __kuser_cmpxchg64: // 0xf 24 .inst 0xe92d00f0 // 25 .inst 0xe1c040d0 // 26 .inst 0xe1c160d0 // 27 .inst 0xe1b20f9f // 1: 28 .inst 0xe0303004 // 29 .inst 0x00313005 // 30 .inst 0x01a23e96 // 31 .inst 0x03330001 // 32 .inst 0x0afffff9 // 33 .inst 0xf57ff05b // 34 .inst 0xe2730000 // 35 .inst 0xe8bd00f0 // 36 .inst 0xe12fff1e // 37 38 .align 5 39 __kuser_memory_barrier: // 0xf 40 .inst 0xf57ff05b // 41 .inst 0xe12fff1e // 42 43 .align 5 44 __kuser_cmpxchg: // 0xf 45 .inst 0xe1923f9f // 1: 46 .inst 0xe0533000 // 47 .inst 0x01823e91 // 48 .inst 0x03330001 // 49 .inst 0x0afffffa // 50 .inst 0xf57ff05b // 51 .inst 0xe2730000 // 52 .inst 0xe12fff1e // 53 54 .align 5 55 __kuser_get_tls: // 0xf 56 .inst 0xee1d0f70 // 57 .inst 0xe12fff1e // 58 .rep 5 59 .word 0 60 .endr 61 62 __kuser_helper_version: // 0xf 63 .word ((__kuser_helper_end - __kuser 64 .globl __kuser_helper_end 65 __kuser_helper_end:
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.