diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-09 14:29:38 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-10 09:09:19 +0200 |
commit | f3b2913422d3b80218bbe41a3f170e8efb1fe10a (patch) | |
tree | c0a247f19c80da53ea57436979e53996fa6805e2 | |
parent | Do not run interactive netshell01 test (diff) | |
download | rtems-libbsd-f3b2913422d3b80218bbe41a3f170e8efb1fe10a.tar.bz2 |
Move core system initialization references
-rw-r--r-- | rtemsbsd/include/machine/rtems-bsd-sysinit.h | 8 | ||||
-rw-r--r-- | rtemsbsd/rtems/rtems-bsd-init.c | 7 | ||||
-rw-r--r-- | testsuite/include/rtems/bsd/test/nic-sysinit.h | 3 | ||||
-rw-r--r-- | testsuite/usb01/usb-sysinit.h | 1 |
4 files changed, 7 insertions, 12 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-sysinit.h b/rtemsbsd/include/machine/rtems-bsd-sysinit.h index 6242d790..6721d41c 100644 --- a/rtemsbsd/include/machine/rtems-bsd-sysinit.h +++ b/rtemsbsd/include/machine/rtems-bsd-sysinit.h @@ -27,14 +27,6 @@ #include <sys/queue.h> #include <sys/kernel.h> -#define SYSINIT_NEED_FREEBSD_CORE \ - SYSINIT_REFERENCE(configure1); \ - SYSINIT_REFERENCE(module); \ - SYSINIT_REFERENCE(kobj); \ - SYSINIT_REFERENCE(linker_kernel); \ - SYSINIT_MODULE_REFERENCE(rootbus); \ - SYSINIT_DRIVER_REFERENCE(nexus, root) - #define SYSINIT_NEED_USB_CORE \ SYSINIT_REFERENCE(usb_quirk_init); \ SYSINIT_DRIVER_REFERENCE(uhub, usbus) diff --git a/rtemsbsd/rtems/rtems-bsd-init.c b/rtemsbsd/rtems/rtems-bsd-init.c index 22cb1440..9e9fb1ff 100644 --- a/rtemsbsd/rtems/rtems-bsd-init.c +++ b/rtemsbsd/rtems/rtems-bsd-init.c @@ -49,6 +49,13 @@ #include <rtems/bsd/bsd.h> +SYSINIT_REFERENCE(configure1); +SYSINIT_REFERENCE(module); +SYSINIT_REFERENCE(kobj); +SYSINIT_REFERENCE(linker_kernel); +SYSINIT_MODULE_REFERENCE(rootbus); +SYSINIT_DRIVER_REFERENCE(nexus, root); + /* In FreeBSD this is a local function */ void mi_startup(void); diff --git a/testsuite/include/rtems/bsd/test/nic-sysinit.h b/testsuite/include/rtems/bsd/test/nic-sysinit.h index 752fe601..1fec896b 100644 --- a/testsuite/include/rtems/bsd/test/nic-sysinit.h +++ b/testsuite/include/rtems/bsd/test/nic-sysinit.h @@ -39,9 +39,6 @@ * We "read" that and generate references and nexus devices */ -#if defined(CONFIGURE_NEED_NET) - SYSINIT_NEED_FREEBSD_CORE; -#endif #if defined(CONFIGURE_NEED_USB) SYSINIT_NEED_USB_CORE; #endif diff --git a/testsuite/usb01/usb-sysinit.h b/testsuite/usb01/usb-sysinit.h index 0ee09dd1..e42fec67 100644 --- a/testsuite/usb01/usb-sysinit.h +++ b/testsuite/usb01/usb-sysinit.h @@ -36,7 +36,6 @@ #define NEED_SDHC #endif -SYSINIT_NEED_FREEBSD_CORE; SYSINIT_NEED_USB_CORE; #ifdef NEED_USB_OHCI SYSINIT_NEED_USB_OHCI; |