root/arch/powerpc/include/asm/book3s/64/slice.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 #ifndef _ASM_POWERPC_BOOK3S_64_SLICE_H
   3 #define _ASM_POWERPC_BOOK3S_64_SLICE_H
   4 
   5 #define SLICE_LOW_SHIFT         28
   6 #define SLICE_LOW_TOP           (0x100000000ul)
   7 #define SLICE_NUM_LOW           (SLICE_LOW_TOP >> SLICE_LOW_SHIFT)
   8 #define GET_LOW_SLICE_INDEX(addr)       ((addr) >> SLICE_LOW_SHIFT)
   9 
  10 #define SLICE_HIGH_SHIFT        40
  11 #define SLICE_NUM_HIGH          (H_PGTABLE_RANGE >> SLICE_HIGH_SHIFT)
  12 #define GET_HIGH_SLICE_INDEX(addr)      ((addr) >> SLICE_HIGH_SHIFT)
  13 
  14 #define SLB_ADDR_LIMIT_DEFAULT  DEFAULT_MAP_WINDOW_USER64
  15 
  16 #endif /* _ASM_POWERPC_BOOK3S_64_SLICE_H */

/* [<][>][^][v][top][bottom][index][help] */