diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-05-10 20:56:07 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-05-10 20:56:07 +0000 |
commit | 13505ca8fce1c22a7f124314a07b4ecbb62bee22 (patch) | |
tree | b106d7bea11ff8519a23d3955c7d4faa20c75f3c /winsup/cygwin/devices.in | |
parent | a586e5b6ae64fc46496249b2fd35bec613e3a724 (diff) | |
download | cygnal-13505ca8fce1c22a7f124314a07b4ecbb62bee22.tar.gz cygnal-13505ca8fce1c22a7f124314a07b4ecbb62bee22.tar.bz2 cygnal-13505ca8fce1c22a7f124314a07b4ecbb62bee22.zip |
* Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.
* devices.h (FH_KMSG): Define new device.
* devices.in: Add "/dev/kmsg" entry.
* devices.cc: Regenerate.
* dtable.cc (build_fh_pc): Handle case FH_KMSG.
* fhandler.h (class fhandler_mailslot): New class.
(class select_stuff): Add device_specific_mailslot pointer.
* fhandler_mailslot.cc: New file.
* select.cc (peek_mailslot): New function.
(verify_mailslot): Ditto.
(struct mailslotinf): New stuct to handle select on mailslots.
(thread_mailslot): New function.
(start_thread_mailslot): Ditto.
(mailslot_cleanup): Ditto.
(fhandler_mailslot::select_read): New method.
* syslog.cc (klog_guard): New muto.
(dev_kmsg): Local mailslot for kernel message device.
(vklog): New function.
(klog): Ditto.
* winsup.h (vklog): Declare.
(klog): Ditto.
* include/sys/syslog.h: Define _PATH_KLOG.
Diffstat (limited to 'winsup/cygwin/devices.in')
-rw-r--r-- | winsup/cygwin/devices.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/devices.in b/winsup/cygwin/devices.in index cade06625..c2750f95c 100644 --- a/winsup/cygwin/devices.in +++ b/winsup/cygwin/devices.in @@ -81,6 +81,7 @@ const device dev_bad_storage = "/dev/sr%(0-15)d", BRACK(FHDEV(DEV_CDROM_MAJOR, {$1})), "\\Device\\CdRom{$1}" "/dev/sd%{a-z}s", BRACK(FH_SD{uc $1}), "\\Device\\Harddisk{ord($1) - ord('a')}\\Partition0" "/dev/sd%{a-z}s%(1-15)d", BRACK(FH_SD{uc $1} | {$2}), "\\Device\\Harddisk{ord($1) - ord('a')}\\Partition{$2 % 16}" +"/dev/kmsg", BRACK(FH_KMSG), "\\\\.\\mailslot\\cygwin\\dev\\kmsg" %other {return NULL;} %% #undef BRACK |