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

kernel_info.S (478B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2
      3#include <asm/bootparam.h>
      4
      5	.section ".rodata.kernel_info", "a"
      6
      7	.global kernel_info
      8
      9kernel_info:
     10	/* Header, Linux top (structure). */
     11	.ascii	"LToP"
     12	/* Size. */
     13	.long	kernel_info_var_len_data - kernel_info
     14	/* Size total. */
     15	.long	kernel_info_end - kernel_info
     16
     17	/* Maximal allowed type for setup_data and setup_indirect structs. */
     18	.long	SETUP_TYPE_MAX
     19
     20kernel_info_var_len_data:
     21	/* Empty for time being... */
     22kernel_info_end: