reactos.git
5 years ago[KMTEST]
Pierre Schweitzer [Sun, 24 May 2015 17:31:49 +0000 (17:31 +0000)]
[KMTEST]
Don't attempt to allocate null-size buffer when copying empty string.

Note to next generations students: test your code and DON'T LEAK MEMORY!!!!
It still leaks atm, will have a look later on.
Note to Mr Bragin, beloved ReactOS Project Coordinator: did you actually reviewed your students work?

CORE-7272

svn path=/trunk/; revision=67885

5 years ago[NTFS]
Pierre Schweitzer [Sun, 24 May 2015 15:26:15 +0000 (15:26 +0000)]
[NTFS]
Use non-paged lookaside list for IRP context allocation

svn path=/trunk/; revision=67883

5 years ago[NTOSKRNL]
Eric Kohl [Sun, 24 May 2015 14:38:55 +0000 (14:38 +0000)]
[NTOSKRNL]
IoCreateDevice: Assign SePublicOpenUnrestrictedSd to new devices.

CORE-9176

svn path=/trunk/; revision=67882

5 years ago[KBDHU] Fix MSVC build when the default code page is a MBCS. By Yuntian Zhang. CORE...
Amine Khaldi [Sun, 24 May 2015 14:26:31 +0000 (14:26 +0000)]
[KBDHU] Fix MSVC build when the default code page is a MBCS. By Yuntian Zhang. CORE-7417

svn path=/trunk/; revision=67881

5 years ago[FASTFAT]
Pierre Schweitzer [Sun, 24 May 2015 12:39:10 +0000 (12:39 +0000)]
[FASTFAT]
- Add a debugging assert that will save your lot of time if you attempt to manually queue a wrong IRP. You cannot queue an IRP which is set to be later queued again. This is a broken behavior.
- Remove a bit of code duplication

svn path=/trunk/; revision=67880

5 years ago[NTVDM]
Hermès Bélusca-Maïto [Sun, 24 May 2015 12:35:29 +0000 (12:35 +0000)]
[NTVDM]
- Update the CrtModeControl byte in the BDA when we change video modes.
- Implement INT 10h, AX=1003h "Toggle Intensity/Blinking Bit".
- Partially implement INT 10h, AH=1Bh "Functionality/State Information (VGA)".

svn path=/trunk/; revision=67879

5 years ago[NTFS]
Pierre Schweitzer [Sun, 24 May 2015 12:28:51 +0000 (12:28 +0000)]
[NTFS]
Implement request qeueing (based on FastFAT work)

svn path=/trunk/; revision=67878

5 years ago[NTFS]
Pierre Schweitzer [Sun, 24 May 2015 12:20:51 +0000 (12:20 +0000)]
[NTFS]
- Only free the IRP context in case the request is not to be queued
- Stubplement request queueing support in NtfsDispatch()

svn path=/trunk/; revision=67877

5 years ago[NTFS]
Pierre Schweitzer [Sun, 24 May 2015 12:17:43 +0000 (12:17 +0000)]
[NTFS]
Handle IRP_MJ_WRITE with the dispatch routine

svn path=/trunk/; revision=67876

5 years ago[NTFS]
Pierre Schweitzer [Sun, 24 May 2015 10:48:15 +0000 (10:48 +0000)]
[NTFS]
Split NtfsFsdDispatch() in two.
Now, NtfsFsdDispatch() will only take care of allocating the IRP context and complete the IRP in case it failed (that fixes a null-pointer dereference, just for the record).
NtfsDispatch() will really dispatch the IRP to the internal functions. So that it can be called either directly from NtfsFsdDispatch() or by a queued IRP (to be implemented).

svn path=/trunk/; revision=67875

5 years ago[FAST486]
Aleksandar Andrejevic [Sat, 23 May 2015 23:44:10 +0000 (23:44 +0000)]
[FAST486]
Implement FSQRT using the Babylonian method.

svn path=/trunk/; revision=67874

5 years ago[FAST486]
Aleksandar Andrejevic [Sat, 23 May 2015 20:26:32 +0000 (20:26 +0000)]
[FAST486]
- Fix the FPU constants.
- Fix rounding.
- Fix FSCALE.

svn path=/trunk/; revision=67873

5 years ago[INETCPL][USRMGR] Update CPL Descriptions. By Jared Smudde. CORE-9713
Amine Khaldi [Sat, 23 May 2015 16:05:40 +0000 (16:05 +0000)]
[INETCPL][USRMGR] Update CPL Descriptions. By Jared Smudde. CORE-9713

svn path=/trunk/; revision=67872

5 years ago[BOOTDATA] Add Mozilla's NSS CA roots to the ReactOS registry and give the certs...
Amine Khaldi [Sat, 23 May 2015 15:56:26 +0000 (15:56 +0000)]
[BOOTDATA] Add Mozilla's NSS CA roots to the ReactOS registry and give the certs their own file. By Ismael Ferreras Morezuelas aka swyter. CORE-9065

svn path=/trunk/; revision=67871

5 years ago[WINED3DCFG] Add MB to the Video Memory Size options and finish capitalizing the...
Amine Khaldi [Sat, 23 May 2015 15:50:30 +0000 (15:50 +0000)]
[WINED3DCFG] Add MB to the Video Memory Size options and finish capitalizing the labels as most of the labels are already capitalized. By Jared Smudde. CORE-9726

svn path=/trunk/; revision=67870

5 years ago[PSDK] Update wincrypt.h and schannel.h with the latest Win32 defines of modern crypt...
Amine Khaldi [Sat, 23 May 2015 15:46:13 +0000 (15:46 +0000)]
[PSDK] Update wincrypt.h and schannel.h with the latest Win32 defines of modern crypto. By Ismael Ferreras Morezuelas aka swyter. CORE-9065

svn path=/trunk/; revision=67869

5 years ago[WINED3D] - Update german language
Daniel Reimer [Sat, 23 May 2015 15:31:23 +0000 (15:31 +0000)]
[WINED3D] - Update german language

svn path=/trunk/; revision=67868

5 years ago[NTOBJSHEX] Add Italian translation by Carlo Bramini. CORE-9725
Amine Khaldi [Sat, 23 May 2015 15:23:25 +0000 (15:23 +0000)]
[NTOBJSHEX] Add Italian translation by Carlo Bramini. CORE-9725

svn path=/trunk/; revision=67867

5 years ago[WINED3DCFG] Change the name to "WineD3D Options" as the Community decided. Patch...
Amine Khaldi [Sat, 23 May 2015 15:18:17 +0000 (15:18 +0000)]
[WINED3DCFG] Change the name to "WineD3D Options" as the Community decided. Patch by Jared Smudde. CORE-9724

svn path=/trunk/; revision=67866

5 years ago[C++]
Daniel Reimer [Sat, 23 May 2015 13:59:28 +0000 (13:59 +0000)]
[C++]
Add arm version of r64555. ROSAPPS builds now completely @ ARM arch.

svn path=/trunk/; revision=67865

5 years ago[CMAKE] Do not treat C4189 as an error in Release builds.
Amine Khaldi [Sat, 23 May 2015 12:24:57 +0000 (12:24 +0000)]
[CMAKE] Do not treat C4189 as an error in Release builds.

svn path=/trunk/; revision=67864

5 years ago[CMAKE] Update rsym location.
Amine Khaldi [Sat, 23 May 2015 12:10:20 +0000 (12:10 +0000)]
[CMAKE] Update rsym location.

svn path=/trunk/; revision=67863

5 years ago[CMAKE] Default to Debug for the build type in GCC builds.
Amine Khaldi [Sat, 23 May 2015 11:45:59 +0000 (11:45 +0000)]
[CMAKE] Default to Debug for the build type in GCC builds.

svn path=/trunk/; revision=67862

5 years ago[CMAKE] Fix and improve the Release build type of the MSVC builds.
Amine Khaldi [Sat, 23 May 2015 10:34:25 +0000 (10:34 +0000)]
[CMAKE] Fix and improve the Release build type of the MSVC builds.

svn path=/trunk/; revision=67861

5 years ago[CMAKE] Don't set initial flags for Release build type, let us handle them ourselves.
Amine Khaldi [Sat, 23 May 2015 10:32:43 +0000 (10:32 +0000)]
[CMAKE] Don't set initial flags for Release build type, let us handle them ourselves.

svn path=/trunk/; revision=67860

5 years ago[CMAKE] Fix setting CMake build type so we can use other types too (like Release).
Amine Khaldi [Sat, 23 May 2015 10:31:52 +0000 (10:31 +0000)]
[CMAKE] Fix setting CMake build type so we can use other types too (like Release).

svn path=/trunk/; revision=67859

5 years ago[MSPORTS] Add Italian translation by Carlo Bramini. CORE-9725
Amine Khaldi [Sat, 23 May 2015 10:29:54 +0000 (10:29 +0000)]
[MSPORTS] Add Italian translation by Carlo Bramini. CORE-9725

svn path=/trunk/; revision=67858

5 years ago- Kill debug spam.
James Tabor [Sat, 23 May 2015 07:19:50 +0000 (07:19 +0000)]
- Kill debug spam.

svn path=/trunk/; revision=67857

5 years ago[NtUser]
James Tabor [Sat, 23 May 2015 04:43:32 +0000 (04:43 +0000)]
[NtUser]
- Since this is hiding the cursor, no window, just return. See CORE-9723.

svn path=/trunk/; revision=67856

5 years ago[FAST486]
Aleksandar Andrejevic [Sat, 23 May 2015 02:50:11 +0000 (02:50 +0000)]
[FAST486]
Use a better algorithm for the base 2 logarithm.
Put the shared code for FPREM and FPREM1 in an inline function used by both.

svn path=/trunk/; revision=67855

5 years ago[NTVDM]: Temporarily disable yielding (see r67851) because it causes timing issues...
Hermès Bélusca-Maïto [Sat, 23 May 2015 02:08:50 +0000 (02:08 +0000)]
[NTVDM]: Temporarily disable yielding (see r67851) because it causes timing issues (slowdowns).

svn path=/trunk/; revision=67854

5 years ago[FAST486]
Aleksandar Andrejevic [Fri, 22 May 2015 23:09:13 +0000 (23:09 +0000)]
[FAST486]
Fix FIST(P) and FRNDINT.

svn path=/trunk/; revision=67853

5 years ago[FAST486]
Aleksandar Andrejevic [Fri, 22 May 2015 21:57:28 +0000 (21:57 +0000)]
[FAST486]
Fix multiple FP80-to-int conversion issues.

svn path=/trunk/; revision=67852

5 years ago[NTVDM]: at the end of a cpu slice, yield execution to other threads in the system.
Hermès Bélusca-Maïto [Fri, 22 May 2015 21:21:43 +0000 (21:21 +0000)]
[NTVDM]: at the end of a cpu slice, yield execution to other threads in the system.

svn path=/trunk/; revision=67851

5 years ago[ADVAPI32]
Thomas Faber [Fri, 22 May 2015 16:19:23 +0000 (16:19 +0000)]
[ADVAPI32]
- Do not fail in RegQueryInfoKeyW if NtQuerySecurityObject fails, as shown by the test
CORE-9719

svn path=/trunk/; revision=67850

5 years ago[ADVAPI32_APITEST]
Thomas Faber [Fri, 22 May 2015 16:06:58 +0000 (16:06 +0000)]
[ADVAPI32_APITEST]
- Fix test failures on Win 2003: unlike on Win7, write rights don't imply read
CORE-9719

svn path=/trunk/; revision=67849

5 years ago[ADVAPI32_APITEST]
Thomas Faber [Fri, 22 May 2015 15:47:02 +0000 (15:47 +0000)]
[ADVAPI32_APITEST]
- Add a test for calling RegQueryInfoKey with different access rights
CORE-9719

svn path=/trunk/; revision=67848

5 years ago[FAST486]
Aleksandar Andrejevic [Fri, 22 May 2015 04:51:20 +0000 (04:51 +0000)]
[FAST486]
Fix Fast486FpuToInteger.

svn path=/trunk/; revision=67846

5 years ago[FAST486]
Aleksandar Andrejevic [Fri, 22 May 2015 03:59:24 +0000 (03:59 +0000)]
[FAST486]
Implement FPREM and FPREM1.

svn path=/trunk/; revision=67845

5 years ago[FAST486]
Aleksandar Andrejevic [Fri, 22 May 2015 03:40:44 +0000 (03:40 +0000)]
[FAST486]
Fix comparing NaNs in Fast486FpuCompare.

svn path=/trunk/; revision=67844

5 years ago[ADVAPI32]
Thomas Faber [Thu, 21 May 2015 22:16:39 +0000 (22:16 +0000)]
[ADVAPI32]
- Add a debug print in unusual failure case of RegQueryInfoKeyW
CORE-9719

svn path=/trunk/; revision=67843

5 years ago[SYSDM]
Eric Kohl [Thu, 21 May 2015 21:47:57 +0000 (21:47 +0000)]
[SYSDM]
Implement hardware profile deltion.

svn path=/trunk/; revision=67842

5 years ago[FAST486]
Aleksandar Andrejevic [Thu, 21 May 2015 17:27:47 +0000 (17:27 +0000)]
[FAST486]
Due to some kind of mixup, I thought the series for log(x) was actually for log10(x).
Fix Fast486FpuCalculateLogBase2 by dividing the result with log(2) and not log10(2).

svn path=/trunk/; revision=67841

5 years ago[FAST486]
Aleksandar Andrejevic [Thu, 21 May 2015 00:51:21 +0000 (00:51 +0000)]
[FAST486]
No underflows will occur in Fast486FpuAdd when the signs are different, since
the exponent won't be reduced.

svn path=/trunk/; revision=67840

5 years ago[FAST486]
Aleksandar Andrejevic [Thu, 21 May 2015 00:44:49 +0000 (00:44 +0000)]
[FAST486]
Fix the broken math in r67838.

svn path=/trunk/; revision=67839

5 years ago[FAST486]
Aleksandar Andrejevic [Wed, 20 May 2015 23:16:36 +0000 (23:16 +0000)]
[FAST486]
Fix a copy-paste bug. Adjust the number when subtracting in Fast486FpuAdd. Don't overflow
the mantissa in Fast486FpuToSingle/Fast486FpuToDouble without correcting the exponent.

svn path=/trunk/; revision=67838

5 years ago[ntvdm]: use an "unsigned" abs for the comparison (that's what I want). fix msvc...
Hermès Bélusca-Maïto [Wed, 20 May 2015 22:05:58 +0000 (22:05 +0000)]
[ntvdm]: use an "unsigned" abs for the comparison (that's what I want). fix msvc warning.

svn path=/trunk/; revision=67837

5 years ago[IEFRAME]
Christoph von Wittich [Wed, 20 May 2015 18:43:08 +0000 (18:43 +0000)]
[IEFRAME]
convert german translation to UTF-8

svn path=/trunk/; revision=67836

5 years ago[FAST486]
Aleksandar Andrejevic [Wed, 20 May 2015 17:23:55 +0000 (17:23 +0000)]
[FAST486]
Properly implement FRNDINT.

svn path=/trunk/; revision=67835

5 years ago[WIN32SS]
Christoph von Wittich [Wed, 20 May 2015 06:51:57 +0000 (06:51 +0000)]
[WIN32SS]
spelling fix

svn path=/trunk/; revision=67834

5 years ago[MAZESCR]
Daniel Reimer [Wed, 20 May 2015 01:57:07 +0000 (01:57 +0000)]
[MAZESCR]
INI files for setting parameters? Lets get to the past Win 3.11 standards and make a configure dialog for that which reads and writes the stuff to the registry.

svn path=/trunk/; revision=67833

5 years ago[FAST486]
Aleksandar Andrejevic [Wed, 20 May 2015 01:04:21 +0000 (01:04 +0000)]
[FAST486]
Fix Fast486FpuFromDoubleReal.

svn path=/trunk/; revision=67832

5 years ago[STOBJECT]
David Quintana [Tue, 19 May 2015 20:31:31 +0000 (20:31 +0000)]
[STOBJECT]
Followup to r67830: When no one handles a message, properly return that it was not handled.
This way all messages are handled correctly and not just NCCREATE.
Also took the chance to short-cut NCDESTROY, since the icon handlers have no need to receive this message.
CORE-9592 #resolve

svn path=/trunk/; revision=67831

5 years ago[stobject]
Christoph von Wittich [Tue, 19 May 2015 19:58:11 +0000 (19:58 +0000)]
[stobject]
do not handle WM_NCCREATE in ProcessWindowMessage
otherwise it get passed to ProcessIconMessage which will flag it as handled in case g_NumIcons is 0
which then will result in ATL not calling DefWndProc anymore
CORE-9592

svn path=/trunk/; revision=67830

5 years ago[SHELL32] Fix a typo. Spotted by IRC nick premoboss. CORE-9704
Amine Khaldi [Tue, 19 May 2015 19:38:06 +0000 (19:38 +0000)]
[SHELL32] Fix a typo. Spotted by IRC nick premoboss. CORE-9704

svn path=/trunk/; revision=67829

5 years ago[FAST486]
Aleksandar Andrejevic [Tue, 19 May 2015 16:57:46 +0000 (16:57 +0000)]
[FAST486]
Fix Fast486FpuArithmeticOperation. It doesn't really matter for the operation
itself which operand is the source/destination, because the FPU actually
always performs the operation on ST0 and something else. So, FDIV/FDIVR were
never really reversed here, it's just that FDIV always divides ST0 by something
and FDIVR always divides something by ST0.

svn path=/trunk/; revision=67828

5 years ago[FAST486]
Aleksandar Andrejevic [Tue, 19 May 2015 02:37:17 +0000 (02:37 +0000)]
[FAST486]
Fix UnsignedDivMod128 (again).
Fix Fast486FpuAdd to handle numbers whose difference of exponents is greater than
the number of bits in the mantissa.

svn path=/trunk/; revision=67827

5 years ago[FAST486]
Aleksandar Andrejevic [Mon, 18 May 2015 23:33:25 +0000 (23:33 +0000)]
[FAST486]
Add checks for special numbers in Fast486FpuAdd.
Don't use pointers to out-of-scope variables.

svn path=/trunk/; revision=67826

5 years ago[SYSDM]
Eric Kohl [Mon, 18 May 2015 20:29:14 +0000 (20:29 +0000)]
[SYSDM]
The maximum length of hardware profiles names is 79 characters. Use a matching string length and set the length of the edit control accordingly.

svn path=/trunk/; revision=67825

5 years ago[FASTFAT]
Pierre Schweitzer [Mon, 18 May 2015 19:51:14 +0000 (19:51 +0000)]
[FASTFAT]
Implement support for FastIO for:
- FastIoQueryBasicInfo
- FastIoQueryStandardInfo

Now, with this commit and the two previous, ReactOS won't attempt to issue an IRP for these query, but will directly go with the FastIO path.
The performance improvement is really visible in 1st stage (at least, here with VBox).

svn path=/trunk/; revision=67824

5 years ago[NTOSKRNL]
Pierre Schweitzer [Mon, 18 May 2015 19:49:15 +0000 (19:49 +0000)]
[NTOSKRNL]
Addendum to r67822: Add IoSetIoCompletion() to header

svn path=/trunk/; revision=67823

5 years ago[NTOSKRNL]
Pierre Schweitzer [Mon, 18 May 2015 19:47:11 +0000 (19:47 +0000)]
[NTOSKRNL]
Implement FastIO support for:
- NtFsControlFile()
- NtLockFile()
- NtUnlockFile()
- NtQueryInformationFile()

svn path=/trunk/; revision=67822

5 years ago[FAST486]
Aleksandar Andrejevic [Mon, 18 May 2015 15:27:08 +0000 (15:27 +0000)]
[FAST486]
Implement FYL2X and FYL2XP1.

svn path=/trunk/; revision=67821

5 years ago[FAST486]
Aleksandar Andrejevic [Mon, 18 May 2015 12:17:40 +0000 (12:17 +0000)]
[FAST486]
Fix several division related problems:
- In UnsignedDivMod128, fix the leading zero calculation for 128-bit numbers.
- In Fast486FpuDivide, there's no need to increase the exponent by 64 (adding zeros
at the end of a number after the decimal point changes nothing).
- FDIV/FDIVR were reversed

svn path=/trunk/; revision=67820

5 years ago[FAST486]
Aleksandar Andrejevic [Mon, 18 May 2015 04:42:22 +0000 (04:42 +0000)]
[FAST486]
- Zero is not a denormalized number.
- In Fast486FpuMultiply, we must account for the fact that the resulting mantissa
also has the "decimal point" at the second position.

svn path=/trunk/; revision=67819

5 years ago[FAST486]
Aleksandar Andrejevic [Sun, 17 May 2015 21:52:12 +0000 (21:52 +0000)]
[FAST486]
- Don't forget to check whether the FPU stack element exists before using it.
- Implement FSCALE.

svn path=/trunk/; revision=67818

5 years ago[FAST486]
Aleksandar Andrejevic [Sun, 17 May 2015 19:48:57 +0000 (19:48 +0000)]
[FAST486]
Fix F2XM1.
Implement FSIN, FCOS and FSINCOS.

svn path=/trunk/; revision=67817

5 years ago[WIN32K]
Timo Kreuzer [Sun, 17 May 2015 16:26:23 +0000 (16:26 +0000)]
[WIN32K]
Add debug prints to NtGdiPathToRegion

svn path=/trunk/; revision=67815

5 years ago[FAST486]
Aleksandar Andrejevic [Sun, 17 May 2015 16:21:29 +0000 (16:21 +0000)]
[FAST486]
Implement F2XM1 using a Maclaurin series.

svn path=/trunk/; revision=67814

5 years ago[SYSDM]
Eric Kohl [Sun, 17 May 2015 16:11:15 +0000 (16:11 +0000)]
[SYSDM]
Implement renaming and copying of hardware profiles.
Modifications are not yet stored in the registry. WIP

svn path=/trunk/; revision=67813

5 years ago[SHLWAPI] Properly stub SHGetPrivateProfileSection. CORE-9708
Amine Khaldi [Sun, 17 May 2015 14:53:38 +0000 (14:53 +0000)]
[SHLWAPI] Properly stub SHGetPrivateProfileSection. CORE-9708

svn path=/trunk/; revision=67812

5 years ago[WIN32K]
Timo Kreuzer [Sun, 17 May 2015 14:34:49 +0000 (14:34 +0000)]
[WIN32K]
Add debugprints to some region and path functions.

svn path=/trunk/; revision=67811

5 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 17 May 2015 13:46:12 +0000 (13:46 +0000)]
[NTOSKRNL]
Implement MiGetFileObjectForSectionAddress and use it in MmGetFileNameForAddress and NtAreMappedFilesTheSame. Don't call MmLocateMemoryAreaByAddress from these functions anymore.

svn path=/trunk/; revision=67810

5 years ago[GDIPLUS]
Timo Kreuzer [Sun, 17 May 2015 13:44:34 +0000 (13:44 +0000)]
[GDIPLUS]
Add even more debugprints

svn path=/trunk/; revision=67809

5 years ago[FASTFAT]
Pierre Schweitzer [Sun, 17 May 2015 12:22:28 +0000 (12:22 +0000)]
[FASTFAT]
Fix a fixme in VfatGetUserBuffer():
Only request high priority page when in the paging path. Otherwise, request normal priority

svn path=/trunk/; revision=67808

5 years ago[GDIPLUS]
Timo Kreuzer [Sun, 17 May 2015 11:49:04 +0000 (11:49 +0000)]
[GDIPLUS]
Add some debug output to try to track winetest failures.

svn path=/trunk/; revision=67807

5 years ago[DINPUT_WINETEST]
Timo Kreuzer [Sun, 17 May 2015 10:55:03 +0000 (10:55 +0000)]
[DINPUT_WINETEST]
Skip randomly failing tests. See ROSTESTS-176 and CORE-9710

svn path=/trunk/; revision=67806

5 years ago[CONSOLE]
Pierre Schweitzer [Sun, 17 May 2015 10:20:58 +0000 (10:20 +0000)]
[CONSOLE]
Fix memory leaks

svn path=/trunk/; revision=67805

5 years ago[SETUPAPI]
Pierre Schweitzer [Sun, 17 May 2015 10:09:50 +0000 (10:09 +0000)]
[SETUPAPI]
Fix a memory leak

svn path=/trunk/; revision=67804

5 years ago[WS2_32]
Pierre Schweitzer [Sun, 17 May 2015 10:07:00 +0000 (10:07 +0000)]
[WS2_32]
RtlFreeHeap -> FreeHeap

svn path=/trunk/; revision=67803

5 years ago[INFLIB]
Pierre Schweitzer [Sun, 17 May 2015 09:41:54 +0000 (09:41 +0000)]
[INFLIB]
Don't free memory twice on failure

svn path=/trunk/; revision=67802

5 years ago[CREATE_NLS]
Pierre Schweitzer [Sun, 17 May 2015 09:38:32 +0000 (09:38 +0000)]
[CREATE_NLS]
Initialize line count before incrementing it

svn path=/trunk/; revision=67801

5 years ago- Fix local build.
James Tabor [Sun, 17 May 2015 08:37:00 +0000 (08:37 +0000)]
- Fix local build.

svn path=/trunk/; revision=67800

5 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 17 May 2015 00:35:56 +0000 (00:35 +0000)]
[NTOSKRNL]
Kill all the code to remove memory areas from the old tree as well.

svn path=/trunk/; revision=67799

5 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 17 May 2015 00:35:47 +0000 (00:35 +0000)]
[NTOSKRNL]
Don't check if a AMR3 owned memory area can be inserted, since we already know it's ok. Delete the related memory area code.

svn path=/trunk/; revision=67798

5 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 17 May 2015 00:35:37 +0000 (00:35 +0000)]
[NTOSKRNL]
Add a tiny hack to MiFindEmptyAddressRangeInTree and MiFindEmptyAddressRangeDownTree to support VADs in the kernel VA range. Make MmFindGap use those functions to look for free space.

svn path=/trunk/; revision=67797

5 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 17 May 2015 00:35:23 +0000 (00:35 +0000)]
[NTOSKRNL]
Get rid of MiRosTakeOverSharedUserPage. We don't need it anymore, since the user page is manually handled in the page fault handler and since it's outside the VAD region, we don't need to block that range. Now there should be no memory areas left at all in MmDeleteProcessAddressSpace.

svn path=/trunk/; revision=67796

5 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 17 May 2015 00:35:09 +0000 (00:35 +0000)]
[NTOSKRNL]
Modify MmLocateMemoryAreaByAddress as well to use the VAD table. Since the page fault handler uses it to find ARM3-Fault pages and the shared user page does have a memory area, but not a VAD, add a check for the shared user page in the old fault handler.

svn path=/trunk/; revision=67795

5 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 17 May 2015 00:34:59 +0000 (00:34 +0000)]
[NTOSKRNL]
Implement MiRosCleanupMemoryArea to cleanup memory areas from MmCleanProcessAddressSpace, since later when we remove the old-style memory area links, we will not be able to retrieve those.

svn path=/trunk/; revision=67794

5 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 17 May 2015 00:34:45 +0000 (00:34 +0000)]
[NTOSKRNL]
Use the VAD tree to search for MEMORY_AREAS, except when inserting an ARM3 based MA. In this case we still need to use the old tables, since the related VAD is already inserted into the VAD tree.

svn path=/trunk/; revision=67793

5 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 16 May 2015 23:36:42 +0000 (23:36 +0000)]
[NTOSKRNL]
Insert kernel memory areas into a "kernel VAD table".

svn path=/trunk/; revision=67792

5 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 16 May 2015 21:30:52 +0000 (21:30 +0000)]
[NTOSKRNL]
- Allocate Memory area before trying to insert it in different pathes of MmCreateMemoryArea. This change is a preparation for upcoming changes.
- Cleanup MmInsertMemoryArea from useless stuff

svn path=/trunk/; revision=67791

5 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 16 May 2015 21:30:28 +0000 (21:30 +0000)]
[NTOSKRNL]
Use 1 as base address parameter to MmCreateMemoryArea, when 0 is the actual base and remove FixedAddress parameter in MmCreateMemoryArea

svn path=/trunk/; revision=67790

5 years ago[NTOSKRNL]
Pierre Schweitzer [Sat, 16 May 2015 21:13:22 +0000 (21:13 +0000)]
[NTOSKRNL]
Formatting. No code change!

svn path=/trunk/; revision=67789

5 years ago[MAZE*]
Daniel Reimer [Sat, 16 May 2015 21:00:03 +0000 (21:00 +0000)]
[MAZE*]
Loading from ini file works flawless, even on ROS, so... ENABLE it.

svn path=/trunk/; revision=67788

5 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 16 May 2015 20:10:41 +0000 (20:10 +0000)]
[NTOSKRNL]
Add an MMVAD to the MEMORY_AREA structure, instead of allocating a new one to synchronize with the process VAD tree

svn path=/trunk/; revision=67787

5 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 16 May 2015 20:10:26 +0000 (20:10 +0000)]
[NTOSKRNL]
Convert MEMORY_AREA::EndingAddress to EndingVpn

svn path=/trunk/; revision=67786

5 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 16 May 2015 20:10:03 +0000 (20:10 +0000)]
[NTOSKRNL]
Convert MEMORY_AREA::StartingAddress to StaringVpn

svn path=/trunk/; revision=67785

5 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 16 May 2015 20:09:40 +0000 (20:09 +0000)]
[NTOSKRNL]
Convert StartingAddress and EndingAddress members in MEMORY_AREA to ULONG_PTR. Remove unused MmFindGapAtAddress.

svn path=/trunk/; revision=67784

5 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 16 May 2015 20:06:28 +0000 (20:06 +0000)]
[NTVDM]
Drivers that have no I/O status routine should be treated as "ready".

svn path=/trunk/; revision=67783