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
7a43ea94
Commit
7a43ea94
authored
Dec 05, 2018
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Drop the WINE_ prefix from debug functions.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1ab06f46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+8
-9
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
7a43ea94
...
...
@@ -3323,8 +3323,7 @@ static HMODULE load_driver_module( const WCHAR *name )
if
((
rel
=
RtlImageDirectoryEntryToData
(
module
,
TRUE
,
IMAGE_DIRECTORY_ENTRY_BASERELOC
,
&
size
)))
{
WINE_TRACE
(
"%s: relocating from %p to %p
\n
"
,
wine_dbgstr_w
(
name
),
(
char
*
)
module
-
delta
,
module
);
TRACE
(
"%s: relocating from %p to %p
\n
"
,
wine_dbgstr_w
(
name
),
(
char
*
)
module
-
delta
,
module
);
end
=
(
IMAGE_BASE_RELOCATION
*
)((
char
*
)
rel
+
size
);
while
(
rel
<
end
&&
rel
->
SizeOfBlock
)
{
...
...
@@ -3379,7 +3378,7 @@ static HMODULE load_driver( const WCHAR *driver_name, const UNICODE_STRING *keyn
if
(
RegOpenKeyW
(
HKEY_LOCAL_MACHINE
,
keyname
->
Buffer
+
18
/* skip \registry\machine */
,
&
driver_hkey
))
{
WINE_
ERR
(
"cannot open key %s, err=%u
\n
"
,
wine_dbgstr_w
(
keyname
->
Buffer
),
GetLastError
()
);
ERR
(
"cannot open key %s, err=%u
\n
"
,
wine_dbgstr_w
(
keyname
->
Buffer
),
GetLastError
()
);
return
NULL
;
}
...
...
@@ -3435,7 +3434,7 @@ static HMODULE load_driver( const WCHAR *driver_name, const UNICODE_STRING *keyn
}
RegCloseKey
(
driver_hkey
);
WINE_
TRACE
(
"loading driver %s
\n
"
,
wine_dbgstr_w
(
str
)
);
TRACE
(
"loading driver %s
\n
"
,
wine_dbgstr_w
(
str
)
);
module
=
load_driver_module
(
str
);
HeapFree
(
GetProcessHeap
(),
0
,
path
);
...
...
@@ -3473,12 +3472,12 @@ static NTSTATUS WINAPI init_driver( DRIVER_OBJECT *driver_object, UNICODE_STRING
TRACE_
(
relay
)(
"
\1
Ret driver init %p (obj=%p,str=%s) retval=%08x
\n
"
,
driver_object
->
DriverInit
,
driver_object
,
wine_dbgstr_w
(
keyname
->
Buffer
),
status
);
WINE_
TRACE
(
"init done for %s obj %p
\n
"
,
wine_dbgstr_w
(
driver_name
),
driver_object
);
WINE_
TRACE
(
"- DriverInit = %p
\n
"
,
driver_object
->
DriverInit
);
WINE_
TRACE
(
"- DriverStartIo = %p
\n
"
,
driver_object
->
DriverStartIo
);
WINE_
TRACE
(
"- DriverUnload = %p
\n
"
,
driver_object
->
DriverUnload
);
TRACE
(
"init done for %s obj %p
\n
"
,
wine_dbgstr_w
(
driver_name
),
driver_object
);
TRACE
(
"- DriverInit = %p
\n
"
,
driver_object
->
DriverInit
);
TRACE
(
"- DriverStartIo = %p
\n
"
,
driver_object
->
DriverStartIo
);
TRACE
(
"- DriverUnload = %p
\n
"
,
driver_object
->
DriverUnload
);
for
(
i
=
0
;
i
<=
IRP_MJ_MAXIMUM_FUNCTION
;
i
++
)
WINE_
TRACE
(
"- MajorFunction[%d] = %p
\n
"
,
i
,
driver_object
->
MajorFunction
[
i
]
);
TRACE
(
"- MajorFunction[%d] = %p
\n
"
,
i
,
driver_object
->
MajorFunction
[
i
]
);
return
status
;
}
...
...
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