Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
113f4325
Commit
113f4325
authored
Feb 19, 2016
by
André Hentschel
Committed by
Alexandre Julliard
Feb 22, 2016
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndis.sys: Implement NdisSystemProcessorCount.
Signed-off-by:
André Hentschel
<
nerv@dawncrow.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
613b2454
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
main.c
dlls/ndis.sys/main.c
+10
-0
ndis.sys.spec
dlls/ndis.sys/ndis.sys.spec
+1
-1
ndis.h
include/ddk/ndis.h
+1
-0
No files found.
dlls/ndis.sys/main.c
View file @
113f4325
...
...
@@ -48,3 +48,13 @@ void WINAPI NdisAllocateSpinLock(NDIS_SPIN_LOCK *lock)
{
FIXME
(
"(%p): stub
\n
"
,
lock
);
}
CCHAR
WINAPI
NdisSystemProcessorCount
(
void
)
{
SYSTEM_INFO
si
;
TRACE
(
"()
\n
"
);
GetSystemInfo
(
&
si
);
return
si
.
dwNumberOfProcessors
;
}
dlls/ndis.sys/ndis.sys.spec
View file @
113f4325
...
...
@@ -257,7 +257,7 @@
@ stub NdisSetTimer
@ stub NdisSetTimerEx
@ stub NdisSetupDmaTransfer
@ st
ub NdisSystemProcessorCount
@ st
dcall NdisSystemProcessorCount()
@ stub NdisTerminateWrapper
@ stub NdisTransferData
@ stub NdisUnchainBufferAtBack
...
...
include/ddk/ndis.h
View file @
113f4325
...
...
@@ -33,5 +33,6 @@ typedef struct _NDIS_SPIN_LOCK
NDIS_STATUS
WINAPI
NdisAllocateMemoryWithTag
(
void
**
,
UINT
,
ULONG
);
void
WINAPI
NdisAllocateSpinLock
(
NDIS_SPIN_LOCK
*
);
CCHAR
WINAPI
NdisSystemProcessorCount
(
void
);
#endif
/* _NDIS_ */
Vitaly Lipatov
@lav
mentioned in commit
abffa4ed
·
Sep 03, 2020
mentioned in commit
abffa4ed
mentioned in commit abffa4ed2f8296398255608373d5e1889665cd19
Toggle commit list
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