shmparam.h 459 B

1234567891011121314151617181920
  1. // SPDX-License-Identifier: GPL-2.0
  2. // Copyright (C) 2005-2017 Andes Technology Corporation
  3. #ifndef _ASMNDS32_SHMPARAM_H
  4. #define _ASMNDS32_SHMPARAM_H
  5. /*
  6. * This should be the size of the virtually indexed cache/ways,
  7. * whichever is greater since the cache aliases every size/ways
  8. * bytes.
  9. */
  10. #define SHMLBA (4 * SZ_8K) /* attach addr a multiple of this */
  11. /*
  12. * Enforce SHMLBA in shmat
  13. */
  14. #define __ARCH_FORCE_SHMLBA
  15. #endif /* _ASMNDS32_SHMPARAM_H */