cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

sections.h (1171B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Copyright (C) 2016 ARM Limited
      4 */
      5#ifndef __ASM_SECTIONS_H
      6#define __ASM_SECTIONS_H
      7
      8#include <asm-generic/sections.h>
      9
     10extern char __alt_instructions[], __alt_instructions_end[];
     11extern char __hibernate_exit_text_start[], __hibernate_exit_text_end[];
     12extern char __hyp_idmap_text_start[], __hyp_idmap_text_end[];
     13extern char __hyp_text_start[], __hyp_text_end[];
     14extern char __hyp_rodata_start[], __hyp_rodata_end[];
     15extern char __hyp_reloc_begin[], __hyp_reloc_end[];
     16extern char __hyp_bss_start[], __hyp_bss_end[];
     17extern char __idmap_text_start[], __idmap_text_end[];
     18extern char __initdata_begin[], __initdata_end[];
     19extern char __inittext_begin[], __inittext_end[];
     20extern char __exittext_begin[], __exittext_end[];
     21extern char __irqentry_text_start[], __irqentry_text_end[];
     22extern char __mmuoff_data_start[], __mmuoff_data_end[];
     23extern char __entry_tramp_text_start[], __entry_tramp_text_end[];
     24extern char __relocate_new_kernel_start[], __relocate_new_kernel_end[];
     25
     26static inline size_t entry_tramp_text_size(void)
     27{
     28	return __entry_tramp_text_end - __entry_tramp_text_start;
     29}
     30
     31#endif /* __ASM_SECTIONS_H */