diff --git a/newlib/libc/sys/arm/sys/param.h b/newlib/libc/sys/arm/sys/param.h new file mode 100644 index 000000000..adc066e9a --- /dev/null +++ b/newlib/libc/sys/arm/sys/param.h @@ -0,0 +1,19 @@ +/* ARM configuration file; HZ is 100 rather than the default 60 */ + +#ifndef _SYS_PARAM_H +# define _SYS_PARAM_H + +# define HZ (100) +# define NOFILE (60) +# define PATHSIZE (1024) + +#define BIG_ENDIAN 4321 +#define LITTLE_ENDIAN 1234 + +#ifdef __ARMEB__ +#define BYTE_ORDER BIG_ENDIAN +#else +#define BYTE_ORDER LITTLE_ENDIAN +#endif + +#endif