~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/kernel/pi/pi.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-only
  2 // Copyright 2023 Google LLC
  3 // Author: Ard Biesheuvel <ardb@google.com>
  4 
  5 #include <linux/types.h>
  6 
  7 #define __prel64_initconst      __section(".init.rodata.prel64")
  8 
  9 #define PREL64(type, name)      union { type *name; prel64_t name ## _prel; }
 10 
 11 #define prel64_pointer(__d)     (typeof(__d))prel64_to_pointer(&__d##_prel)
 12 
 13 typedef volatile signed long prel64_t;
 14 
 15 static inline void *prel64_to_pointer(const prel64_t *offset)
 16 {
 17         if (!*offset)
 18                 return NULL;
 19         return (void *)offset + *offset;
 20 }
 21 
 22 extern bool dynamic_scs_is_enabled;
 23 
 24 extern pgd_t init_idmap_pg_dir[], init_idmap_pg_end[];
 25 
 26 void init_feature_override(u64 boot_status, const void *fdt, int chosen);
 27 u64 kaslr_early_init(void *fdt, int chosen);
 28 void relocate_kernel(u64 offset);
 29 int scs_patch(const u8 eh_frame[], int size);
 30 
 31 void map_range(u64 *pgd, u64 start, u64 end, u64 pa, pgprot_t prot,
 32                int level, pte_t *tbl, bool may_use_cont, u64 va_offset);
 33 
 34 asmlinkage void early_map_kernel(u64 boot_status, void *fdt);
 35 
 36 asmlinkage u64 create_init_idmap(pgd_t *pgd, pteval_t clrmask);
 37 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php