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

sparsemem.h (331B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2
      3#ifndef _ASM_RISCV_SPARSEMEM_H
      4#define _ASM_RISCV_SPARSEMEM_H
      5
      6#ifdef CONFIG_SPARSEMEM
      7#ifdef CONFIG_64BIT
      8#define MAX_PHYSMEM_BITS	56
      9#else
     10#define MAX_PHYSMEM_BITS	34
     11#endif /* CONFIG_64BIT */
     12#define SECTION_SIZE_BITS	27
     13#endif /* CONFIG_SPARSEMEM */
     14
     15#endif /* _ASM_RISCV_SPARSEMEM_H */