cregit-Linux how code gets into the kernel

Release 4.16 arch/arm/include/asm/sections.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_ARM_SECTIONS_H

#define _ASM_ARM_SECTIONS_H

#include <asm-generic/sections.h>

extern char _exiprom[];

extern char __idmap_text_start[];
extern char __idmap_text_end[];
extern char __entry_text_start[];
extern char __entry_text_end[];
extern char __hyp_idmap_text_start[];
extern char __hyp_idmap_text_end[];


static inline bool in_entry_text(unsigned long addr) { return memory_contains(__entry_text_start, __entry_text_end, (void *)addr, 1); }

Contributors

PersonTokensPropCommitsCommitProp
Russell King27100.00%1100.00%
Total27100.00%1100.00%


static inline bool in_idmap_text(unsigned long addr) { void *a = (void *)addr; return memory_contains(__idmap_text_start, __idmap_text_end, a, 1) || memory_contains(__hyp_idmap_text_start, __hyp_idmap_text_end, a, 1); }

Contributors

PersonTokensPropCommitsCommitProp
Russell King44100.00%1100.00%
Total44100.00%1100.00%

#endif /* _ASM_ARM_SECTIONS_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Russell King10184.87%133.33%
Chris Brandt1714.29%133.33%
Greg Kroah-Hartman10.84%133.33%
Total119100.00%3100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.