Page MenuHomeFreeBSD

D41074.diff
No OneTemporary

D41074.diff

diff --git a/share/man/man9/SYSINIT.9 b/share/man/man9/SYSINIT.9
--- a/share/man/man9/SYSINIT.9
+++ b/share/man/man9/SYSINIT.9
@@ -60,6 +60,7 @@
struct sysinit {
enum sysinit_sub_id subsystem; /* subsystem identifier*/
enum sysinit_elem_order order; /* init order within subsystem*/
+ SLIST_ENTRY(sysinit) next; /* singly-linked list */
sysinit_cfunc_t func; /* function */
const void *udata; /* multiplexer/argument */
};
diff --git a/sys/sys/kernel.h b/sys/sys/kernel.h
--- a/sys/sys/kernel.h
+++ b/sys/sys/kernel.h
@@ -50,7 +50,7 @@
#ifdef _KERNEL
-/* for intrhook below */
+/* for intrhook and sysinit linked list below */
#include <sys/queue.h>
/* for timestamping SYSINITs; other files may assume this is included here */
@@ -220,6 +220,7 @@
struct sysinit {
enum sysinit_sub_id subsystem; /* subsystem identifier*/
enum sysinit_elem_order order; /* init order within subsystem*/
+ SLIST_ENTRY(sysinit) next; /* singly-linked list */
sysinit_cfunc_t func; /* function */
const void *udata; /* multiplexer/argument */
};
@@ -260,6 +261,7 @@
static struct sysinit uniquifier ## _sys_init = { \
subsystem, \
order, \
+ { NULL }, \
sysinit_tslog_shim, \
&uniquifier ## _sys_init_tslog \
}; \
@@ -269,6 +271,7 @@
static struct sysinit uniquifier ## _sys_init = { \
subsystem, \
order, \
+ { NULL }, \
func, \
(ident) \
}; \
@@ -286,6 +289,7 @@
static struct sysinit uniquifier ## _sys_uninit = { \
subsystem, \
order, \
+ { NULL }, \
func, \
(ident) \
}; \

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 28, 8:10 AM (4 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16261865
Default Alt Text
D41074.diff (1 KB)

Event Timeline