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
5698bb29
Commit
5698bb29
authored
Apr 08, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Implement ExDeleteResourceLite().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aeed7068
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
+13
-9
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+0
-9
sync.c
dlls/ntoskrnl.exe/sync.c
+12
-0
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
5698bb29
...
...
@@ -3356,15 +3356,6 @@ NTSTATUS WINAPI IoCsqInitialize(PIO_CSQ csq, PIO_CSQ_INSERT_IRP insert_irp, PIO_
}
/***********************************************************************
* ExDeleteResourceLite (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
ExDeleteResourceLite
(
PERESOURCE
resource
)
{
FIXME
(
"(%p): stub
\n
"
,
resource
);
return
STATUS_NOT_IMPLEMENTED
;
}
/***********************************************************************
* KeEnterCriticalRegion (NTOSKRNL.EXE.@)
*/
void
WINAPI
KeEnterCriticalRegion
(
void
)
...
...
dlls/ntoskrnl.exe/sync.c
View file @
5698bb29
...
...
@@ -743,6 +743,18 @@ NTSTATUS WINAPI ExInitializeResourceLite( ERESOURCE *resource )
return
STATUS_SUCCESS
;
}
/***********************************************************************
* ExDeleteResourceLite (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
ExDeleteResourceLite
(
ERESOURCE
*
resource
)
{
TRACE
(
"resource %p.
\n
"
,
resource
);
heap_free
(
resource
->
OwnerTable
);
heap_free
(
resource
->
ExclusiveWaiters
);
heap_free
(
resource
->
SharedWaiters
);
return
STATUS_SUCCESS
;
}
/* Find an existing entry in the shared owner list, or create a new one. */
static
OWNER_ENTRY
*
resource_get_shared_entry
(
ERESOURCE
*
resource
,
ERESOURCE_THREAD
thread
)
{
...
...
include/ddk/wdm.h
View file @
5698bb29
...
...
@@ -1521,6 +1521,7 @@ PVOID WINAPI ExAllocatePoolWithQuota(POOL_TYPE,SIZE_T);
PVOID
WINAPI
ExAllocatePoolWithTag
(
POOL_TYPE
,
SIZE_T
,
ULONG
);
PVOID
WINAPI
ExAllocatePoolWithQuotaTag
(
POOL_TYPE
,
SIZE_T
,
ULONG
);
void
WINAPI
ExDeleteNPagedLookasideList
(
PNPAGED_LOOKASIDE_LIST
);
NTSTATUS
WINAPI
ExDeleteResourceLite
(
ERESOURCE
*
);
void
WINAPI
ExFreePool
(
PVOID
);
void
WINAPI
ExFreePoolWithTag
(
PVOID
,
ULONG
);
void
WINAPI
ExInitializeNPagedLookasideList
(
PNPAGED_LOOKASIDE_LIST
,
PALLOCATE_FUNCTION
,
PFREE_FUNCTION
,
ULONG
,
SIZE_T
,
ULONG
,
USHORT
);
...
...
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