param.h 454 B

12345678910111213141516171819202122232425
  1. /* ARM configuration file; HZ is 100 rather than the default 60 */
  2. #ifndef _SYS_PARAM_H
  3. # define _SYS_PARAM_H
  4. #include <machine/param.h>
  5. #include <machine/endian.h>
  6. #ifndef NBBY
  7. # define NBBY 8 /* number of bits in a byte */
  8. #endif
  9. #ifndef HZ
  10. # define HZ (60)
  11. #endif
  12. #ifndef NOFILE
  13. # define NOFILE (60)
  14. #endif
  15. #ifndef PATHSIZE
  16. # define PATHSIZE (1024)
  17. #endif
  18. #define MAX(a,b) ((a) > (b) ? (a) : (b))
  19. #define MIN(a,b) ((a) < (b) ? (a) : (b))
  20. #endif