diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-10-01 14:20:42 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-10-08 14:59:52 +0200 |
commit | 6cfc98de31b19e24cff0e9fba0c09f796e48d5e9 (patch) | |
tree | 3d70e1569a418ed136a581f30f6ad0ebbfe2f4a7 /testsuite | |
parent | nexus: Fix resouce allocation (diff) | |
download | rtems-libbsd-6cfc98de31b19e24cff0e9fba0c09f796e48d5e9.tar.bz2 |
nexus: Use a linker set for the devices
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/include/rtems/bsd/test/default-network-init.h | 2 | ||||
-rw-r--r-- | testsuite/swi01/init.c | 5 | ||||
-rw-r--r-- | testsuite/timeout01/init.c | 5 |
3 files changed, 2 insertions, 10 deletions
diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h b/testsuite/include/rtems/bsd/test/default-network-init.h index 5643308e..fb4aa704 100644 --- a/testsuite/include/rtems/bsd/test/default-network-init.h +++ b/testsuite/include/rtems/bsd/test/default-network-init.h @@ -272,6 +272,8 @@ Init(rtems_task_argument arg) SYSINIT_NEED_NET_PF_UNIX; +#include <bsp/nexus-devices.h> + #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER diff --git a/testsuite/swi01/init.c b/testsuite/swi01/init.c index 0108f6ce..ec5ae2b9 100644 --- a/testsuite/swi01/init.c +++ b/testsuite/swi01/init.c @@ -39,11 +39,6 @@ #include "swi_test.h" -const rtems_bsd_device rtems_bsd_nexus_devices[0]; - -const size_t rtems_bsd_nexus_device_count = - RTEMS_ARRAY_SIZE(rtems_bsd_nexus_devices); - static void Init(rtems_task_argument arg) { rtems_status_code sc; diff --git a/testsuite/timeout01/init.c b/testsuite/timeout01/init.c index efab0757..92385e57 100644 --- a/testsuite/timeout01/init.c +++ b/testsuite/timeout01/init.c @@ -39,11 +39,6 @@ #include "timeout_test.h" -const rtems_bsd_device rtems_bsd_nexus_devices[0]; - -const size_t rtems_bsd_nexus_device_count = - RTEMS_ARRAY_SIZE(rtems_bsd_nexus_devices); - static void Init(rtems_task_argument arg) { rtems_status_code sc; |