From 980ffedbb04bf3beedf147fc7dfed40cdbf968aa Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 6 Dec 1998 17:40:42 +0000 Subject: Kernel syncer is now configurable. It will probably need some more options, but at least basic tuning is possible now. --- sysdep/unix/sync-rt.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdep/unix/sync-rt.c') diff --git a/sysdep/unix/sync-rt.c b/sysdep/unix/sync-rt.c index 69b2bde..169494e 100644 --- a/sysdep/unix/sync-rt.c +++ b/sysdep/unix/sync-rt.c @@ -23,6 +23,8 @@ #include "unix.h" #include "krt.h" +struct proto *cf_krt_proto; + void krt_start(struct proto *P) { @@ -42,6 +44,7 @@ krt_preconfig(struct protocol *x) { struct krt_proto *p = (struct krt_proto *) proto_new(&proto_unix_kernel, sizeof(struct krt_proto)); + cf_krt_proto = &p->p; p->p.preference = DEF_PREF_UKR; p->p.start = krt_start; p->p.shutdown = krt_shutdown; -- cgit v1.2.3