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

shmparam.h (419B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _ASMARM_SHMPARAM_H
      3#define _ASMARM_SHMPARAM_H
      4
      5/*
      6 * This should be the size of the virtually indexed cache/ways,
      7 * or page size, whichever is greater since the cache aliases
      8 * every size/ways bytes.
      9 */
     10#define	SHMLBA	(4 * PAGE_SIZE)		 /* attach addr a multiple of this */
     11
     12/*
     13 * Enforce SHMLBA in shmat
     14 */
     15#define __ARCH_FORCE_SHMLBA
     16
     17#endif /* _ASMARM_SHMPARAM_H */