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
cb9a95f5
Commit
cb9a95f5
authored
May 13, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
May 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: virtual_free_system_view() is not used anymore so remove it.
parent
ef5f1f50
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
27 deletions
+0
-27
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+0
-1
virtual.c
dlls/ntdll/virtual.c
+0
-26
No files found.
dlls/ntdll/ntdll_misc.h
View file @
cb9a95f5
...
...
@@ -141,7 +141,6 @@ extern unsigned int DIR_get_drives_info( struct drive_info info[MAX_DOS_DRIVES]
/* virtual memory */
extern
void
virtual_get_system_info
(
SYSTEM_BASIC_INFORMATION
*
info
);
extern
NTSTATUS
virtual_create_system_view
(
void
*
base
,
SIZE_T
size
,
DWORD
vprot
);
extern
SIZE_T
virtual_free_system_view
(
PVOID
*
addr_ptr
);
extern
NTSTATUS
virtual_alloc_thread_stack
(
TEB
*
teb
,
SIZE_T
reserve_size
,
SIZE_T
commit_size
);
extern
void
virtual_clear_thread_stack
(
void
);
extern
BOOL
virtual_handle_stack_fault
(
void
*
addr
);
...
...
dlls/ntdll/virtual.c
View file @
cb9a95f5
...
...
@@ -1368,32 +1368,6 @@ NTSTATUS virtual_create_system_view( void *base, SIZE_T size, DWORD vprot )
/***********************************************************************
* virtual_free_system_view
*/
SIZE_T
virtual_free_system_view
(
PVOID
*
addr_ptr
)
{
FILE_VIEW
*
view
;
sigset_t
sigset
;
SIZE_T
size
=
0
;
char
*
base
=
ROUND_ADDR
(
*
addr_ptr
,
page_mask
);
server_enter_uninterrupted_section
(
&
csVirtual
,
&
sigset
);
if
((
view
=
VIRTUAL_FindView
(
base
,
0
)))
{
TRACE
(
"freeing %p-%p
\n
"
,
view
->
base
,
(
char
*
)
view
->
base
+
view
->
size
);
/* return the values that the caller should use to unmap the area */
*
addr_ptr
=
view
->
base
;
/* make sure we don't munmap anything from a reserved area */
if
(
!
wine_mmap_is_in_reserved_area
(
view
->
base
,
view
->
size
))
size
=
view
->
size
;
view
->
protect
|=
VPROT_SYSTEM
;
delete_view
(
view
);
}
server_leave_uninterrupted_section
(
&
csVirtual
,
&
sigset
);
return
size
;
}
/***********************************************************************
* virtual_alloc_thread_stack
*/
NTSTATUS
virtual_alloc_thread_stack
(
TEB
*
teb
,
SIZE_T
reserve_size
,
SIZE_T
commit_size
)
...
...
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