Added version resource to dd and fs.
authorEmanuele Aliberti <ea@iol.it>
Sat, 4 Dec 1999 20:58:45 +0000 (20:58 +0000)
committerEmanuele Aliberti <ea@iol.it>
Sat, 4 Dec 1999 20:58:45 +0000 (20:58 +0000)
svn path=/trunk/; revision=822

32 files changed:
reactos/drivers/dd/beep/beep.rc [new file with mode: 0644]
reactos/drivers/dd/beep/makefile
reactos/drivers/dd/blue/blue.rc [new file with mode: 0644]
reactos/drivers/dd/blue/makefile
reactos/drivers/dd/ide/ide.c
reactos/drivers/dd/ide/ide.rc [new file with mode: 0644]
reactos/drivers/dd/ide/makefile
reactos/drivers/dd/keyboard/keyboard.rc [new file with mode: 0644]
reactos/drivers/dd/keyboard/makefile
reactos/drivers/dd/null/makefile
reactos/drivers/dd/null/null.c
reactos/drivers/dd/null/null.rc [new file with mode: 0644]
reactos/drivers/dd/parallel/makefile
reactos/drivers/dd/parallel/parallel.c
reactos/drivers/dd/parallel/parallel.rc [new file with mode: 0644]
reactos/drivers/dd/serial/makefile
reactos/drivers/dd/serial/serial.c
reactos/drivers/dd/serial/serial.rc [new file with mode: 0644]
reactos/drivers/dd/vga/makefile
reactos/drivers/dd/vga/vgaddi.rc [new file with mode: 0644]
reactos/drivers/dd/vga/vgamp.rc [new file with mode: 0644]
reactos/drivers/dd/vidport/makefile
reactos/drivers/dd/vidport/vidport.c
reactos/drivers/dd/vidport/vidport.rc [new file with mode: 0644]
reactos/drivers/fs/np/Makefile
reactos/drivers/fs/np/create.c
reactos/drivers/fs/np/mount.c
reactos/drivers/fs/np/npfs.h
reactos/drivers/fs/vfat/iface.c
reactos/drivers/fs/vfat/makefile
reactos/drivers/fs/vfat/vfat.h
reactos/drivers/fs/vfat/vfatfs.rc [new file with mode: 0644]

diff --git a/reactos/drivers/dd/beep/beep.rc b/reactos/drivers/dd/beep/beep.rc
new file mode 100644 (file)
index 0000000..66d2c6f
--- /dev/null
@@ -0,0 +1,39 @@
+
+#include <defines.h>
+#include <reactos/resource.h>
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+       FILEVERSION     RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
+       PRODUCTVERSION  RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
+       FILEFLAGSMASK   0x3fL
+#ifdef _DEBUG
+       FILEFLAGS       0x1L
+#else
+       FILEFLAGS       0x0L
+#endif
+       FILEOS          0x40004L
+       FILETYPE        0x2L
+       FILESUBTYPE     0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName",       RES_STR_COMPANY_NAME
+            VALUE "FileDescription",   "PC Speaker Device Driver\0"
+            VALUE "FileVersion",       "0.0.2\0"
+            VALUE "InternalName",      "beep\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "beep.sys\0"
+            VALUE "ProductName",       RES_STR_PRODUCT_NAME
+            VALUE "ProductVersion",    RES_STR_PRODUCT_VERSION
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END
+
index 6547b95..9979ff3 100644 (file)
@@ -1,8 +1,8 @@
-#
+# $Id: makefile,v 1.6 1999/12/04 20:58:35 ea Exp $
 #
 #
 TARGET = beep
-OBJECTS = beep.o ../../../ntoskrnl/ntoskrnl.a
+OBJECTS = beep.o beep.coff ../../../ntoskrnl/ntoskrnl.a
 
 BASE_CFLAGS = -I../../../include
 
@@ -12,6 +12,7 @@ all: beep.sys
 
 clean:
        - $(RM) beep.o
+       - $(RM) beep.coff
        - $(RM) junk.tmp
        - $(RM) base.tmp
        - $(RM) temp.exp
@@ -39,15 +40,31 @@ endif
 
 
 beep.sys: $(OBJECTS)
-       $(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-             -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-             -Wl,--base-file,base.tmp $(OBJECTS)
+       $(CC) \
+               -specs=../../svc_specs \
+               -mdll \
+               -o junk.tmp \
+               -Wl,--defsym,_end=end \
+               -Wl,--defsym,_edata=__data_end__ \
+               -Wl,--defsym,_etext=etext \
+               -Wl,--base-file,base.tmp \
+               $(OBJECTS)
        - $(RM) junk.tmp
-       $(DLLTOOL) --dllname beep.sys --base-file base.tmp \
-                  --output-exp temp.exp
+       $(DLLTOOL) \
+               --dllname beep.sys \
+               --base-file base.tmp \
+               --output-exp temp.exp \
+               --kill-at
        - $(RM) base.tmp
-       $(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
-             -specs=../../svc_specs -mdll -o beep.sys $(OBJECTS) -Wl,temp.exp
+       $(CC) \
+               --verbose \
+               -Wl,--image-base,0x10000 \
+               -Wl,-e,_DriverEntry@8 \
+               -Wl,temp.exp \
+               -specs=../../svc_specs \
+               -mdll \
+               -o $(TARGET).sys \
+               $(OBJECTS)
        - $(RM) temp.exp
 
 include ../../../rules.mak
diff --git a/reactos/drivers/dd/blue/blue.rc b/reactos/drivers/dd/blue/blue.rc
new file mode 100644 (file)
index 0000000..dafbe1f
--- /dev/null
@@ -0,0 +1,39 @@
+
+#include <defines.h>
+#include <reactos/resource.h>
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+       FILEVERSION     RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
+       PRODUCTVERSION  RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
+       FILEFLAGSMASK   0x3fL
+#ifdef _DEBUG
+       FILEFLAGS       0x1L
+#else
+       FILEFLAGS       0x0L
+#endif
+       FILEOS          0x40004L
+       FILETYPE        0x2L
+       FILESUBTYPE     0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName",       RES_STR_COMPANY_NAME
+            VALUE "FileDescription",   "HAL Console Device Driver\0"
+            VALUE "FileVersion",       "0.0.6\0"
+            VALUE "InternalName",      "blue\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "blue.sys\0"
+            VALUE "ProductName",       RES_STR_PRODUCT_NAME
+            VALUE "ProductVersion",    RES_STR_PRODUCT_VERSION
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END
+
index 8cfa4b0..95e0e68 100644 (file)
@@ -1,18 +1,20 @@
-#
+# $Id: makefile,v 1.9 1999/12/04 20:58:36 ea Exp $
 #
 #
 TARGET = blue
 
 BASE_CFLAGS = -I../../../include
 
-OBJECTS = blue.o ../../../ntoskrnl/ntoskrnl.a
+#OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a
+OBJECTS = $(TARGET).o ../../../ntoskrnl/ntoskrnl.a
 
-all: blue.sys
+all: $(TARGET).sys
 
 .phony: all
 
 clean:
-       - $(RM) blue.o
+       - $(RM) $(TARGET).o
+       - $(RM) $(TARGET).coff
        - $(RM) junk.tmp
        - $(RM) base.tmp
        - $(RM) temp.exp
@@ -38,16 +40,31 @@ else
        $(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
 endif
 
-blue.sys: $(OBJECTS)
-       $(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-             -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-             -Wl,--base-file,base.tmp $(OBJECTS)
+$(TARGET).sys: $(OBJECTS)
+       $(CC) \
+               -specs=../../svc_specs \
+               -mdll \
+               -o junk.tmp \
+               -Wl,--defsym,_end=end \
+               -Wl,--defsym,_edata=__data_end__ \
+               -Wl,--defsym,_etext=etext \
+               -Wl,--base-file,base.tmp $(OBJECTS)
        - $(RM) junk.tmp
-       $(DLLTOOL) --dllname blue.sys --base-file base.tmp \
-                  --output-exp temp.exp
+       $(DLLTOOL) \
+               --dllname $(TARGET).sys \
+               --base-file base.tmp \
+               --output-exp temp.exp \
+               --kill-at
        - $(RM) base.tmp
-       $(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
-             -specs=../../svc_specs -mdll -o blue.sys $(OBJECTS) -Wl,temp.exp
+       $(CC) \
+               --verbose \
+               -Wl,--image-base,0x10000 \
+               -Wl,-e,_DriverEntry@8 \
+               -Wl,temp.exp \
+               -specs=../../svc_specs \
+               -mdll \
+               -o $(TARGET).sys \
+               $(OBJECTS)
        - $(RM) temp.exp
 
 
index a812e18..a76e3f9 100644 (file)
@@ -1,4 +1,5 @@
-/*
+/* $Id: ide.c,v 1.23 1999/12/04 20:58:36 ea Exp $
+ *
  *  IDE.C - IDE Disk driver 
  *     written by Rex Jolliff
  *     with help from various documentation sources and a few peeks at
diff --git a/reactos/drivers/dd/ide/ide.rc b/reactos/drivers/dd/ide/ide.rc
new file mode 100644 (file)
index 0000000..5981746
--- /dev/null
@@ -0,0 +1,39 @@
+
+#include <defines.h>
+#include <reactos/resource.h>
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+       FILEVERSION     RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
+       PRODUCTVERSION  RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
+       FILEFLAGSMASK   0x3fL
+#ifdef _DEBUG
+       FILEFLAGS       0x1L
+#else
+       FILEFLAGS       0x0L
+#endif
+       FILEOS          0x40004L
+       FILETYPE        0x2L
+       FILESUBTYPE     0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName",       RES_STR_COMPANY_NAME
+            VALUE "FileDescription",   "IDE Disk Device Driver\0"
+            VALUE "FileVersion",       "0.1.4\0"
+            VALUE "InternalName",      "ide\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "ide.sys\0"
+            VALUE "ProductName",       RES_STR_PRODUCT_NAME
+            VALUE "ProductVersion",    RES_STR_PRODUCT_VERSION
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END
+
index e10d810..92f70a5 100644 (file)
@@ -1,21 +1,24 @@
-#
+# $Id: makefile,v 1.9 1999/12/04 20:58:38 ea Exp $
 #
 #
 TARGET=ide
-OBJECTS = ide.o ../../../ntoskrnl/ntoskrnl.a
+
+#OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a
+OBJECTS = $(TARGET).o ../../../ntoskrnl/ntoskrnl.a
 
 BASE_CFLAGS = -I../../../include
 
-all: ide.sys
+all: $(TARGET).sys
 
 .phony: all
 
 clean:
-       - $(RM) ide.o
+       - $(RM) $(TARGET).o
+       - $(RM) $(TARGET).coff
        - $(RM) junk.tmp
        - $(RM) base.tmp
        - $(RM) temp.exp
-       - $(RM) ide.sys
+       - $(RM) $(TARGET).sys
 
 .phony: clean
 
@@ -37,16 +40,31 @@ else
        $(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
 endif
 
-ide.sys: $(OBJECTS)
-       $(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-             -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-             -Wl,--base-file,base.tmp $(OBJECTS)
+$(TARGET).sys: $(OBJECTS)
+       $(CC) \
+               -specs=../../svc_specs \
+               -mdll \
+               -o junk.tmp \
+               -Wl,--defsym,_end=end \
+               -Wl,--defsym,_edata=__data_end__ \
+               -Wl,--defsym,_etext=etext \
+               -Wl,--base-file,base.tmp $(OBJECTS)
        - $(RM) junk.tmp
-       $(DLLTOOL) --dllname ide.sys --base-file base.tmp \
-                  --output-exp temp.exp
+       $(DLLTOOL) \
+               --dllname $(TARGET).sys \
+               --base-file base.tmp \
+               --output-exp temp.exp \
+               --kill-at
        - $(RM) base.tmp
-       $(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
-              -specs=../../svc_specs -mdll -o ide.sys $(OBJECTS) -Wl,temp.exp
+       $(CC) \
+               --verbose \
+               -Wl,--image-base,0x10000 \
+               -Wl,-e,_DriverEntry@8 \
+               -Wl,temp.exp \
+               -specs=../../svc_specs \
+               -mdll \
+               -o $(TARGET).sys \
+               $(OBJECTS)
        - $(RM) temp.exp
 
 include ../../../rules.mak
diff --git a/reactos/drivers/dd/keyboard/keyboard.rc b/reactos/drivers/dd/keyboard/keyboard.rc
new file mode 100644 (file)
index 0000000..8095fc3
--- /dev/null
@@ -0,0 +1,39 @@
+
+#include <defines.h>
+#include <reactos/resource.h>
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+       FILEVERSION     RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
+       PRODUCTVERSION  RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
+       FILEFLAGSMASK   0x3fL
+#ifdef _DEBUG
+       FILEFLAGS       0x1L
+#else
+       FILEFLAGS       0x0L
+#endif
+       FILEOS          0x40004L
+       FILETYPE        0x2L
+       FILESUBTYPE     0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName",       RES_STR_COMPANY_NAME
+            VALUE "FileDescription",   "Keyboard Device Driver\0"
+            VALUE "FileVersion",       "0.0.4\0"
+            VALUE "InternalName",      "keyboard\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "keyboard.sys\0"
+            VALUE "ProductName",       RES_STR_PRODUCT_NAME
+            VALUE "ProductVersion",    RES_STR_PRODUCT_VERSION
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END
+
index 1f26b02..9feeb38 100644 (file)
@@ -1,21 +1,24 @@
-#
+# $Id: makefile,v 1.7 1999/12/04 20:58:39 ea Exp $
 #
 #
 TARGET=keyboard
-OBJECTS = keyboard.o ../../../ntoskrnl/ntoskrnl.a
+
+#OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a
+OBJECTS = $(TARGET).o ../../../ntoskrnl/ntoskrnl.a
 
 BASE_CFLAGS = -I../../../include
 
-all: keyboard.sys
+all: $(TARGET).sys
 
 .phony: all
 
 clean:
-       - $(RM) keyboard.o
+       - $(RM) $(TARGET).o
+       - $(RM) $(TARGET).coff
        - $(RM) junk.tmp
        - $(RM) base.tmp
        - $(RM) temp.exp
-       - $(RM) keyboard.sys
+       - $(RM) $(TARGET).sys
 
 .phony: clean
 
@@ -37,16 +40,32 @@ else
        $(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
 endif
 
-keyboard.sys: $(OBJECTS)
-       $(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-             -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-             -Wl,--base-file,base.tmp $(OBJECTS)
+$(TARGET).sys: $(OBJECTS)
+       $(CC) \
+               -specs=../../svc_specs \
+               -mdll \
+               -o junk.tmp \
+               -Wl,--defsym,_end=end \
+               -Wl,--defsym,_edata=__data_end__ \
+               -Wl,--defsym,_etext=etext \
+               -Wl,--base-file,base.tmp \
+               $(OBJECTS)
        - $(RM) junk.tmp
-       $(DLLTOOL) --dllname keyboard.sys --base-file base.tmp \
-                  --output-exp temp.exp
+       $(DLLTOOL) \
+               --dllname $(TARGET).sys \
+               --base-file base.tmp \
+               --output-exp temp.exp \
+               --kill-at
        - $(RM) base.tmp
-       $(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
-              -specs=../../svc_specs -mdll -o keyboard.sys $(OBJECTS) -Wl,temp.exp
+       $(CC) \
+               --verbose \
+               -Wl,--image-base,0x10000 \
+               -Wl,-e,_DriverEntry@8 \
+               -Wl,temp.exp \
+               -specs=../../svc_specs \
+               -mdll \
+               -o $(TARGET).sys \
+               $(OBJECTS)
        - $(RM) temp.exp
 
 include ../../../rules.mak
index c0d8658..f8f00a3 100644 (file)
@@ -1,21 +1,22 @@
-#
+# $Id: makefile,v 1.6 1999/12/04 20:58:39 ea Exp $
 #
 #
 TARGET=null
-OBJECTS= null.o ../../../ntoskrnl/ntoskrnl.a
+OBJECTS= $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a
 
 BASE_CFLAGS = -I../../../include
 
-all: null.sys
+all: $(TARGET).sys
 
 .phony: all
 
 clean:
-       - $(RM) null.o
+       - $(RM) $(TARGET).o
+       - $(RM) $(TARGET).coff
        - $(RM) junk.tmp
        - $(RM) base.tmp
        - $(RM) temp.exp
-       - $(RM) null.sys
+       - $(RM) $(TARGET).sys
 
 .phony: clean
 
@@ -37,16 +38,32 @@ else
        $(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
 endif
 
-null.sys: $(OBJECTS)
-       $(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-             -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-             -Wl,--base-file,base.tmp $(OBJECTS)
+$(TARGET).sys: $(OBJECTS)
+       $(CC) \
+               -specs=../../svc_specs \
+               -mdll \
+               -o junk.tmp \
+               -Wl,--defsym,_end=end \
+               -Wl,--defsym,_edata=__data_end__ \
+               -Wl,--defsym,_etext=etext \
+               -Wl,--base-file,base.tmp \
+               $(OBJECTS)
        - $(RM) junk.tmp
-       $(DLLTOOL) --dllname null.sys --base-file base.tmp \
-                  --output-exp temp.exp
+       $(DLLTOOL) \
+               --dllname $(TARGET).sys \
+               --base-file base.tmp \
+               --output-exp temp.exp \
+               --kill-at
        - $(RM) base.tmp
-       $(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
-             -specs=../../svc_specs -mdll -o null.sys $(OBJECTS) -Wl,temp.exp
+       $(CC) \
+               --verbose \
+               -Wl,--image-base,0x10000 \
+               -Wl,-e,_DriverEntry@8 \
+               -Wl,temp.exp \
+               -specs=../../svc_specs \
+               -mdll \
+               -o $(TARGET).sys \
+               $(OBJECTS)
        - $(RM) temp.exp
 
 
index 753c55c..363bbdd 100644 (file)
@@ -1,4 +1,5 @@
-/*
+/* $Id: null.c,v 1.3 1999/12/04 20:58:39 ea Exp $
+ *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
  * FILE:             services/null/null.c
diff --git a/reactos/drivers/dd/null/null.rc b/reactos/drivers/dd/null/null.rc
new file mode 100644 (file)
index 0000000..5a61bc9
--- /dev/null
@@ -0,0 +1,39 @@
+
+#include <defines.h>
+#include <reactos/resource.h>
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+       FILEVERSION     RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
+       PRODUCTVERSION  RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
+       FILEFLAGSMASK   0x3fL
+#ifdef _DEBUG
+       FILEFLAGS       0x1L
+#else
+       FILEFLAGS       0x0L
+#endif
+       FILEOS          0x40004L
+       FILETYPE        0x2L
+       FILESUBTYPE     0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName",       RES_STR_COMPANY_NAME
+            VALUE "FileDescription",   "Null Device Driver\0"
+            VALUE "FileVersion",       "0.0.2\0"
+            VALUE "InternalName",      "null\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "null.sys\0"
+            VALUE "ProductName",       RES_STR_PRODUCT_NAME
+            VALUE "ProductVersion",    RES_STR_PRODUCT_VERSION
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END
+
index 0bfbeb9..5be68ff 100644 (file)
@@ -1,21 +1,22 @@
-#
+# $Id: makefile,v 1.7 1999/12/04 20:58:40 ea Exp $
 #
 #
 TARGET=parallel
-OBJECTS= parallel.o ../../../ntoskrnl/ntoskrnl.a
+OBJECTS= $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a
 
 BASE_CFLAGS = -I../../../include
 
-all: parallel.sys
+all: $(TARGET).sys
 
 .phony: all
 
 clean:
-       - $(RM) parallel.o
+       - $(RM) $(TARGET).o
+       - $(RM) $(TARGET).coff
        - $(RM) junk.tmp
        - $(RM) base.tmp
        - $(RM) temp.exp
-       - $(RM) parallel.sys
+       - $(RM) $(TARGET).sys
 
 .phony: clean
 
@@ -37,16 +38,32 @@ else
        $(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
 endif
 
-parallel.sys: $(OBJECTS)
-       $(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-             -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-             -Wl,--base-file,base.tmp $(OBJECTS)
+$(TARGET).sys: $(OBJECTS)
+       $(CC) \
+               -specs=../../svc_specs \
+               -mdll \
+               -o junk.tmp \
+               -Wl,--defsym,_end=end \
+               -Wl,--defsym,_edata=__data_end__ \
+               -Wl,--defsym,_etext=etext \
+               -Wl,--base-file,base.tmp \
+               $(OBJECTS)
        - $(RM) junk.tmp
-       $(DLLTOOL) --dllname parallel.sys --base-file base.tmp \
-                  --output-exp temp.exp
+       $(DLLTOOL) \
+               --dllname $(TARGET).sys \
+               --base-file base.tmp \
+               --output-exp temp.exp \
+               --kill-at
        - $(RM) base.tmp
-       $(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
-             -specs=../../svc_specs -mdll -o parallel.sys $(OBJECTS) -Wl,temp.exp
+       $(CC) \
+               --verbose \
+               -Wl,--image-base,0x10000 \
+               -Wl,-e,_DriverEntry@8 \
+               -Wl,temp.exp \
+               -specs=../../svc_specs \
+               -mdll \
+               -o $(TARGET).sys \
+               $(OBJECTS)
        - $(RM) temp.exp
 
 
index 1b8b32a..6a38031 100644 (file)
@@ -1,4 +1,5 @@
-/*
+/* $Id: parallel.c,v 1.4 1999/12/04 20:58:40 ea Exp $
+ *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
  * FILE:             services/parallel/parallel.c
diff --git a/reactos/drivers/dd/parallel/parallel.rc b/reactos/drivers/dd/parallel/parallel.rc
new file mode 100644 (file)
index 0000000..b0e6298
--- /dev/null
@@ -0,0 +1,39 @@
+
+#include <defines.h>
+#include <reactos/resource.h>
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+       FILEVERSION     RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
+       PRODUCTVERSION  RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
+       FILEFLAGSMASK   0x3fL
+#ifdef _DEBUG
+       FILEFLAGS       0x1L
+#else
+       FILEFLAGS       0x0L
+#endif
+       FILEOS          0x40004L
+       FILETYPE        0x2L
+       FILESUBTYPE     0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName",       RES_STR_COMPANY_NAME
+            VALUE "FileDescription",   "Parallel Port Device Driver\0"
+            VALUE "FileVersion",       "0.0.1\0"
+            VALUE "InternalName",      "parallel\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "parallel.sys\0"
+            VALUE "ProductName",       RES_STR_PRODUCT_NAME
+            VALUE "ProductVersion",    RES_STR_PRODUCT_VERSION
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END
+
index 6216e36..a284cc9 100644 (file)
@@ -1,21 +1,22 @@
-#
+# $Id: makefile,v 1.7 1999/12/04 20:58:40 ea Exp $
 #
 #
 TARGET= serial
-OBJECTS= serial.o ../../../ntoskrnl/ntoskrnl.a
+OBJECTS= $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a
 
 BASE_CFLAGS = -I../../../include
 
-all: serial.sys
+all: $(TARGET).sys
 
 .phony: all
 
 clean:
-       - $(RM) serial.o
+       - $(RM) $(TARGET).o
+       - $(RM) $(TARGET).coff
        - $(RM) junk.tmp
        - $(RM) base.tmp
        - $(RM) temp.exp
-       - $(RM) serial.sys
+       - $(RM) $(TARGET).sys
 
 .phony: clean
 
@@ -37,16 +38,32 @@ else
        $(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
 endif
 
-serial.sys: $(OBJECTS)
-       $(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-             -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-             -Wl,--base-file,base.tmp $(OBJECTS)
+$(TARGET).sys: $(OBJECTS)
+       $(CC) \
+               -specs=../../svc_specs \
+               -mdll \
+               -o junk.tmp \
+               -Wl,--defsym,_end=end \
+               -Wl,--defsym,_edata=__data_end__ \
+               -Wl,--defsym,_etext=etext \
+               -Wl,--base-file,base.tmp \
+               $(OBJECTS)
        - $(RM) junk.tmp
-       $(DLLTOOL) --dllname serial.sys --base-file base.tmp \
-                  --output-exp temp.exp
+       $(DLLTOOL) \
+               --dllname $(TARGET).sys \
+               --base-file base.tmp \
+               --output-exp temp.exp \
+               --kill-at
        - $(RM) base.tmp
-       $(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
-             -specs=../../svc_specs -mdll -o serial.sys $(OBJECTS) -Wl,temp.exp
+       $(CC) \
+               --verbose \
+               -Wl,--image-base,0x10000 \
+               -Wl,-e,_DriverEntry@8 \
+               -Wl,temp.exp \
+               -specs=../../svc_specs \
+               -mdll \
+               -o $(TARGET).sys \
+               $(OBJECTS)
        - $(RM) temp.exp
 
 
index 2abd54b..c9c1f29 100644 (file)
@@ -1,10 +1,10 @@
-/*
-
- ** Serial driver
- ** Written by Jason Filby (jasonfilby@yahoo.com)
- ** For ReactOS (www.sid-dis.com/reactos)
-
-*/
+/* $Id: serial.c,v 1.7 1999/12/04 20:58:41 ea Exp $
+ *
+ * Serial driver
+ * Written by Jason Filby (jasonfilby@yahoo.com)
+ * For ReactOS (www.reactos.com)
+ *
+ */
 
 #include <ddk/ntddk.h>
 #include <internal/mmhal.h>
diff --git a/reactos/drivers/dd/serial/serial.rc b/reactos/drivers/dd/serial/serial.rc
new file mode 100644 (file)
index 0000000..1b1b9fa
--- /dev/null
@@ -0,0 +1,39 @@
+
+#include <defines.h>
+#include <reactos/resource.h>
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+       FILEVERSION     RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
+       PRODUCTVERSION  RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
+       FILEFLAGSMASK   0x3fL
+#ifdef _DEBUG
+       FILEFLAGS       0x1L
+#else
+       FILEFLAGS       0x0L
+#endif
+       FILEOS          0x40004L
+       FILETYPE        0x2L
+       FILESUBTYPE     0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName",       RES_STR_COMPANY_NAME
+            VALUE "FileDescription",   "Serial Port Device Driver\0"
+            VALUE "FileVersion",       "0.0.2\0"
+            VALUE "InternalName",      "serial\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "serial.sys\0"
+            VALUE "ProductName",       RES_STR_PRODUCT_NAME
+            VALUE "ProductVersion",    RES_STR_PRODUCT_VERSION
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END
+
index d6d760b..8cae838 100644 (file)
@@ -3,8 +3,8 @@
 #
 BASE_CFLAGS = -I../../../include
 
-MP_OBJECTS = vgamp.o ../../../ntoskrnl/ntoskrnl.a ../vidport/vidport.a
-DDI_OBJECTS = vgaddi.o ../../../subsys/win32k/win32k.a
+MP_OBJECTS = vgamp.o vgamp.coff ../../../ntoskrnl/ntoskrnl.a ../vidport/vidport.a
+DDI_OBJECTS = vgaddi.o vgaddi.coff ../../../subsys/win32k/win32k.a
 
 all: vgamp.sys vgaddi.sys
 
@@ -16,31 +16,64 @@ clean:
        - $(RM) base.tmp
        - $(RM) temp.exp
        - $(RM) *.sys
+       - $(RM) *.coff
 
 .phony: clean
 
 vgamp.sys: $(MP_OBJECTS)
-       $(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-             -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-             -Wl,--base-file,base.tmp $(MP_OBJECTS)
+       $(CC) \
+               -specs=../../svc_specs \
+               -mdll \
+               -o junk.tmp \
+               -Wl,--defsym,_end=end \
+               -Wl,--defsym,_edata=__data_end__ \
+               -Wl,--defsym,_etext=etext \
+               -Wl,--base-file,base.tmp \
+               $(MP_OBJECTS)
        - $(RM) junk.tmp
-       $(DLLTOOL) --dllname vgamp.sys --base-file base.tmp \
-                  --output-exp temp.exp
+       $(DLLTOOL) \
+               --dllname vgamp.sys \
+               --base-file base.tmp \
+               --output-exp temp.exp \
+               --kill-at
        - $(RM) base.tmp
-       $(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
-              -specs=../../svc_specs -mdll -o vgamp.sys $(MP_OBJECTS) -Wl,temp.exp
+       $(CC) \
+               --verbose \
+               -Wl,--image-base,0x10000 \
+               -Wl,-e,_DriverEntry@8 \
+               -Wl,temp.exp \
+               -specs=../../svc_specs \
+               -mdll \
+               -o vgamp.sys \
+               $(MP_OBJECTS)
        - $(RM) temp.exp
 
 vgaddi.sys: $(DDI_OBJECTS)
-       $(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-             -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-             -Wl,--base-file,base.tmp $(DDI_OBJECTS)
+       $(CC) \
+               -specs=../../svc_specs \
+               -mdll \
+               -o junk.tmp \
+               -Wl,--defsym,_end=end \
+               -Wl,--defsym,_edata=__data_end__ \
+               -Wl,--defsym,_etext=etext \
+               -Wl,--base-file,base.tmp \
+               $(DDI_OBJECTS)
        - $(RM) junk.tmp
-       $(DLLTOOL) --dllname vgaddi.sys --base-file base.tmp \
-                  --output-exp temp.exp
+       $(DLLTOOL) \
+               --dllname vgaddi.sys \
+               --base-file base.tmp \
+               --output-exp temp.exp \
+               --kill-at
        - $(RM) base.tmp
-       $(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
-              -specs=../../svc_specs -mdll -o vgaddi.sys $(DDI_OBJECTS) -Wl,temp.exp
+       $(CC) \
+               --verbose \
+               -Wl,--image-base,0x10000 \
+               -Wl,-e,_DriverEntry@8 \
+               -Wl,temp.exp \
+               -specs=../../svc_specs \
+               -mdll \
+               -o vgaddi.sys \
+               $(DDI_OBJECTS)
        - $(RM) temp.exp
 
 floppy: $(FLOPPY_DIR)/drivers/vgamp.sys $(FLOPPY_DIR)/drivers/vgaddi.sys
diff --git a/reactos/drivers/dd/vga/vgaddi.rc b/reactos/drivers/dd/vga/vgaddi.rc
new file mode 100644 (file)
index 0000000..9e787b6
--- /dev/null
@@ -0,0 +1,39 @@
+
+#include <defines.h>
+#include <reactos/resource.h>
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+       FILEVERSION     RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
+       PRODUCTVERSION  RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
+       FILEFLAGSMASK   0x3fL
+#ifdef _DEBUG
+       FILEFLAGS       0x1L
+#else
+       FILEFLAGS       0x0L
+#endif
+       FILEOS          0x40004L
+       FILETYPE        0x2L
+       FILESUBTYPE     0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName",       RES_STR_COMPANY_NAME
+            VALUE "FileDescription",   "VGADDI Device Driver\0"
+            VALUE "FileVersion",       "0.0.0\0"
+            VALUE "InternalName",      "vgaddi\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "vgaddi.sys\0"
+            VALUE "ProductName",       RES_STR_PRODUCT_NAME
+            VALUE "ProductVersion",    RES_STR_PRODUCT_VERSION
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END
+
diff --git a/reactos/drivers/dd/vga/vgamp.rc b/reactos/drivers/dd/vga/vgamp.rc
new file mode 100644 (file)
index 0000000..192cd17
--- /dev/null
@@ -0,0 +1,39 @@
+
+#include <defines.h>
+#include <reactos/resource.h>
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+       FILEVERSION     RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
+       PRODUCTVERSION  RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
+       FILEFLAGSMASK   0x3fL
+#ifdef _DEBUG
+       FILEFLAGS       0x1L
+#else
+       FILEFLAGS       0x0L
+#endif
+       FILEOS          0x40004L
+       FILETYPE        0x2L
+       FILESUBTYPE     0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName",       RES_STR_COMPANY_NAME
+            VALUE "FileDescription",   "VGA Miniport Device Driver\0"
+            VALUE "FileVersion",       "0.0.0\0"
+            VALUE "InternalName",      "vgamp\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "vgamp.sys\0"
+            VALUE "ProductName",       RES_STR_PRODUCT_NAME
+            VALUE "ProductVersion",    RES_STR_PRODUCT_VERSION
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END
+
index fe787e6..94c4a2b 100644 (file)
@@ -1,21 +1,23 @@
-#
+# $Id: makefile,v 1.7 1999/12/04 20:58:41 ea Exp $
 #
 #
 TARGET=vidport
-OBJECTS = vidport.o ../../../ntoskrnl/ntoskrnl.a
+OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a
 
 BASE_CFLAGS = -I../../../include
 
-all: vidport.sys vidport.a
+all: $(TARGET).sys vidport.a
 
 .phony: all
 
 clean:
-       - $(RM) vidport.o
+       - $(RM) $(TARGET).o
+       - $(RM) $(TARGET).a
+       - $(RM) $(TARGET).coff
        - $(RM) junk.tmp
        - $(RM) base.tmp
        - $(RM) temp.exp
-       - $(RM) vidport.sys
+       - $(RM) $(TARGET).sys
 
 .phony: clean
 
@@ -37,7 +39,7 @@ else
        $(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
 endif
 
-vidport.sys: $(OBJECTS)
+$(TARGET).sys: $(OBJECTS)
        $(DLLTOOL) \
                --dllname $(TARGET).sys \
                --def $(TARGET).def \
index 1d6505d..8f7c17a 100644 (file)
@@ -1,4 +1,5 @@
-/*
+/* $Id: vidport.c,v 1.9 1999/12/04 20:58:42 ea Exp $
+ *
  * VideoPort driver
  *   Written by Rex Jolliff
  */
@@ -52,7 +53,8 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
   return  STATUS_SUCCESS;
 }
 
-ULONG 
+ULONG
+STDCALL
 VideoPortCompareMemory(IN PVOID  Source1, 
                        IN PVOID  Source2, 
                        IN ULONG  Length)
@@ -61,6 +63,7 @@ VideoPortCompareMemory(IN PVOID  Source1,
 }
 
 VOID 
+STDCALL
 VideoPortDebugPrint(IN ULONG DebugPrintLevel, 
                     IN PCHAR DebugMessage, ...)
 {
@@ -68,18 +71,21 @@ VideoPortDebugPrint(IN ULONG DebugPrintLevel,
 }
 
 VP_STATUS 
+STDCALL
 VideoPortDisableInterrupt(IN PVOID  HwDeviceExtension)
 {
   UNIMPLEMENTED;
 }
 
 VP_STATUS 
+STDCALL
 VideoPortEnableInterrupt(IN PVOID  HwDeviceExtension)
 {
   UNIMPLEMENTED;
 }
 
 VOID 
+STDCALL
 VideoPortFreeDeviceBase(IN PVOID  HwDeviceExtension, 
                         IN PVOID  MappedAddress)
 {
@@ -87,6 +93,7 @@ VideoPortFreeDeviceBase(IN PVOID  HwDeviceExtension,
 }
 
 ULONG 
+STDCALL
 VideoPortGetBusData(IN PVOID  HwDeviceExtension,
                     IN BUS_DATA_TYPE  BusDataType,
                     IN ULONG  SlotNumber,
@@ -103,12 +110,14 @@ VideoPortGetBusData(IN PVOID  HwDeviceExtension,
 }
 
 UCHAR 
+STDCALL
 VideoPortGetCurrentIrql(VOID)
 {
   return KeGetCurrentIrql();
 }
 
 PVOID 
+STDCALL
 VideoPortGetDeviceBase(IN PVOID  HwDeviceExtension,
                        IN PHYSICAL_ADDRESS  IoAddress,
                        IN ULONG  NumberOfUchars,
@@ -126,6 +135,7 @@ VideoPortGetDeviceBase(IN PVOID  HwDeviceExtension,
 }
 
 VP_STATUS 
+STDCALL
 VideoPortGetDeviceData(IN PVOID  HwDeviceExtension,
                        IN VIDEO_DEVICE_DATA_TYPE  DeviceDataType,
                        IN PMINIPORT_QUERY_DEVICE_ROUTINE  CallbackRoutine,
@@ -135,6 +145,7 @@ VideoPortGetDeviceData(IN PVOID  HwDeviceExtension,
 }
 
 VP_STATUS 
+STDCALL
 VideoPortGetAccessRanges(IN PVOID  HwDeviceExtension,
                          IN ULONG  NumRequestedResources,
                          IN PIO_RESOURCE_DESCRIPTOR  RequestedResources OPTIONAL,
@@ -148,6 +159,7 @@ VideoPortGetAccessRanges(IN PVOID  HwDeviceExtension,
 }
 
 VP_STATUS 
+STDCALL
 VideoPortGetRegistryParameters(IN PVOID  HwDeviceExtension,
                                IN PWSTR  ParameterName,
                                IN UCHAR  IsParameterFileName,
@@ -158,6 +170,7 @@ VideoPortGetRegistryParameters(IN PVOID  HwDeviceExtension,
 }
 
 ULONG 
+STDCALL
 VideoPortInitialize(IN PVOID  Context1,
                     IN PVOID  Context2,
                     IN PVIDEO_HW_INITIALIZATION_DATA  HwInitializationData,
@@ -287,6 +300,7 @@ VideoPortInitialize(IN PVOID  Context1,
 }
 
 VP_STATUS 
+STDCALL
 VideoPortInt10(IN PVOID  HwDeviceExtension,
                IN PVIDEO_X86_BIOS_ARGUMENTS  BiosArguments)
 {
@@ -294,6 +308,7 @@ VideoPortInt10(IN PVOID  HwDeviceExtension,
 }
 
 VOID 
+STDCALL
 VideoPortLogError(IN PVOID  HwDeviceExtension,
                   IN PVIDEO_REQUEST_PACKET  Vrp OPTIONAL,
                   IN VP_STATUS  ErrorCode,
@@ -303,6 +318,7 @@ VideoPortLogError(IN PVOID  HwDeviceExtension,
 }
 
 VP_STATUS 
+STDCALL
 VideoPortMapBankedMemory(IN PVOID  HwDeviceExtension,
                          IN PHYSICAL_ADDRESS  PhysicalAddress,
                          IN PULONG  Length,
@@ -317,6 +333,7 @@ VideoPortMapBankedMemory(IN PVOID  HwDeviceExtension,
 }
 
 VP_STATUS 
+STDCALL
 VideoPortMapMemory(IN PVOID  HwDeviceExtension,
                    IN PHYSICAL_ADDRESS  PhysicalAddress,
                    IN PULONG  Length,
@@ -339,6 +356,7 @@ VideoPortMapMemory(IN PVOID  HwDeviceExtension,
 }
 
 VOID 
+STDCALL
 VideoPortMoveMemory(OUT PVOID  Destination,
                     IN PVOID  Source,
                     IN ULONG  Length)
@@ -347,24 +365,28 @@ VideoPortMoveMemory(OUT PVOID  Destination,
 }
 
 UCHAR 
+STDCALL
 VideoPortReadPortUchar(IN PUCHAR  Port)
 {
   return  READ_PORT_UCHAR(Port);
 }
 
 USHORT 
+STDCALL
 VideoPortReadPortUshort(IN PUSHORT Port)
 {
   return  READ_PORT_USHORT(Port);
 }
 
 ULONG 
+STDCALL
 VideoPortReadPortUlong(IN PULONG Port)
 {
   return  READ_PORT_ULONG(Port);
 }
 
 VOID 
+STDCALL
 VideoPortReadPortBufferUchar(IN PUCHAR  Port, 
                              OUT PUCHAR  Buffer, 
                              IN ULONG  Count)
@@ -373,6 +395,7 @@ VideoPortReadPortBufferUchar(IN PUCHAR  Port,
 }
 
 VOID 
+STDCALL
 VideoPortReadPortBufferUshort(IN PUSHORT Port, 
                               OUT PUSHORT Buffer, 
                               IN ULONG Count)
@@ -381,6 +404,7 @@ VideoPortReadPortBufferUshort(IN PUSHORT Port,
 }
 
 VOID 
+STDCALL
 VideoPortReadPortBufferUlong(IN PULONG Port, 
                              OUT PULONG Buffer, 
                              IN ULONG Count)
@@ -389,24 +413,28 @@ VideoPortReadPortBufferUlong(IN PULONG Port,
 }
 
 UCHAR 
+STDCALL
 VideoPortReadRegisterUchar(IN PUCHAR Register)
 {
   return  READ_REGISTER_UCHAR(Register);
 }
 
 USHORT 
+STDCALL
 VideoPortReadRegisterUshort(IN PUSHORT Register)
 {
   return  READ_REGISTER_USHORT(Register);
 }
 
 ULONG 
+STDCALL
 VideoPortReadRegisterUlong(IN PULONG Register)
 {
   return  READ_REGISTER_ULONG(Register);
 }
 
 VOID 
+STDCALL
 VideoPortReadRegisterBufferUchar(IN PUCHAR  Register, 
                                  OUT PUCHAR  Buffer, 
                                  IN ULONG  Count)
@@ -415,6 +443,7 @@ VideoPortReadRegisterBufferUchar(IN PUCHAR  Register,
 }
 
 VOID 
+STDCALL
 VideoPortReadRegisterBufferUshort(IN PUSHORT  Register, 
                                   OUT PUSHORT  Buffer, 
                                   IN ULONG  Count)
@@ -423,6 +452,7 @@ VideoPortReadRegisterBufferUshort(IN PUSHORT  Register,
 }
 
 VOID 
+STDCALL
 VideoPortReadRegisterBufferUlong(IN PULONG  Register, 
                                  OUT PULONG  Buffer, 
                                  IN ULONG  Count)
@@ -431,6 +461,7 @@ VideoPortReadRegisterBufferUlong(IN PULONG  Register,
 }
 
 BOOLEAN 
+STDCALL
 VideoPortScanRom(IN PVOID  HwDeviceExtension, 
                  IN PUCHAR  RomBase,
                  IN ULONG  RomLength,
@@ -440,6 +471,7 @@ VideoPortScanRom(IN PVOID  HwDeviceExtension,
 }
 
 ULONG 
+STDCALL
 VideoPortSetBusData(IN PVOID  HwDeviceExtension,
                     IN BUS_DATA_TYPE  BusDataType,
                     IN ULONG  SlotNumber,
@@ -456,6 +488,7 @@ VideoPortSetBusData(IN PVOID  HwDeviceExtension,
 }
 
 VP_STATUS 
+STDCALL
 VideoPortSetRegistryParameters(IN PVOID  HwDeviceExtension,
                                IN PWSTR  ValueName,
                                IN PVOID  ValueData,
@@ -465,6 +498,7 @@ VideoPortSetRegistryParameters(IN PVOID  HwDeviceExtension,
 }
 
 VP_STATUS 
+STDCALL
 VideoPortSetTrappedEmulatorPorts(IN PVOID  HwDeviceExtension,
                                  IN ULONG  NumAccessRanges,
                                  IN PVIDEO_ACCESS_RANGE  AccessRange)
@@ -473,12 +507,14 @@ VideoPortSetTrappedEmulatorPorts(IN PVOID  HwDeviceExtension,
 }
 
 VOID 
+STDCALL
 VideoPortStallExecution(IN ULONG  Microseconds)
 {
   KeStallExecutionProcessor(Microseconds);
 }
 
 VOID 
+STDCALL
 VideoPortStartTimer(IN PVOID  HwDeviceExtension)
 {
   PVIDEOPORT_EXTENSION_DATA ExtensionData = 
@@ -488,6 +524,7 @@ VideoPortStartTimer(IN PVOID  HwDeviceExtension)
 }
 
 VOID 
+STDCALL
 VideoPortStopTimer(IN PVOID  HwDeviceExtension)
 {
   PVIDEOPORT_EXTENSION_DATA ExtensionData = 
@@ -497,6 +534,7 @@ VideoPortStopTimer(IN PVOID  HwDeviceExtension)
 }
 
 BOOLEAN 
+STDCALL
 VideoPortSynchronizeExecution(IN PVOID  HwDeviceExtension,
                               IN VIDEO_SYNCHRONIZE_PRIORITY  Priority,
                               IN PMINIPORT_SYNCHRONIZE_ROUTINE  SynchronizeRoutine,
@@ -506,6 +544,7 @@ VideoPortSynchronizeExecution(IN PVOID  HwDeviceExtension,
 }
 
 VP_STATUS 
+STDCALL
 VideoPortUnmapMemory(IN PVOID  HwDeviceExtension,
                      IN PVOID  VirtualAddress,
                      IN HANDLE  ProcessHandle)
@@ -514,6 +553,7 @@ VideoPortUnmapMemory(IN PVOID  HwDeviceExtension,
 }
 
 VP_STATUS 
+STDCALL
 VideoPortVerifyAccessRanges(IN PVOID  HwDeviceExtension,
                             IN ULONG  NumAccessRanges,
                             IN PVIDEO_ACCESS_RANGE  AccessRanges)
@@ -522,6 +562,7 @@ VideoPortVerifyAccessRanges(IN PVOID  HwDeviceExtension,
 }
 
 VOID 
+STDCALL
 VideoPortWritePortUchar(IN PUCHAR  Port, 
                         IN UCHAR  Value)
 {
@@ -529,6 +570,7 @@ VideoPortWritePortUchar(IN PUCHAR  Port,
 }
 
 VOID 
+STDCALL
 VideoPortWritePortUshort(IN PUSHORT  Port, 
                          IN USHORT  Value)
 {
@@ -536,6 +578,7 @@ VideoPortWritePortUshort(IN PUSHORT  Port,
 }
 
 VOID 
+STDCALL
 VideoPortWritePortUlong(IN PULONG Port, 
                         IN ULONG Value)
 {
@@ -543,6 +586,7 @@ VideoPortWritePortUlong(IN PULONG Port,
 }
 
 VOID 
+STDCALL
 VideoPortWritePortBufferUchar(IN PUCHAR  Port, 
                               IN PUCHAR  Buffer, 
                               IN ULONG  Count)
@@ -551,6 +595,7 @@ VideoPortWritePortBufferUchar(IN PUCHAR  Port,
 }
 
 VOID 
+STDCALL
 VideoPortWritePortBufferUshort(IN PUSHORT  Port, 
                                IN PUSHORT  Buffer, 
                                IN ULONG  Count)
@@ -559,6 +604,7 @@ VideoPortWritePortBufferUshort(IN PUSHORT  Port,
 }
 
 VOID 
+STDCALL
 VideoPortWritePortBufferUlong(IN PULONG  Port, 
                               IN PULONG  Buffer, 
                               IN ULONG  Count)
@@ -567,6 +613,7 @@ VideoPortWritePortBufferUlong(IN PULONG  Port,
 }
 
 VOID 
+STDCALL
 VideoPortWriteRegisterUchar(IN PUCHAR  Register, 
                             IN UCHAR  Value)
 {
@@ -574,6 +621,7 @@ VideoPortWriteRegisterUchar(IN PUCHAR  Register,
 }
 
 VOID 
+STDCALL
 VideoPortWriteRegisterUshort(IN PUSHORT  Register, 
                              IN USHORT  Value)
 {
@@ -581,6 +629,7 @@ VideoPortWriteRegisterUshort(IN PUSHORT  Register,
 }
 
 VOID 
+STDCALL
 VideoPortWriteRegisterUlong(IN PULONG  Register, 
                             IN ULONG  Value)
 {
@@ -588,6 +637,7 @@ VideoPortWriteRegisterUlong(IN PULONG  Register,
 }
 
 VOID 
+STDCALL
 VideoPortWriteRegisterBufferUchar(IN PUCHAR  Register, 
                                   IN PUCHAR  Buffer, 
                                   IN ULONG  Count)
@@ -596,6 +646,7 @@ VideoPortWriteRegisterBufferUchar(IN PUCHAR  Register,
 }
 
 VOID 
+STDCALL
 VideoPortWriteRegisterBufferUshort(IN PUSHORT  Register, 
                                    IN PUSHORT  Buffer, 
                                    IN ULONG  Count)
@@ -604,6 +655,7 @@ VideoPortWriteRegisterBufferUshort(IN PUSHORT  Register,
 }
 
 VOID 
+STDCALL
 VideoPortWriteRegisterBufferUlong(IN PULONG  Register, 
                                   IN PULONG  Buffer, 
                                   IN ULONG  Count)
@@ -611,13 +663,17 @@ VideoPortWriteRegisterBufferUlong(IN PULONG  Register,
   UNIMPLEMENTED;
 }
 
-VOID VideoPortZeroMemory(OUT PVOID  Destination, 
+VOID
+STDCALL
+VideoPortZeroMemory(OUT PVOID  Destination, 
                          IN ULONG  Length)
 {
   RtlZeroMemory (Destination, Length);
 }
 
-VOID VideoPortZeroDeviceMemory(OUT PVOID  Destination, 
+VOID
+STDCALL
+VideoPortZeroDeviceMemory(OUT PVOID  Destination, 
                                IN ULONG  Length)
 {
   UNIMPLEMENTED;
diff --git a/reactos/drivers/dd/vidport/vidport.rc b/reactos/drivers/dd/vidport/vidport.rc
new file mode 100644 (file)
index 0000000..92f1908
--- /dev/null
@@ -0,0 +1,39 @@
+
+#include <defines.h>
+#include <reactos/resource.h>
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+       FILEVERSION     RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
+       PRODUCTVERSION  RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
+       FILEFLAGSMASK   0x3fL
+#ifdef _DEBUG
+       FILEFLAGS       0x1L
+#else
+       FILEFLAGS       0x0L
+#endif
+       FILEOS          0x40004L
+       FILETYPE        0x2L
+       FILESUBTYPE     0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName",       RES_STR_COMPANY_NAME
+            VALUE "FileDescription",   "Videort Driver\0"
+            VALUE "FileVersion",       "0.0.0\0"
+            VALUE "InternalName",      "vidport\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "vidport.sys\0"
+            VALUE "ProductName",       RES_STR_PRODUCT_NAME
+            VALUE "ProductVersion",    RES_STR_PRODUCT_VERSION
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END
+
index 45dd072..1c666bd 100644 (file)
@@ -1,40 +1,52 @@
+# $Id: Makefile,v 1.2 1999/12/04 20:58:42 ea Exp $
 #
+# Named Pipes File System
 #
-#
+
+TARGETNAME=npfs
 
 BASE_CFLAGS = -I../../../include
 
-OBJECTS = super.o blockdev.o inode.o file.o dir.o rw.o quota.o security.o \
-          attr.o ../../../ntoskrnl/ntoskrnl.a
+OBJECTS = create.o mount.o \
+          ../../../ntoskrnl/ntoskrnl.a
 
-all: ext2fs.sys
+all: $(TARGETNAME).sys
 
 .phony: all
 
 clean:
-       - $(RM) super.o 
-       - $(RM) blockdev.o
-       - $(RM) inode.o
-       - $(RM) file.o
-       - $(RM) dir.o
-       - $(RM) rw.o
-       - $(RM) junk.tmp
-       - $(RM) base.tmp
-       - $(RM) temp.exp
-       - $(RM) ext2fs.sys
+       - $(RM) create.o 
+       - $(RM) mount.o
+       - $(RM) $(TARGETNAME).sys
 
 .phony: clean
 
-ext2fs.sys: $(OBJECTS)
-       $(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-             -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-             -Wl,--base-file,base.tmp $(OBJECTS)
+$(TARGETNAME).sys: $(OBJECTS)
+       $(CC) \
+               -specs=../../svc_specs \
+               -mdll \
+               -o junk.tmp \
+               -Wl,--defsym,_end=end \
+               -Wl,--defsym,_edata=__data_end__ \
+               -Wl,--defsym,_etext=etext \
+               -Wl,--base-file,base.tmp \
+               $(OBJECTS)
        $(RM) junk.tmp
-       $(DLLTOOL) --dllname ext2fs.sys --base-file base.tmp \
-                  --output-exp temp.exp
+       $(DLLTOOL) \
+               --dllname $(TARGETNAME).sys \
+               --base-file base.tmp \
+               --output-exp temp.exp \
+               --kill-at
        $(RM) base.tmp
-       $(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry \
-             -specs=../../svc_specs -mdll -o ext2fs.sys $(OBJECTS) -Wl,temp.exp
+       $(CC) \
+               --verbose \
+               -Wl,--image-base,0x10000 \
+               -Wl,-e,_DriverEntry \
+               -specs=../../svc_specs \
+               -mdll \
+               -o $(TARGETNAME).sys \
+               $(OBJECTS) \
+               -Wl,temp.exp
        $(RM) temp.exp
 
 include ../../../rules.mak
index 2d8f8db..def56ba 100644 (file)
@@ -1,4 +1,5 @@
-/*
+/* $Id: create.c,v 1.2 1999/12/04 20:58:42 ea Exp $
+ *
  * COPYRIGHT:  See COPYING in the top level directory
  * PROJECT:    ReactOS kernel
  * FILE:       services/fs/np/create.c
@@ -13,7 +14,7 @@
 //#define NDEBUG
 #include <internal/debug.h>
 
-#include "np.h"
+#include "npfs.h"
 
 /* FUNCTIONS *****************************************************************/
 
@@ -33,7 +34,7 @@ NTSTATUS NpfsCreatePipe(PNPFS_DEVICE_EXTENSION DeviceExt,
    PipeDescr = ExAllocatePool(NonPagedPool, sizeof(NPFS_FSCONTEXT));
    if (PipeDescr == NULL)
      {
-       return(STATUS_OUT_OF_MEMORY);
+       return(STATUS_NO_MEMORY);
      }
    
    Status = NpfsCreateEntry(PipeName, PipeDescr);
@@ -68,3 +69,6 @@ NTSTATUS NpfsCreate(PDEVICE_OBJECT DeviceObject, PIRP Irp)
    
    return(Status);
 }
+
+
+/* EOF */
index 8a220ab..e2040b7 100644 (file)
@@ -1,4 +1,5 @@
-/*
+/* $Id: mount.c,v 1.2 1999/12/04 20:58:42 ea Exp $
+ *
  * COPYRIGHT:  See COPYING in the top level directory
  * PROJECT:    ReactOS kernel
  * FILE:       services/fs/np/mount.c
@@ -13,7 +14,7 @@
 //#define NDEBUG
 #include <internal/debug.h>
 
-#include "np.h"
+#include "npfs.h"
 
 /* GLOBALS *******************************************************************/
 
@@ -122,3 +123,6 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT _DriverObject,
    
    return(STATUS_SUCCESS);
 }
+
+
+/* EOF */
index 614d59e..3c26ffd 100644 (file)
@@ -19,7 +19,7 @@ typedef struct
    LIST_ENTRY GlobalListEntry;
    ULONG Flags;
    LIST_ENTRY MsgListHead;
-   KPSIN_LOCK MsgListLock;
+   KSPIN_LOCK MsgListLock;
 } NPFS_FSCONTEXT, *PNPFS_FSCONTEXT;
 
 #endif /* __SERVICES_FS_NP_NPFS_H */
index 595cc18..99413ae 100644 (file)
@@ -1,4 +1,5 @@
-/*
+/* $Id: iface.c,v 1.38 1999/12/04 20:58:42 ea Exp $
+ *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
  * FILE:             services/fs/vfat/iface.c
index 9290b2d..d3cdb8b 100644 (file)
@@ -1,12 +1,14 @@
-#
+# $Id: makefile,v 1.11 1999/12/04 20:58:44 ea Exp $
 #
 #
 TARGET=vfatfs
+
+#OBJECTS = blockdev.o dir.o dirwr.o iface.o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a
 OBJECTS = blockdev.o dir.o dirwr.o iface.o ../../../ntoskrnl/ntoskrnl.a
 
 BASE_CFLAGS = -I../../../include
 
-all: vfatfs.sys
+all: $(TARGET).sys
 
 .phony: all
 
@@ -16,12 +18,13 @@ ifeq ($(DOSCLI),yes)
        - $(RM) dir.o
        - $(RM) dirwr.o
        - $(RM) iface.o
+       - $(RM) $(TARGET).coff
        - $(RM) junk.tmp
        - $(RM) base.tmp
        - $(RM) temp.exp
-       - $(RM) vfatfs.sys
+       - $(RM) $(TARGET).sys
 else
-       - $(RM) blockdev.o dir.o dirwr.o iface.o junk.tmp base.tmp temp.exp vfatfs.sys
+       - $(RM) blockdev.o dir.o dirwr.o iface.o $(TARGET).coff junk.tmp base.tmp temp.exp $(TARGET).sys
 endif
 
 .phony: clean
@@ -44,17 +47,34 @@ else
        $(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
 endif
 
-vfatfs.sys: $(OBJECTS)
-       $(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-             -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-             -Wl,--base-file,base.tmp -Wl,"-h vfatfs.sys" $(OBJECTS)
+$(TARGET).sys: $(OBJECTS)
+       $(CC) \
+               -specs=../../svc_specs \
+               -mdll \
+               -o junk.tmp \
+               -Wl,--defsym,_end=end \
+               -Wl,--defsym,_edata=__data_end__ \
+               -Wl,--defsym,_etext=etext \
+               -Wl,--base-file,base.tmp \
+               -Wl,"-h vfatfs.sys" \
+               $(OBJECTS)
        - $(RM) junk.tmp
-       $(DLLTOOL) --dllname vfatfs.sys --base-file base.tmp \
-                  --output-exp temp.exp --def vfatfs.def
+       $(DLLTOOL) \
+               --dllname $(TARGET).sys \
+               --base-file base.tmp \
+               --output-exp temp.exp \
+               --def vfatfs.def
        - $(RM) base.tmp
-       $(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
-             -specs=../../svc_specs -mdll -o vfatfs.sys $(OBJECTS) \
-             -Wl,temp.exp -Wl,"-h vfatfs.sys"
+       $(CC) \
+               --verbose \
+               -Wl,--image-base,0x10000 \
+               -Wl,-e,_DriverEntry@8 \
+               -Wl,temp.exp \
+               -Wl,"-h vfatfs.sys" \
+               -specs=../../svc_specs \
+               -mdll \
+               -o $(TARGET).sys \
+               $(OBJECTS)
        - $(RM) temp.exp
 
 
index 037fa3c..911576e 100644 (file)
@@ -1,3 +1,5 @@
+/* $Id: vfat.h,v 1.14 1999/12/04 20:58:44 ea Exp $ */
+
 #include <wchar.h>
 
 
diff --git a/reactos/drivers/fs/vfat/vfatfs.rc b/reactos/drivers/fs/vfat/vfatfs.rc
new file mode 100644 (file)
index 0000000..82830c5
--- /dev/null
@@ -0,0 +1,39 @@
+
+#include <defines.h>
+#include <reactos/resource.h>
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+       FILEVERSION     RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
+       PRODUCTVERSION  RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
+       FILEFLAGSMASK   0x3fL
+#ifdef _DEBUG
+       FILEFLAGS       0x1L
+#else
+       FILEFLAGS       0x0L
+#endif
+       FILEOS          0x40004L
+       FILETYPE        0x2L
+       FILESUBTYPE     0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName",       RES_STR_COMPANY_NAME
+            VALUE "FileDescription",   "VFAT IFS Driver\0"
+            VALUE "FileVersion",       "0.0.6\0"
+            VALUE "InternalName",      "vfatfs\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "vfatfs.sys\0"
+            VALUE "ProductName",       RES_STR_PRODUCT_NAME
+            VALUE "ProductVersion",    RES_STR_PRODUCT_VERSION
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END
+