diff options
Diffstat (limited to 'c/src/exec')
-rw-r--r-- | c/src/exec/libcsupport/src/newlibc.c | 3 | ||||
-rw-r--r-- | c/src/exec/libnetworking/rtems/rtems_bsdnet.h | 9 |
2 files changed, 9 insertions, 3 deletions
diff --git a/c/src/exec/libcsupport/src/newlibc.c b/c/src/exec/libcsupport/src/newlibc.c index 089c7e7541..a6acc1c8d7 100644 --- a/c/src/exec/libcsupport/src/newlibc.c +++ b/c/src/exec/libcsupport/src/newlibc.c @@ -353,14 +353,11 @@ int get_errno() /* #if !defined(RTEMS_UNIX) && !defined(__GO32__) && !defined(_AM29K) */ #if !defined(RTEMS_UNIX) && !defined(_AM29K) -#if !defined(pc386) void _exit(int status) { libc_wrapup(); /* Why? XXX */ rtems_shutdown_executive(status); } -#endif - #else void exit(int status) diff --git a/c/src/exec/libnetworking/rtems/rtems_bsdnet.h b/c/src/exec/libnetworking/rtems/rtems_bsdnet.h index c8a102ddcd..816a073222 100644 --- a/c/src/exec/libnetworking/rtems/rtems_bsdnet.h +++ b/c/src/exec/libnetworking/rtems/rtems_bsdnet.h @@ -68,6 +68,15 @@ struct rtems_bsdnet_ifconfig { int mtu; int rbuf_count; int xbuf_count; + + /* + * For external ethernet controller board the following + * parameters are needed + */ + unsigned int port; /* port of the board */ + unsigned int irno; /* irq of the board */ + unsigned int bpar; /* memory of the board */ + }; struct rtems_bsdnet_config { |