Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
55b5e3a7
Commit
55b5e3a7
authored
Sep 28, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Make system.drv into a stand-alone 16-bit module.
parent
68dd5608
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
31 additions
and
6 deletions
+31
-6
.gitignore
.gitignore
+0
-1
configure
configure
+9
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/Makefile.in
+1
-2
Makefile.in
dlls/kernel32/Makefile.in
+0
-2
Makefile.in
dlls/system.drv16/Makefile.in
+13
-0
system.c
dlls/system.drv16/system.c
+7
-1
system.drv16.spec
dlls/system.drv16/system.drv16.spec
+0
-0
No files found.
.gitignore
View file @
55b5e3a7
...
...
@@ -119,7 +119,6 @@ dlls/setupx.dll16
dlls/shdocvw/shdocvw_v1.tlb
dlls/stdole2.tlb/std_ole_v2.tlb
dlls/stdole32.tlb/std_ole_v1.tlb
dlls/system.drv16
dlls/toolhelp.dll16
dlls/user.exe16
dlls/ver.dll16
...
...
configure
View file @
55b5e3a7
...
...
@@ -16658,6 +16658,14 @@ dlls/sxs/Makefile: dlls/sxs/Makefile.in dlls/Makedll.rules"
ac_config_files
=
"
$ac_config_files
dlls/sxs/Makefile"
ALL_MAKEFILES
=
"
$ALL_MAKEFILES
\\
dlls/system.drv16/Makefile"
test
"x
$enable_win16
"
!=
xno
&&
ALL_DLL_DIRS
=
"
$ALL_DLL_DIRS
\\
system.drv16"
ALL_MAKEFILE_DEPENDS
=
"
$ALL_MAKEFILE_DEPENDS
dlls/system.drv16/Makefile: dlls/system.drv16/Makefile.in dlls/Makedll.rules"
ac_config_files
=
"
$ac_config_files
dlls/system.drv16/Makefile"
ALL_MAKEFILES
=
"
$ALL_MAKEFILES
\\
dlls/t2embed/Makefile"
test
"x
$enable_t2embed
"
!=
xno
&&
ALL_DLL_DIRS
=
"
$ALL_DLL_DIRS
\\
t2embed"
...
...
@@ -19045,6 +19053,7 @@ do
"dlls/strmiids/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/strmiids/Makefile" ;;
"dlls/svrapi/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/svrapi/Makefile" ;;
"dlls/sxs/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/sxs/Makefile" ;;
"dlls/system.drv16/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/system.drv16/Makefile" ;;
"dlls/t2embed/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/t2embed/Makefile" ;;
"dlls/tapi32/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/tapi32/Makefile" ;;
"dlls/traffic/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/traffic/Makefile" ;;
...
...
configure.ac
View file @
55b5e3a7
...
...
@@ -2443,6 +2443,7 @@ WINE_CONFIG_MAKEFILE([dlls/stress.dll16/Makefile],[dlls/Makedll.rules],[dlls],[A
WINE_CONFIG_MAKEFILE([dlls/strmiids/Makefile],[dlls/Makeimplib.rules],[dlls],[ALL_IMPLIB_DIRS])
WINE_CONFIG_MAKEFILE([dlls/svrapi/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/sxs/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/system.drv16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
WINE_CONFIG_MAKEFILE([dlls/t2embed/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/tapi32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/traffic/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
...
...
dlls/Makefile.in
View file @
55b5e3a7
...
...
@@ -23,7 +23,6 @@ WIN16_FILES = \
krnl386.exe16
\
mmsystem.dll16
\
setupx.dll16
\
system.drv16
\
toolhelp.dll16
\
user.exe16
\
ver.dll16
\
...
...
@@ -45,7 +44,7 @@ commdlg.dll16:
gdi.exe16
:
echo
"gdi32.dll"
>
$@
krnl386.exe16
system.drv16
toolhelp.dll16
:
krnl386.exe16 toolhelp.dll16
:
echo
"kernel32.dll"
>
$@
setupx.dll16
:
...
...
dlls/kernel32/Makefile.in
View file @
55b5e3a7
...
...
@@ -11,7 +11,6 @@ EXTRADLLFLAGS = -Wb,-F,KERNEL32.dll -Wl,--image-base,0x7b800000
SPEC_SRCS16
=
\
krnl386.exe.spec
\
system.drv.spec
\
toolhelp.spec
C_SRCS
=
\
...
...
@@ -55,7 +54,6 @@ C_SRCS = \
string.c
\
sync.c
\
syslevel.c
\
system.c
\
tape.c
\
task.c
\
thread.c
\
...
...
dlls/system.drv16/Makefile.in
0 → 100644
View file @
55b5e3a7
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
system.drv16
IMPORTS
=
kernel32
EXTRADLLFLAGS
=
-Wb
,--subsystem,win16
C_SRCS
=
system.c
@MAKE_DLL_RULES@
@DEPENDENCIES@
# everything below this line is overwritten by make depend
dlls/
kernel32
/system.c
→
dlls/
system.drv16
/system.c
View file @
55b5e3a7
...
...
@@ -122,6 +122,7 @@ static void SYSTEM_StopTicks(void)
DWORD
WINAPI
InquireSystem16
(
WORD
code
,
WORD
arg
)
{
WORD
drivetype
;
WCHAR
root
[
3
];
switch
(
code
)
{
...
...
@@ -129,7 +130,12 @@ DWORD WINAPI InquireSystem16( WORD code, WORD arg )
return
SYS_TIMER_RATE
;
case
1
:
/* Get drive type */
drivetype
=
GetDriveType16
(
arg
);
root
[
0
]
=
'A'
+
arg
;
root
[
1
]
=
':'
;
root
[
2
]
=
0
;
drivetype
=
GetDriveTypeW
(
root
);
if
(
drivetype
==
DRIVE_CDROM
)
drivetype
=
DRIVE_REMOTE
;
else
if
(
drivetype
==
DRIVE_NO_ROOT_DIR
)
drivetype
=
DRIVE_UNKNOWN
;
return
MAKELONG
(
drivetype
,
drivetype
);
case
2
:
/* Enable one-drive logic */
...
...
dlls/
kernel32/system.drv
.spec
→
dlls/
system.drv16/system.drv16
.spec
View file @
55b5e3a7
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment