reactos.git
12 years ago[EXPLORER-NEW]
Pierre Schweitzer [Sun, 2 Oct 2011 11:38:22 +0000 (11:38 +0000)]
[EXPLORER-NEW]
Fix memory leak

svn path=/trunk/; revision=53921

12 years ago[ROSAPPS/SCREENSAVERS]
Amine Khaldi [Sat, 1 Oct 2011 21:28:47 +0000 (21:28 +0000)]
[ROSAPPS/SCREENSAVERS]
* Add a new Starfield screensaver. By Carlo Bramini (carlo DOT bramix AT libero DOT it).
* Adapted the build system files to get it to compile with current trunk.
See issue #6270 for more details.

svn path=/trunk/; revision=53920

12 years ago[ADVAPI32]
Amine Khaldi [Sat, 1 Oct 2011 21:02:14 +0000 (21:02 +0000)]
[ADVAPI32]
* Sync CryptEnumProvidersW. Fixes some HKEY leaks.
See issue #6237 for more details.

svn path=/trunk/; revision=53919

12 years ago[HEADERS/CRT]
Amine Khaldi [Sat, 1 Oct 2011 20:23:05 +0000 (20:23 +0000)]
[HEADERS/CRT]
* We don't need this guard anymore.

svn path=/trunk/; revision=53918

12 years ago[HEADERS/CRT]
Amine Khaldi [Sat, 1 Oct 2011 20:14:15 +0000 (20:14 +0000)]
[HEADERS/CRT]
* Properly check for clang.

svn path=/trunk/; revision=53917

12 years ago[NTOSKRNL]
Cameron Gutman [Sat, 1 Oct 2011 17:54:42 +0000 (17:54 +0000)]
[NTOSKRNL]
- Print a message if something goes wrong during the loading process

svn path=/trunk/; revision=53916

12 years ago[FREELDR]
Timo Kreuzer [Sat, 1 Oct 2011 12:50:33 +0000 (12:50 +0000)]
[FREELDR]
Replace the fake export table with the real export table of freeldr, when loading ntbootdd.sys

svn path=/trunk/; revision=53915

12 years ago[FREELDR]
Timo Kreuzer [Sat, 1 Oct 2011 12:14:45 +0000 (12:14 +0000)]
[FREELDR]
use a dll instead of an exe for the freeldr_pe and setupldr_pe targets and add a spec file to export scsiport stuff. This is the first step in cleaning up the scsiport import hack in freeldr

svn path=/trunk/; revision=53914

12 years ago[ACPI]
Cameron Gutman [Sat, 1 Oct 2011 07:19:57 +0000 (07:19 +0000)]
[ACPI]
- Implement AcpiOsGetPhysicalAddress
- Make sure that AcpiOsGetThreadId returns a non-zero value

svn path=/trunk/; revision=53913

12 years ago[NTOSKRNL]
Cameron Gutman [Sat, 1 Oct 2011 04:56:14 +0000 (04:56 +0000)]
[NTOSKRNL]
- Add more debugging during driver loading (not enabled by default)

svn path=/trunk/; revision=53912

12 years ago[I8042PRT]
Cameron Gutman [Fri, 30 Sep 2011 23:01:45 +0000 (23:01 +0000)]
[I8042PRT]
- Enable all interrupts at the same time to avoid a condition where the controller stops responding to KBD_READ_MODE on some systems
- See bug #6271 for details

svn path=/trunk/; revision=53911

12 years ago[FREELDR]
Dmitry Gorbachev [Fri, 30 Sep 2011 22:15:08 +0000 (22:15 +0000)]
[FREELDR]
Fill .bss with 0s at startup. Bug #6523.

svn path=/trunk/; revision=53910

12 years ago[NTOS/MM]
Aleksey Bragin [Fri, 30 Sep 2011 21:45:25 +0000 (21:45 +0000)]
[NTOS/MM]
- Implement MiInitializePfnAndMakePteValid() which is basically MiInitializePfn() combined with making PTE valid and some other changes.
- Don't initialize PTE and pass valid PTE for initialization to MiInitializePfn() when allocating a page in special pool, this is wrong. Instead call a function designed to do this - MiInitializePfnAndMakePteValid(). It performs correct checks and PFN reference counting.

svn path=/trunk/; revision=53909

12 years ago[FREELDR]
Timo Kreuzer [Fri, 30 Sep 2011 21:13:49 +0000 (21:13 +0000)]
[FREELDR]
Remove DTEs for ntbootdd.sys and freeldr.sys after they are not used any longer. freeldr one will even point to invalid stack data. It only works currently, because the LoadOrderListHead is reset later. More fixes are coming.

svn path=/trunk/; revision=53908

12 years ago[NTOSKRNL]
Dmitry Gorbachev [Fri, 30 Sep 2011 21:03:29 +0000 (21:03 +0000)]
[NTOSKRNL]
Use inline asm in KiIsNpxErrataPresent(). C code can be optimized in a wrong way.

svn path=/trunk/; revision=53907

12 years ago[SYSSETUP]
Eric Kohl [Fri, 30 Sep 2011 17:29:39 +0000 (17:29 +0000)]
[SYSSETUP]
Update the spec file to Windows XP SP2.

svn path=/trunk/; revision=53906

12 years ago[user32_apitest]
Giannis Adamopoulos [Fri, 30 Sep 2011 15:37:13 +0000 (15:37 +0000)]
[user32_apitest]
- properly cleanup when tests are completed
- Add some more tests for SetActiveWindow that prove that bringing owner/owned windows to front is done by SetActiveWindow and not by SetWindowPos

svn path=/trunk/; revision=53905

12 years ago[SHELL32]
Claudiu Mihail [Fri, 30 Sep 2011 09:44:51 +0000 (09:44 +0000)]
[SHELL32]
- Fix build.

svn path=/trunk/; revision=53904

12 years ago[SHELL32]
Claudiu Mihail [Fri, 30 Sep 2011 09:38:43 +0000 (09:38 +0000)]
[SHELL32]
- Implement SHPropStgCreate, SHPropStgReadMultiple, SHPropStgWriteMultiple based on wine
- This should fix the shellole tests

svn path=/trunk/; revision=53903

12 years ago[NTOSKRNL]
Timo Kreuzer [Fri, 30 Sep 2011 09:30:52 +0000 (09:30 +0000)]
[NTOSKRNL]
- implement helper functions MiIsMemoryTypeFree and MiIsMemoryTypeInvisible
- use symbolic names instead of hex values
- Don't ASSERT on mising large page support, just warn
- add some more mm macros for amd64

svn path=/trunk/; revision=53902

12 years ago[NTOSKRNL]
Timo Kreuzer [Fri, 30 Sep 2011 07:39:48 +0000 (07:39 +0000)]
[NTOSKRNL]
- Remove 2 amd64 hacks, remove unused variables, silence some DPRINTs

svn path=/trunk/; revision=53901

12 years ago[NDK]
Timo Kreuzer [Fri, 30 Sep 2011 07:18:20 +0000 (07:18 +0000)]
[NDK]
Fix 64 bit issues of SYSTEM_VERIFIER_INFORMATION and SYSTEM_POOLTAG. Reported by dmex.

svn path=/trunk/; revision=53900

12 years ago[ACPI]
Cameron Gutman [Fri, 30 Sep 2011 04:12:31 +0000 (04:12 +0000)]
[ACPI]
- Report the device's lockable status in the device capabilities request
- Only report the device as disabled if it is both not enabled and not functional

svn path=/trunk/; revision=53899

12 years ago[ACPI]
Cameron Gutman [Fri, 30 Sep 2011 01:17:33 +0000 (01:17 +0000)]
[ACPI]
- Remove a couple of debugging changes that were never meant to see the light of day ;)

svn path=/trunk/; revision=53898

12 years ago[SETUPAPI/FORMATTING]
Thomas Faber [Thu, 29 Sep 2011 22:30:48 +0000 (22:30 +0000)]
[SETUPAPI/FORMATTING]
- Try to fix some indentation nightmares. No code changes

svn path=/trunk/; revision=53897

12 years ago[FREELDR]
Timo Kreuzer [Thu, 29 Sep 2011 21:12:40 +0000 (21:12 +0000)]
[FREELDR]
- Move some disk related stuff that is unrelated to the registry data into a new file, hwdisk.c
- Don't get the disk count from the size value of a structure that was previously calculated from the disk count, but instead save it in a global variable.
- Initialize certain data in a better place

svn path=/trunk/; revision=53896

12 years ago[ACPI]
Cameron Gutman [Thu, 29 Sep 2011 20:57:14 +0000 (20:57 +0000)]
[ACPI]
- Update ACPICA from 20091214 to 20110922
- Rewrite a large portion of the OSL code
- Perform a full initialization of ACPI objects (don't skip devices and events)
- Please retest ACPI bugs after this commit

svn path=/trunk/; revision=53895

12 years ago[ACPI]
Cameron Gutman [Thu, 29 Sep 2011 18:49:10 +0000 (18:49 +0000)]
[ACPI]
- Silence debug spam
- Add comment about the width parameter (bits not bytes)

svn path=/trunk/; revision=53894

12 years ago[SHELL32]
Amine Khaldi [Thu, 29 Sep 2011 16:55:52 +0000 (16:55 +0000)]
[SHELL32]
* Properly stub SHPropStgCreate, SHPropStgReadMultiple and SHPropStgWriteMultiple. By Claudiu Mihail.
* Shell32 shellole winetest doesn't crash anymore.

svn path=/trunk/; revision=53893

12 years ago[ACPI]
Cameron Gutman [Thu, 29 Sep 2011 16:03:49 +0000 (16:03 +0000)]
[ACPI]
- Add a hack to skip calling methods of the HPET object because it causes a hardlock on VMWare
- Attempt #2 at fixing VMware

svn path=/trunk/; revision=53892

12 years ago[FREELDR]
Dmitry Gorbachev [Thu, 29 Sep 2011 13:20:24 +0000 (13:20 +0000)]
[FREELDR]
- Silence an error about unsupported PnP BIOS function.
- Do not share edge-triggered interrupts (not implemented). Bug #6508.

svn path=/trunk/; revision=53891

12 years agofix some relocations
Giannis Adamopoulos [Thu, 29 Sep 2011 12:04:13 +0000 (12:04 +0000)]
fix some relocations

svn path=/trunk/; revision=53890

12 years ago[kernel32]
Giannis Adamopoulos [Thu, 29 Sep 2011 10:07:15 +0000 (10:07 +0000)]
[kernel32]
- Do not force the hard error dialog to appear. As a result, calling SetErrorMode now really prevents the hard error dialog from appearing.

svn path=/trunk/; revision=53889

12 years ago[NTOSKRNL]
Thomas Faber [Thu, 29 Sep 2011 06:48:19 +0000 (06:48 +0000)]
[NTOSKRNL]
- Fix handling of hard error string parameters from kernel mode
- Some simplification

svn path=/trunk/; revision=53888

12 years ago[CRT]
Timo Kreuzer [Wed, 28 Sep 2011 21:32:37 +0000 (21:32 +0000)]
[CRT]
implement floor and floorf for amd64 with sse2 instructions

svn path=/trunk/; revision=53887

12 years ago[SERVICES]
Thomas Faber [Wed, 28 Sep 2011 18:43:35 +0000 (18:43 +0000)]
[SERVICES]
- Minor fixes to ScmAssignNewTag
- Correctly handle an invalid parameter case in RCreateServiceW. Fixes second stage boot under certain circumstances.

svn path=/trunk/; revision=53886

12 years ago[FREELDR]
Timo Kreuzer [Wed, 28 Sep 2011 18:33:25 +0000 (18:33 +0000)]
[FREELDR]
- Remove pointless NTKRNLAPI
- remove unneeded include
- delete deprecated file amd64/loader.c
- add an #ifef __REACTOS__ around public header includes to make it possible to use an alternative header set from ntsup.h

svn path=/trunk/; revision=53885

12 years ago[ACPI]
Cameron Gutman [Wed, 28 Sep 2011 14:16:07 +0000 (14:16 +0000)]
[ACPI]
- Check for PCI device presence before doing the actual HAL operation
- Attempt #1 at fixing ACPI on VMware

svn path=/trunk/; revision=53884

12 years ago[user32]
Giannis Adamopoulos [Wed, 28 Sep 2011 12:40:43 +0000 (12:40 +0000)]
[user32]
- Fix a couple of misleading tests

svn path=/trunk/; revision=53883

12 years ago[CMAKE]
Amine Khaldi [Wed, 28 Sep 2011 11:13:53 +0000 (11:13 +0000)]
[CMAKE]
* Don't detect the ASM compiler ID, we set it instead.

svn path=/trunk/; revision=53882

12 years ago[FREELDR]
Timo Kreuzer [Wed, 28 Sep 2011 09:54:05 +0000 (09:54 +0000)]
[FREELDR]
Cleanup headers

svn path=/trunk/; revision=53881

12 years ago[ACPI]
Cameron Gutman [Wed, 28 Sep 2011 04:05:34 +0000 (04:05 +0000)]
[ACPI]
- The width parameter in AcpiOsReadPciConfiguration and AcpiOsWritePciConfiguration was in bits but we were treating it as a width in bytes
- This caused overreads, memory corruption, and crashes when these functions were called (VMWare was particularly picky about bad accesses to the PCI configuration space)
- A hack was (unknowingly) added which prevented some crashes but had a side-effect of causing the partial disruption of ACPI's PCI configuration space accesses while the others that went through wrote bad data to the PCI config space or corrupted kernel memory

svn path=/trunk/; revision=53880

12 years ago[FREELDR]
Timo Kreuzer [Tue, 27 Sep 2011 23:58:47 +0000 (23:58 +0000)]
[FREELDR]
Try to fix boot with rbuild

svn path=/trunk/; revision=53879

12 years ago[FREELDR]
Timo Kreuzer [Tue, 27 Sep 2011 22:43:52 +0000 (22:43 +0000)]
[FREELDR]
- Modify some memory types to match what windows uses
- Modify PcMemGetBiosMemoryMap, so that is crops free memory to page alignment, while extending non-free memory to page alignment. This way we don't loose small firmware descriptors like the one for the extended bios data area enumerated by the bios. Fixes a warning from win 2003 about not owned memory.
- Modify MempAddMemoryBlock to map LoaderFirmwarePermanent into kernel space like ntldr, but don't map page 0! ntldr doesn't do that either. Also map LoaderXIPRom.
- After generating memory descriptors from the page lookup table, add any descriptor from the bios memory table, that is higher than MmHigestPhysical address, so we don't loose high rom descriptors. Do not map beyond LoaderPagesSpanned.

svn path=/trunk/; revision=53878

12 years ago[CMAKE]
Amine Khaldi [Tue, 27 Sep 2011 21:21:59 +0000 (21:21 +0000)]
[CMAKE]
* Prefix with ccache only when compiling c/c++ objects.
* Show a note when ccache build is enabled.

svn path=/trunk/; revision=53877

12 years ago[FREELDR]
Timo Kreuzer [Tue, 27 Sep 2011 20:25:51 +0000 (20:25 +0000)]
[FREELDR]
- copy ebp into REGS structure on Int386
- Write pointer and size of extended bios data area in physical page 0 location 0x740 and pointers to vga rom fonts in location 0x700. This is required by windows 2003's videoprt. Now freeldr is more Windows 2003 ready then ever!

svn path=/trunk/; revision=53876

12 years ago[FREELDR]
Timo Kreuzer [Tue, 27 Sep 2011 19:29:52 +0000 (19:29 +0000)]
[FREELDR]
Add ebp to the bios register set.

svn path=/trunk/; revision=53875

12 years ago[SHELL32_WINETEST]
Thomas Faber [Tue, 27 Sep 2011 19:07:21 +0000 (19:07 +0000)]
[SHELL32_WINETEST]
- Fix MSVC build. This is a (partial) Winesync

svn path=/trunk/; revision=53874

12 years ago[APITESTS]
Eric Kohl [Tue, 27 Sep 2011 13:06:33 +0000 (13:06 +0000)]
[APITESTS]
Add service tag tests.

Patch by Thomas Faber.

svn path=/trunk/; revision=53873

12 years ago[SERVICES]
Eric Kohl [Tue, 27 Sep 2011 12:42:42 +0000 (12:42 +0000)]
[SERVICES]
Assign a new Tag to new or changed services.

Patch by Thomas Faber!
See issue #6147 for more details.

svn path=/trunk/; revision=53872

12 years ago[shell32]
Giannis Adamopoulos [Tue, 27 Sep 2011 11:58:19 +0000 (11:58 +0000)]
[shell32]
- Fix auto complete init method based on Wine. Autocomplete shell tests should no longer crash now.
- Brought to you by Claudiu Mihail.

svn path=/trunk/; revision=53871

12 years ago[NTOSKRNL]
Amine Khaldi [Mon, 26 Sep 2011 23:31:30 +0000 (23:31 +0000)]
[NTOSKRNL]
* Fix CMake build...

svn path=/trunk/; revision=53870

12 years ago[SHELL32]
Amine Khaldi [Mon, 26 Sep 2011 23:10:38 +0000 (23:10 +0000)]
[SHELL32]
* Implement CDefView::SetCurrentViewMode based on Wine, along with some other bugfixes. Shell32 shlview winetest doesn't crash anymore as a result.
* Brought to you by Claudiu Mihail.

svn path=/trunk/; revision=53869

12 years ago[NTOS]
Aleksey Bragin [Mon, 26 Sep 2011 21:57:40 +0000 (21:57 +0000)]
[NTOS]
- Introduce two MM_EMPTY_LIST definitions - one for PTE as a whole and one for MMPTE_LIST NextEntry field only and move them to the actual architecture specific headers.
- Implement special pool. This is a special (Capt. Obvious!) kernel pool which is used to catch overruns or underruns, freed memory access and perform additional validation for paged/nonpaged allocations access.

svn path=/trunk/; revision=53868

12 years ago[SHELL32]
Amine Khaldi [Mon, 26 Sep 2011 19:55:35 +0000 (19:55 +0000)]
[SHELL32]
* Implement more functions based on Wine. By Claudiu Mihail.

svn path=/trunk/; revision=53867

12 years ago[comctl32]
Giannis Adamopoulos [Mon, 26 Sep 2011 19:36:01 +0000 (19:36 +0000)]
[comctl32]
- Do not subclass user32 controls when themes are disabled.This is a temporary hack bacause it turns out that subclassing causes problems. When it is fixed this will be reverted. This change means that in order to make themes work properly, the user has to reboot after enabling.

svn path=/trunk/; revision=53866

12 years ago[INSTALLFREELDR]
Timo Kreuzer [Mon, 26 Sep 2011 19:04:02 +0000 (19:04 +0000)]
[INSTALLFREELDR]
Add to cmake build (built on demand)

svn path=/trunk/; revision=53865

12 years ago[FREELDR]
Timo Kreuzer [Mon, 26 Sep 2011 16:06:19 +0000 (16:06 +0000)]
[FREELDR]
- Fix memory type for hal and referenced dlls
- Don't allocate the LPB, MADs and all the other stuff from the heap, instead allocate one block of memory for the LPB, extension, etc and strings (fits into one page) and another page for the MADs limit to 200 MADs, 1024 is way over the top)
- Map only those pages into kernel mode, that the kernel will need, this way we don't need to unmap anything later.

svn path=/trunk/; revision=53864

12 years ago[SHELL32]
Amine Khaldi [Mon, 26 Sep 2011 15:43:19 +0000 (15:43 +0000)]
[SHELL32]
* Implemented CDefView::GetSpacing based on Wine. By Claudiu Mihail.

svn path=/trunk/; revision=53863

12 years ago[NTOSKRNL]
Dmitry Gorbachev [Mon, 26 Sep 2011 15:35:24 +0000 (15:35 +0000)]
[NTOSKRNL]
- Do not reference/dereference device node, but device object.
- Fix compiler warning.

svn path=/trunk/; revision=53862

12 years ago[HAL]
Timo Kreuzer [Mon, 26 Sep 2011 15:01:11 +0000 (15:01 +0000)]
[HAL]
- Fix a typo in HalpAllocPhysicalMemory, that caused the function to remove MADs that still had pages rather than removing those who are empty. Fixes an assertion on VMWare.
Kudos go to Kamil for tracking it down.
- Fix another bug in HalpAllocPhysicalMemory, where the size of the newly allocated MAD was set to the alignment value instead of the original MAD, this lead to conflicting MADs and possible reuse of hal memory by the kernel. This seems to fix a bugcheck 0x19 with halacpi.

svn path=/trunk/; revision=53861

12 years ago[DISKPART]
Eric Kohl [Mon, 26 Sep 2011 09:21:11 +0000 (09:21 +0000)]
[DISKPART]
Install diskpart.

svn path=/trunk/; revision=53860

12 years ago[NTOSKRNL]
Pierre Schweitzer [Mon, 26 Sep 2011 05:58:13 +0000 (05:58 +0000)]
[NTOSKRNL]
Fix FsRtlIs*InExpression() by (finally) implementing backtracking.
No regressions noticed regarding kmtest.
Also commented code.

svn path=/trunk/; revision=53859

12 years ago[KMTEST]
Pierre Schweitzer [Mon, 26 Sep 2011 05:51:39 +0000 (05:51 +0000)]
[KMTEST]
Add more tests for FsRtlIs*InExpression()
Those are currently failing on ReactOS

svn path=/trunk/; revision=53858

12 years ago[FREELDR]
Timo Kreuzer [Sun, 25 Sep 2011 19:19:50 +0000 (19:19 +0000)]
[FREELDR]
- Get rid of MmAllocateMemory, freeing about 1MB of low physical memory for the kernel
- verify that MmMarkPagesInLookupTable is not called with invalid page regions
- add maximum allocation to heap statistics

<long explanation>
There was a function called MmAllocateMemory, what was commented as "// Temporary forwarder..." since January 2008. This function allocated one page of memory and marked it as LoaderOsLoaderHeap. This function was used by the fat filesystem code (and linuxboot.c) which allocated and freed memory in small chunks all the time. Since MmFreeMemory() is not implemented at all (obviously someone removed it) we were allocating one full page for allocations as small as 8 bytes and never free them. This accumulated to a total of 240 pages, almost 1MB, split into into 14 chunks. This memory was never freed by the kernel (the kernel keeps the loader heap memory for some reason) and fragmented the low memory region.
Remove MmAllocateMemory completely and replace references in the fat code with MmHeapAlloc. The maximum heap usage after this was 184 KB, heap size is 4MB.
</long explanation>

svn path=/trunk/; revision=53857

12 years ago[ACTPRXY]
Amine Khaldi [Sun, 25 Sep 2011 16:28:58 +0000 (16:28 +0000)]
[ACTPRXY]
* Enclose midl-incompatible declarations as widl-only. Fixes actxprxy MSVC build.

svn path=/trunk/; revision=53856

12 years ago[user32_apitest]
Giannis Adamopoulos [Sun, 25 Sep 2011 16:05:09 +0000 (16:05 +0000)]
[user32_apitest]
- In TrackMouseEvent tests, use mouse_event function to move the mouse cause this causes low level hooks to be called and SetCursorPos doesn't
- Test low level mouse hooks for TrackMouseEvent
- Test ways to block WM_MOUSEHOVER and WM_MOUSELEAVE. This is useful to detect where each message is generated
- clean up the code a bit by adding FLUSH_MESSAGES macro that checks for expected message queue status and flushes the message queue

svn path=/trunk/; revision=53855

12 years ago[Explorer]
Dmitry Gorbachev [Sun, 25 Sep 2011 16:02:29 +0000 (16:02 +0000)]
[Explorer]
Link with libmingw32.

svn path=/trunk/; revision=53854

12 years ago[NTOSKRNL]
Dmitry Gorbachev [Sun, 25 Sep 2011 16:02:14 +0000 (16:02 +0000)]
[NTOSKRNL]
Disable mouse when reading from keyboard port.

svn path=/trunk/; revision=53853

12 years ago[PSDK]
Dmitry Gorbachev [Sun, 25 Sep 2011 16:01:44 +0000 (16:01 +0000)]
[PSDK]
Remove duplicate lines, noticed by sharpsighted forum people.

svn path=/trunk/; revision=53852

12 years ago[SYSDM] - Improve polish translation of virtual memory dialog
Rafal Harabien [Sun, 25 Sep 2011 12:15:01 +0000 (12:15 +0000)]
[SYSDM] - Improve polish translation of virtual memory dialog

svn path=/trunk/; revision=53851

12 years ago[SERVICES]
Eric Kohl [Sun, 25 Sep 2011 12:07:52 +0000 (12:07 +0000)]
[SERVICES]
- Silence debug messages.
- Fix typos.
- Add missing database locks.
- RControlService: Return ERROR_INVALID_PARAMETER on illegal control code.

svn path=/trunk/; revision=53850

12 years ago[SYSDM]
Rafal Harabien [Sun, 25 Sep 2011 11:29:45 +0000 (11:29 +0000)]
[SYSDM]
- Don't give UINT to printf if %I64u is used
- Minor improvements
See issue #6501 for more details.

svn path=/trunk/; revision=53849

12 years ago[FREELDR]
Rafal Harabien [Sun, 25 Sep 2011 11:07:27 +0000 (11:07 +0000)]
[FREELDR]
- Improve tracing
- Fix memory corruption caused by marking pages outside of page lookup table (when table is allocated only free pages was counted but MmMarkPagesInLookupTable was used for all types of memory like firmware). Fixes bugcheck in ACPI HAL which happened for me

svn path=/trunk/; revision=53848

12 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 25 Sep 2011 09:16:10 +0000 (09:16 +0000)]
[NTOSKRNL]
- also disable "MTRR support detected but not yet taken advantage of"

svn path=/trunk/; revision=53847

12 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 25 Sep 2011 09:12:26 +0000 (09:12 +0000)]
[NTOSKRNL]
- Undo disabling of systemcalls, which was disabled in r53646 for testing purpose.
- Sillence "Support for SYSENTER detected." debug print, since its the normal case, only keep the disabled and not present cases.
- Silence "xxx support detected but not yet taken advantage of" debug prints. CPU features are already reported and there is no point in printing every single feature we do not support.
- Invert if/else in KiRestoreFastSyscallReturnState

svn path=/trunk/; revision=53846

12 years ago- Commit forgotten file...
Rafal Harabien [Sat, 24 Sep 2011 20:01:04 +0000 (20:01 +0000)]
- Commit forgotten file...

svn path=/trunk/; revision=53845

12 years ago[MKHIVE] - Get all INF files from command line instead of using hardcoded names
Rafal Harabien [Sat, 24 Sep 2011 19:59:56 +0000 (19:59 +0000)]
[MKHIVE] - Get all INF files from command line instead of using hardcoded names
[CMAKE] - Use new mkhive syntax and fix livecd hives dependences
[RBUILD] - Use new mkhive syntax

svn path=/trunk/; revision=53844

12 years ago[BUGCODES]
Dmitry Gorbachev [Sat, 24 Sep 2011 18:13:57 +0000 (18:13 +0000)]
[BUGCODES]
Bug check code 0x5d is UNSUPPORTED_PROCESSOR.

[NTOSKRNL]
Use it.

svn path=/trunk/; revision=53843

12 years ago[BUGCODES]
Aleksey Bragin [Sat, 24 Sep 2011 17:33:54 +0000 (17:33 +0000)]
[BUGCODES]
- Add SPECIAL_POOL_DETECTED_MEMORY_CORRUPTION definition.

svn path=/trunk/; revision=53842

12 years ago[FREELDR]
Dmitry Gorbachev [Sat, 24 Sep 2011 17:25:29 +0000 (17:25 +0000)]
[FREELDR]
Add FREELDR_MEMORY_DESCRIPTOR structure using TYPE_OF_MEMORY instead of
MEMORY_TYPE. Use it in place of MEMORY_DESCRIPTOR. Undo r53837 changes.

svn path=/trunk/; revision=53841

12 years ago[FREELDR/SETUPLDR]
Amine Khaldi [Sat, 24 Sep 2011 16:08:37 +0000 (16:08 +0000)]
[FREELDR/SETUPLDR]
* Add _dbg versions of freeldr_pe and setupldr_pe per Dmitry's request. They retain debug info, and they're compiled on-demand (not included in the normal build).

svn path=/trunk/; revision=53840

12 years ago[SMSS]
Eric Kohl [Sat, 24 Sep 2011 15:12:52 +0000 (15:12 +0000)]
[SMSS]
Fix wrong behavior of the "native applications startup at boot time" feature in SMSS.

Modifications:
- Added missing buffer allocation checks.
- Check for presence of default path.
- Minor clean-ups.
- Fix bad indentation/coding style.

Original patch by Hermès BÉLUSCA.
See issue #6180 for more details.

svn path=/trunk/; revision=53839

12 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 24 Sep 2011 14:22:13 +0000 (14:22 +0000)]
[NTOSKRNL]
- Cleanup amd64 mm.h header
- Call MiScanMemoryDescriptors earlier, since it doesn't depend on anything except the loader block.
- MiComputeColorInformation() and the calculation of the pfn database size are portable, so move them out of MiInitMachineDependent

svn path=/trunk/; revision=53838

12 years ago[FREELDR]
Dmitry Gorbachev [Sat, 24 Sep 2011 13:39:14 +0000 (13:39 +0000)]
[FREELDR]
Compare with constants of right type.

svn path=/trunk/; revision=53837

12 years ago[User32]
Dmitry Gorbachev [Sat, 24 Sep 2011 13:37:24 +0000 (13:37 +0000)]
[User32]
Check return value of DIB_GetBitmapInfo.

svn path=/trunk/; revision=53836

12 years ago[user32_apitest]
Giannis Adamopoulos [Sat, 24 Sep 2011 12:22:21 +0000 (12:22 +0000)]
[user32_apitest]
- Add one more small test for WM_SYSTIMER

svn path=/trunk/; revision=53835

12 years agoanother try to fix cmake build
Kamil Hornicek [Sat, 24 Sep 2011 12:16:04 +0000 (12:16 +0000)]
another try to fix cmake build

svn path=/trunk/; revision=53834

12 years ago[ACPI]
Cameron Gutman [Sat, 24 Sep 2011 12:05:43 +0000 (12:05 +0000)]
[ACPI]
- Reduce debug spam
- Report critical initialization failure

svn path=/trunk/; revision=53833

12 years ago[user32_apitest.exe]
Giannis Adamopoulos [Sat, 24 Sep 2011 12:05:14 +0000 (12:05 +0000)]
[user32_apitest.exe]
- Fix gcc build

svn path=/trunk/; revision=53832

12 years ago[HAL]
Cameron Gutman [Sat, 24 Sep 2011 12:01:48 +0000 (12:01 +0000)]
[HAL]
- Report table lookup failures
- Report supported ACPI version

svn path=/trunk/; revision=53831

12 years ago[user32_apitest]
Giannis Adamopoulos [Sat, 24 Sep 2011 11:55:19 +0000 (11:55 +0000)]
[user32_apitest]
- Implement logging post messages or winevents
- For SetActiveWindow test, also test the parameters of WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED messages
- For TrackMouseEvent test, also test the WM_SYSTIMER that is possible to be logged now

svn path=/trunk/; revision=53830

12 years ago[undocuser.h]
Giannis Adamopoulos [Sat, 24 Sep 2011 11:51:45 +0000 (11:51 +0000)]
[undocuser.h]
- Add a definition for TrackMouseEvent timer

svn path=/trunk/; revision=53829

12 years agofix the cmake build?
Kamil Hornicek [Sat, 24 Sep 2011 11:47:17 +0000 (11:47 +0000)]
fix the cmake build?

svn path=/trunk/; revision=53828

12 years ago[NTOSKRNL/AMD64]
Timo Kreuzer [Sat, 24 Sep 2011 11:46:20 +0000 (11:46 +0000)]
[NTOSKRNL/AMD64]
Cleanup amd64 specific code

svn path=/trunk/; revision=53827

12 years agoAdd the Diskpart utility by Lee Schroeder (milawynsrealm).
Eric Kohl [Sat, 24 Sep 2011 10:33:33 +0000 (10:33 +0000)]
Add the Diskpart utility by Lee Schroeder (milawynsrealm).
The following modifications were made:
- Removed the help texts because they were copied from Windows Diskpart.
- Used a single string resource per help text.
- Used only Unicode strings and Unicode string functions.
- Replaced the giant if-statement in the command dispatcher in interpreter.c by a command-table and a little loop.
- Improved the command-line parser. Argument count and argument vector are passed to the command and help functions for easy evaluation.
- Moved the help function for commands into the command specific file.

TODO:
- Implement all commands as the utility is only an empty frame.
- Add help texts.
- Translate help texts.
See issue #6402 for more details.

svn path=/trunk/; revision=53826

12 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 24 Sep 2011 08:52:26 +0000 (08:52 +0000)]
[NTOSKRNL]
- Session space address layout is architecture specific, move its initialization into MiInitializeSesseionSpaceLayout() in architecture specific file
- Use dedicated constants for setting MmSystemRangeStart, MmUserProbeAddress and MmHighestUserAddress isnetad of making assumptions.

svn path=/trunk/; revision=53825

12 years ago[WPP]
Rafal Harabien [Sat, 24 Sep 2011 07:58:49 +0000 (07:58 +0000)]
[WPP]
- Sync to Wine 1.3.29 to fix a warning

svn path=/trunk/; revision=53824

12 years ago[KERNEL32]
Pierre Schweitzer [Sat, 24 Sep 2011 07:51:21 +0000 (07:51 +0000)]
[KERNEL32]
Simplify overcomplicated function CreateHardlinkW(), and SEHify it.

svn path=/trunk/; revision=53823

12 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 24 Sep 2011 00:12:58 +0000 (00:12 +0000)]
[NTOSKRNL]
Add MiScanMemoryDescriptors, that combines the work of MiPagesInLoaderBlock, the loop in MmInitializeMemoryLimits and the loop in MiInitMachineDependent.

svn path=/trunk/; revision=53822