Annotation of OSKit-Mach/oskit/kmsg.c, revision 1.1.1.1

1.1       root        1: /* An oskit COM stream-based incarnation of the "kmsg" device.
                      2: 
                      3:    This is an oskit-based kernel logging device in the style of Linux's
                      4:    /proc/kmsg magical file.  It is the backend used for all logging output
                      5:    from oskit components.  */
                      6: 
                      7: #include "ds_oskit.h"
                      8: 
                      9: #include <oskit/com.h>
                     10: #include <oskit/com/charqueue.h>
                     11: 
                     12: #define KMSG_BUFSIZE   8192
                     13: 
                     14: oskit_stream_t *kmsg_stream;
                     15: unsigned int kmsg_readers;
                     16: 
                     17: void
                     18: kmsg_init (void)
                     19: {
                     20:   kmsg_stream = oskit_charqueue_create (KMSG_BUFSIZE,
                     21:                                        OSKIT_CHARQUEUE_FULL_REPLACE);
                     22:   assert (kmsg_stream);
                     23: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.