Update due to Newlib 2017-06-07 changes

The following files are now provided by Newlib:

  * arpa/inet.h
  * net/if.h
  * netinet/in.h
  * netinet/tcp.h
  * sys/socket.h
  * sys/uio.h
  * sys/un.h

The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be
used directly.

Update #2833.
This commit is contained in:
Sebastian Huber
2017-05-23 13:18:31 +02:00
parent 29c0cffe57
commit 02373194fe
748 changed files with 817 additions and 5152 deletions

View File

@@ -55,6 +55,7 @@
/* General define to activate BSD kernel parts */
#define _KERNEL 1
#include <machine/rtems-bsd-version.h>
#include <machine/rtems-bsd-kernel-namespace.h>
/* Assert */
@@ -69,6 +70,8 @@ void rtems_bsd_assert_func(const char *file, int line, const char *func, const c
/* General definitions */
#define MACHINE_ARCH "rtems"
#define M_RTEMS_HEAP 0
#define BSD_DEFAULT_FIB 0
@@ -83,4 +86,10 @@ void rtems_bsd_assert_func(const char *file, int line, const char *func, const c
#define kdb_active 0
/* pseudo-errors returned inside kernel to modify return to process */
#define ERESTART (-1) /* restart syscall */
#define EJUSTRETURN (-2) /* don't modify regs, just return */
#define ENOIOCTL (-3) /* ioctl not handled by this layer */
#define EDIRIOCTL (-4) /* do direct ioctl in GEOM */
#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_ */