mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 01:10:15 +08:00
Move core system initialization references
This commit is contained in:
parent
58c4fda800
commit
f3b2913422
@ -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)
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
@ -36,7 +36,6 @@
|
||||
#define NEED_SDHC
|
||||
#endif
|
||||
|
||||
SYSINIT_NEED_FREEBSD_CORE;
|
||||
SYSINIT_NEED_USB_CORE;
|
||||
#ifdef NEED_USB_OHCI
|
||||
SYSINIT_NEED_USB_OHCI;
|
||||
|
Loading…
x
Reference in New Issue
Block a user