Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Copyright (C) 2020 Western Digital Corporation or its affiliates.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  * Linker script variables to be set after section resolution, as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * ld.lld does not like variables assigned before SECTIONS is processed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  * Based on arch/arm64/kerne/image-vars.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #ifndef __RISCV_KERNEL_IMAGE_VARS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #define __RISCV_KERNEL_IMAGE_VARS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #ifndef LINKER_SCRIPT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #error This file should only be included in vmlinux.lds.S
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #ifdef CONFIG_EFI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)  * The EFI stub has its own symbol namespace prefixed by __efistub_, to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)  * isolate it from the kernel proper. The following symbols are legally
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)  * accessed by the stub, so provide some aliases to make them accessible.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)  * Only include data symbols here, or text symbols of functions that are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)  * guaranteed to be safe when executed at another offset than they were
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)  * linked at. The routines below are all implemented in assembler in a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)  * position independent manner
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) __efistub_memcmp		= memcmp;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) __efistub_memchr		= memchr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) __efistub_memcpy		= memcpy;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) __efistub_memmove		= memmove;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) __efistub_memset		= memset;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) __efistub_strlen		= strlen;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) __efistub_strnlen		= strnlen;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) __efistub_strcmp		= strcmp;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) __efistub_strncmp		= strncmp;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) __efistub_strrchr		= strrchr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) #ifdef CONFIG_KASAN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) __efistub___memcpy		= memcpy;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) __efistub___memmove		= memmove;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) __efistub___memset		= memset;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) __efistub__start		= _start;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) __efistub__start_kernel		= _start_kernel;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) __efistub__end			= _end;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) __efistub__edata		= _edata;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) __efistub_screen_info		= screen_info;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) #endif /* __RISCV_KERNEL_IMAGE_VARS_H */