Contributors: 6
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Jiang Liu |
55 |
52.38% |
2 |
28.57% |
Puranjay Mohan |
29 |
27.62% |
1 |
14.29% |
Julien Thierry |
11 |
10.48% |
1 |
14.29% |
Mark Rutland |
6 |
5.71% |
1 |
14.29% |
Laura Abbott |
3 |
2.86% |
1 |
14.29% |
Thomas Gleixner |
1 |
0.95% |
1 |
14.29% |
Total |
105 |
|
7 |
|
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __ASM_PATCHING_H
#define __ASM_PATCHING_H
#include <linux/types.h>
int aarch64_insn_read(void *addr, u32 *insnp);
int aarch64_insn_write(void *addr, u32 insn);
int aarch64_insn_write_literal_u64(void *addr, u64 val);
void *aarch64_insn_set(void *dst, u32 insn, size_t len);
void *aarch64_insn_copy(void *dst, void *src, size_t len);
int aarch64_insn_patch_text_nosync(void *addr, u32 insn);
int aarch64_insn_patch_text(void *addrs[], u32 insns[], int cnt);
#endif /* __ASM_PATCHING_H */