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
551f97c7
Commit
551f97c7
authored
Feb 10, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hal: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1bd306c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
dlls/hal/Makefile.in
+0
-1
hal.c
dlls/hal/hal.c
+4
-4
No files found.
dlls/hal/Makefile.in
View file @
551f97c7
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
hal.dll
IMPORTLIB
=
hal
IMPORTS
=
ntoskrnl
...
...
dlls/hal/hal.c
View file @
551f97c7
...
...
@@ -161,20 +161,20 @@ void WINAPI WRITE_PORT_UCHAR(UCHAR *port, UCHAR value)
void
WINAPI
WRITE_PORT_ULONG
(
ULONG
*
port
,
ULONG
value
)
{
FIXME
(
"(%p %d) stub!
\n
"
,
port
,
value
);
FIXME
(
"(%p %
l
d) stub!
\n
"
,
port
,
value
);
}
#endif
/* __i386__ || __arm__ || __arm64__ */
ULONG
WINAPI
HalGetBusData
(
BUS_DATA_TYPE
BusDataType
,
ULONG
BusNumber
,
ULONG
SlotNumber
,
PVOID
Buffer
,
ULONG
Length
)
{
FIXME
(
"(%u %
u %u %p %
u) stub!
\n
"
,
BusDataType
,
BusNumber
,
SlotNumber
,
Buffer
,
Length
);
FIXME
(
"(%u %
lu %lu %p %l
u) stub!
\n
"
,
BusDataType
,
BusNumber
,
SlotNumber
,
Buffer
,
Length
);
/* Claim that there is no such bus */
return
0
;
}
ULONG
WINAPI
HalGetBusDataByOffset
(
BUS_DATA_TYPE
BusDataType
,
ULONG
BusNumber
,
ULONG
SlotNumber
,
PVOID
Buffer
,
ULONG
Offset
,
ULONG
Length
)
{
FIXME
(
"(%u %
u %u %p %u %
u) stub!
\n
"
,
BusDataType
,
BusNumber
,
SlotNumber
,
Buffer
,
Offset
,
Length
);
FIXME
(
"(%u %
lu %lu %p %lu %l
u) stub!
\n
"
,
BusDataType
,
BusNumber
,
SlotNumber
,
Buffer
,
Offset
,
Length
);
/* Claim that there is no such bus */
return
0
;
}
...
...
@@ -182,7 +182,7 @@ ULONG WINAPI HalGetBusDataByOffset(BUS_DATA_TYPE BusDataType, ULONG BusNumber, U
BOOLEAN
WINAPI
HalTranslateBusAddress
(
INTERFACE_TYPE
InterfaceType
,
ULONG
BusNumber
,
PHYSICAL_ADDRESS
BusAddress
,
PULONG
AddressSpace
,
PPHYSICAL_ADDRESS
TranslatedAddress
)
{
FIXME
(
"(%d %d %s %p %p) stub!
\n
"
,
InterfaceType
,
BusNumber
,
FIXME
(
"(%d %
l
d %s %p %p) stub!
\n
"
,
InterfaceType
,
BusNumber
,
wine_dbgstr_longlong
(
BusAddress
.
QuadPart
),
AddressSpace
,
TranslatedAddress
);
return
FALSE
;
}
...
...
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