forked from Imagelibrary/rtems
network: Use kernel/user space header files
Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
|
||||
#include <machine/rtems-bsd-kernel-space.h>
|
||||
|
||||
#include <bsp.h>
|
||||
#include <libchip/sonic.h>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
|
||||
#include <machine/rtems-bsd-kernel-space.h>
|
||||
|
||||
#include <bsp.h>
|
||||
#include <libchip/open_eth.h>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
|
||||
#include <machine/rtems-bsd-kernel-space.h>
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
|
||||
#include <machine/rtems-bsd-kernel-space.h>
|
||||
|
||||
#include <bsp.h>
|
||||
#include <libchip/greth.h>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
|
||||
#include <machine/rtems-bsd-kernel-space.h>
|
||||
|
||||
#include <bsp.h>
|
||||
#include <libchip/open_eth.h>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
|
||||
#include <machine/rtems-bsd-kernel-space.h>
|
||||
|
||||
#include <bsp.h>
|
||||
#include <libchip/smc91111exp.h>
|
||||
|
||||
@@ -12,10 +12,9 @@
|
||||
* 2007-09-07, Ported GBIT support from 4.6.5
|
||||
*/
|
||||
|
||||
#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
|
||||
#include <machine/rtems-bsd-kernel-space.h>
|
||||
|
||||
#include <rtems.h>
|
||||
#define _KERNEL
|
||||
#define CPU_U32_FIX
|
||||
#include <bsp.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user