Updated patch to emulate \Device\Null using /dev/null, use a proper device driver.

This commit is contained in:
Sebastian Lackner
2015-05-16 00:34:09 +02:00
parent 26e06cc151
commit e2d58b98e4
14 changed files with 516 additions and 216 deletions

View File

@@ -1,4 +1,4 @@
From ef18cdddb0a8f9876920d4718b84262dd0cd7fd1 Mon Sep 17 00:00:00 2001
From a693fcab267468e8506448a492c756bdf070ba5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Mon, 5 Jan 2015 18:11:53 +0100
Subject: nvapi: First implementation.
@@ -25,10 +25,10 @@ Subject: nvapi: First implementation.
create mode 100644 include/nvapi.h
diff --git a/configure.ac b/configure.ac
index 73e67bb..f76fa4d 100644
index 8a98996..efe32af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -188,6 +188,12 @@ esac
@@ -190,6 +190,12 @@ esac
dnl enable_win16 defaults to yes on x86, to no on other CPUs
enable_win16=${enable_win16:-no}
enable_win64=${enable_win64:-no}
@@ -41,14 +41,16 @@ index 73e67bb..f76fa4d 100644
dnl Disable winetest too if tests are disabled
enable_winetest=${enable_winetest:-$enable_tests}
@@ -3128,4 +3134,7 @@ WINE_CONFIG_DLL(ntoskrnl.exe,,[implib])
@@ -3157,6 +3163,9 @@ WINE_CONFIG_DLL(ntoskrnl.exe,,[implib])
WINE_CONFIG_DLL(ntprint)
WINE_CONFIG_TEST(dlls/ntprint/tests)
WINE_CONFIG_DLL(null.sys)
+WINE_CONFIG_DLL(nvapi,enable_win32)
+WINE_CONFIG_TEST(dlls/nvapi/tests)
+WINE_CONFIG_DLL(nvapi64,enable_win64)
WINE_CONFIG_DLL(nvcuda)
WINE_CONFIG_TEST(dlls/nvcuda/tests)
WINE_CONFIG_DLL(objsel,,[clean])
diff --git a/dlls/nvapi/Makefile.in b/dlls/nvapi/Makefile.in
new file mode 100644
index 0000000..606177f
@@ -854,10 +856,10 @@ index 0000000..f0c054b
+@ stub DllRegisterServer
+@ stub DllUnregisterServer
diff --git a/include/Makefile.in b/include/Makefile.in
index 84c3ea7..f9eaf44 100644
index 6abb2c2..476613a 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -477,6 +477,7 @@ SRCDIR_INCLUDES = \
@@ -482,6 +482,7 @@ SRCDIR_INCLUDES = \
ntsecapi.h \
ntsecpkg.h \
ntstatus.h \
@@ -948,5 +950,5 @@ index 0000000..4204256
+
+#endif /* __WINE_NVAPI_H */
--
2.2.1
2.4.0