1 
   2 
   3 
   4 
   5 
   6 #ifndef __ARM64_KERNEL_IMAGE_VARS_H
   7 #define __ARM64_KERNEL_IMAGE_VARS_H
   8 
   9 #ifndef LINKER_SCRIPT
  10 #error This file should only be included in vmlinux.lds.S
  11 #endif
  12 
  13 #ifdef CONFIG_EFI
  14 
  15 __efistub_stext_offset = stext - _text;
  16 
  17 
  18 
  19 
  20 
  21 
  22 
  23 
  24 
  25 
  26 __efistub_memcmp                = __pi_memcmp;
  27 __efistub_memchr                = __pi_memchr;
  28 __efistub_memcpy                = __pi_memcpy;
  29 __efistub_memmove               = __pi_memmove;
  30 __efistub_memset                = __pi_memset;
  31 __efistub_strlen                = __pi_strlen;
  32 __efistub_strnlen               = __pi_strnlen;
  33 __efistub_strcmp                = __pi_strcmp;
  34 __efistub_strncmp               = __pi_strncmp;
  35 __efistub_strrchr               = __pi_strrchr;
  36 __efistub___flush_dcache_area   = __pi___flush_dcache_area;
  37 
  38 #ifdef CONFIG_KASAN
  39 __efistub___memcpy              = __pi_memcpy;
  40 __efistub___memmove             = __pi_memmove;
  41 __efistub___memset              = __pi_memset;
  42 #endif
  43 
  44 __efistub__text                 = _text;
  45 __efistub__end                  = _end;
  46 __efistub__edata                = _edata;
  47 __efistub_screen_info           = screen_info;
  48 
  49 #endif
  50 
  51 #endif