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
16e32e3b
Commit
16e32e3b
authored
May 11, 2020
by
Rémi Bernon
Committed by
Alexandre Julliard
May 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Reduce USD section size to 0x1000.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a1c46c38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
info.c
dlls/ntdll/tests/info.c
+0
-1
thread.c
dlls/ntdll/thread.c
+1
-1
No files found.
dlls/ntdll/tests/info.c
View file @
16e32e3b
...
@@ -2266,7 +2266,6 @@ static void test_queryvirtualmemory(void)
...
@@ -2266,7 +2266,6 @@ static void test_queryvirtualmemory(void)
ok
(
mbi
.
State
==
MEM_COMMIT
,
"mbi.State is 0x%x, expected 0x%X
\n
"
,
mbi
.
State
,
MEM_COMMIT
);
ok
(
mbi
.
State
==
MEM_COMMIT
,
"mbi.State is 0x%x, expected 0x%X
\n
"
,
mbi
.
State
,
MEM_COMMIT
);
ok
(
mbi
.
Protect
==
PAGE_READONLY
,
"mbi.Protect is 0x%x
\n
"
,
mbi
.
Protect
);
ok
(
mbi
.
Protect
==
PAGE_READONLY
,
"mbi.Protect is 0x%x
\n
"
,
mbi
.
Protect
);
ok
(
mbi
.
Type
==
MEM_PRIVATE
,
"mbi.Type is 0x%x, expected 0x%x
\n
"
,
mbi
.
Type
,
MEM_PRIVATE
);
ok
(
mbi
.
Type
==
MEM_PRIVATE
,
"mbi.Type is 0x%x, expected 0x%x
\n
"
,
mbi
.
Type
,
MEM_PRIVATE
);
todo_wine
ok
(
mbi
.
RegionSize
==
0x1000
,
"mbi.RegionSize is 0x%lx, expected 0x%x
\n
"
,
mbi
.
RegionSize
,
0x1000
);
ok
(
mbi
.
RegionSize
==
0x1000
,
"mbi.RegionSize is 0x%lx, expected 0x%x
\n
"
,
mbi
.
RegionSize
,
0x1000
);
/* check error code when addr is higher than working set limit */
/* check error code when addr is higher than working set limit */
...
...
dlls/ntdll/thread.c
View file @
16e32e3b
...
@@ -294,7 +294,7 @@ TEB *thread_init(void)
...
@@ -294,7 +294,7 @@ TEB *thread_init(void)
/* reserve space for shared user data */
/* reserve space for shared user data */
addr
=
(
void
*
)
0x7ffe0000
;
addr
=
(
void
*
)
0x7ffe0000
;
size
=
0x1000
0
;
size
=
0x1000
;
status
=
NtAllocateVirtualMemory
(
NtCurrentProcess
(),
&
addr
,
0
,
&
size
,
status
=
NtAllocateVirtualMemory
(
NtCurrentProcess
(),
&
addr
,
0
,
&
size
,
MEM_RESERVE
|
MEM_COMMIT
,
PAGE_READWRITE
);
MEM_RESERVE
|
MEM_COMMIT
,
PAGE_READWRITE
);
if
(
status
)
if
(
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