xref: /linux/arch/loongarch/kernel/image-vars.h (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
4  */
5 #ifndef __LOONGARCH_KERNEL_IMAGE_VARS_H
6 #define __LOONGARCH_KERNEL_IMAGE_VARS_H
7 
8 #ifdef CONFIG_EFI_STUB
9 
10 __efistub_strcmp		= strcmp;
11 __efistub_kernel_entry		= kernel_entry;
12 __efistub_kernel_asize		= kernel_asize;
13 __efistub_kernel_fsize		= kernel_fsize;
14 #if defined(CONFIG_EFI_EARLYCON) || defined(CONFIG_SYSFB)
15 __efistub_screen_info		= screen_info;
16 #endif
17 
18 #endif
19 
20 #endif /* __LOONGARCH_KERNEL_IMAGE_VARS_H */
21