* Makefile.in (DLL_O_FILES): Add fhandler_netdrive.o.

* fhandler_netdrive.cc: Placeholder file for future development.
* devices.h (FH_NETDRIVE): Define new virtual device type.
(netdrive_dev): Define.
* devices.in (dev_netdrive_storage): Define.
* devices.cc: Regenerate.
This commit is contained in:
Christopher Faylor 2005-05-06 04:06:17 +00:00
parent 9cc53904f6
commit 8cdcc8803a
6 changed files with 31 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2005-05-06 Christopher Faylor <cgf@timesys.com>
* Makefile.in (DLL_O_FILES): Add fhandler_netdrive.o.
* fhandler_netdrive.cc: Placeholder file for future development.
* devices.h (FH_NETDRIVE): Define new virtual device type.
(netdrive_dev): Define.
* devices.in (dev_netdrive_storage): Define.
* devices.cc: Regenerate.
2005-05-04 Corinna Vinschen <corinna@vinschen.de>
* cygerrno.h (__set_errno): Remove useless parentheses.

View File

@ -124,7 +124,7 @@ DLL_OFILES:=assert.o autoload.o bsdlib.o ctype.o cxx.o cygheap.o cygthread.o \
dtable.o environ.o errno.o exceptions.o exec.o external.o fcntl.o \
fhandler.o fhandler_clipboard.o fhandler_console.o fhandler_disk_file.o \
fhandler_dsp.o fhandler_fifo.o fhandler_floppy.o fhandler_mem.o \
fhandler_nodevice.o fhandler_proc.o fhandler_process.o \
fhandler_netdrive.o fhandler_nodevice.o fhandler_proc.o fhandler_process.o \
fhandler_random.o fhandler_raw.o fhandler_registry.o fhandler_serial.o \
fhandler_socket.o fhandler_tape.o fhandler_termios.o \
fhandler_tty.o fhandler_virtual.o fhandler_windows.o fhandler_zero.o \
@ -235,6 +235,7 @@ fhandler_disk_file_CFLAGS:=-fomit-frame-pointer
fhandler_dsp_CFLAGS:=-fomit-frame-pointer
fhandler_floppy_CFLAGS:=-fomit-frame-pointer
fhandler_mem_CFLAGS:=-fomit-frame-pointer
fhandler_netdrive_CFLAGS:=-fomit-frame-pointer
fhandler_proc_CFLAGS:=-fomit-frame-pointer
fhandler_process_CFLAGS:=-fomit-frame-pointer
fhandler_random_CFLAGS:=-fomit-frame-pointer

View File

@ -25,6 +25,9 @@ const device dev_fs_storage =
const device dev_proc_storage =
{"", {FH_PROC}, ""};
const device dev_netdev_storage =
{"", {FH_NETDRIVE}, ""};
const device dev_registry_storage =
{"", {FH_REGISTRY}, ""};

View File

@ -49,6 +49,8 @@ enum fh_devices
FH_FS = FHDEV (0, 247), /* filesystem based device */
FH_NETDRIVE= FHDEV (0, 246),
DEV_FLOPPY_MAJOR = 2,
FH_FLOPPY = FHDEV (DEV_FLOPPY_MAJOR, 0),
@ -169,6 +171,8 @@ extern const device dev_pipew_storage;
#define pipew_dev (&dev_pipew_storage)
extern const device dev_proc_storage;
#define proc_dev (&dev_proc_storage)
extern const device dev_netdrive_storage;
#define netdrive_dev (&dev_netdrive_storage)
extern const device dev_cygdrive_storage;
#define cygdrive_dev (&dev_cygdrive_storage)
extern const device dev_fh_storage;

View File

@ -21,6 +21,9 @@ const device dev_fs_storage =
const device dev_proc_storage =
{"", {FH_PROC}, ""};
const device dev_netdrive_storage =
{"", {FH_NETDRIVE}, ""};
const device dev_registry_storage =
{"", {FH_REGISTRY}, ""};

View File

@ -0,0 +1,10 @@
/* fhandler_netdrive.cc: fhandler for //XXX/x handling
Copyright 2005 Red Hat, Inc.
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */