Commit 16e32e3b authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

ntdll: Reduce USD section size to 0x1000.

parent a1c46c38
...@@ -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 */
......
...@@ -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 = 0x10000; 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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment