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

vdso.h (598B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef __PARISC_VDSO_H__
      3#define __PARISC_VDSO_H__
      4
      5#ifndef __ASSEMBLY__
      6
      7#ifdef CONFIG_64BIT
      8#include <generated/vdso64-offsets.h>
      9#endif
     10#include <generated/vdso32-offsets.h>
     11
     12#define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name))
     13#define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name))
     14
     15extern struct vdso_data *vdso_data;
     16
     17#endif /* __ASSEMBLY __ */
     18
     19/* Default link addresses for the vDSOs */
     20#define VDSO_LBASE	0
     21
     22#define VDSO_VERSION_STRING	LINUX_5.18
     23
     24#endif /* __PARISC_VDSO_H__ */