param.h 783 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * include/asm-xtensa/param.h
  3. *
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. *
  8. * Copyright (C) 2001 - 2005 Tensilica Inc.
  9. */
  10. #ifndef _XTENSA_PARAM_H
  11. #define _XTENSA_PARAM_H
  12. #include <xtensa/config/core.h>
  13. #ifdef __KERNEL__
  14. # define HZ 100 /* internal timer frequency */
  15. # define USER_HZ 100 /* for user interfaces in "ticks" */
  16. # define CLOCKS_PER_SEC (USER_HZ) /* frequnzy at which times() counts */
  17. #endif
  18. #define EXEC_PAGESIZE (1 << XCHAL_MMU_MIN_PTE_PAGE_SIZE)
  19. #ifndef NGROUPS
  20. #define NGROUPS 32
  21. #endif
  22. #ifndef NOGROUP
  23. #define NOGROUP (-1)
  24. #endif
  25. #define MAXHOSTNAMELEN 64 /* max length of hostname */
  26. #endif /* _XTENSA_PARAM_H */