reactos.git
14 years ago[WIN32K]
Jérôme Gardou [Sat, 3 Apr 2010 16:32:30 +0000 (16:32 +0000)]
[WIN32K]
Unlock/lock surface when locking DC

svn path=/branches/reactos-yarotows/; revision=46697

14 years agodelete wine/cfgmgr32.h (leftover from merge)
Timo Kreuzer [Fri, 2 Apr 2010 06:20:32 +0000 (06:20 +0000)]
delete wine/cfgmgr32.h (leftover from merge)

svn path=/branches/reactos-yarotows/; revision=46662

14 years ago[WIN32K]
Timo Kreuzer [Thu, 1 Apr 2010 22:36:40 +0000 (22:36 +0000)]
[WIN32K]
- EngAcquireSemaphoreShared: update dwEngAcquireCount
- DC_LockDc/DC_UnlockDc: Acquire PDEV lock only for direct DCs, in that case also update the pSurface pointer
- When copying DC states, copy the surface only for memory dcs
- after switching the mode, update system metrics and redraw the desktop window.
- Remove testdraw code.

svn path=/branches/reactos-yarotows/; revision=46658

14 years ago[WIN32K]
Timo Kreuzer [Thu, 1 Apr 2010 22:30:44 +0000 (22:30 +0000)]
[WIN32K]
Refactor NtUserClipCursor, don't acquire user lock in UserRedrawDesktop,

svn path=/branches/reactos-yarotows/; revision=46657

14 years ago[WIN32K]
Timo Kreuzer [Thu, 1 Apr 2010 05:44:09 +0000 (05:44 +0000)]
[WIN32K]
Just dereference the PDEV's surface and let the driver free it.

svn path=/branches/reactos-yarotows/; revision=46638

14 years agomerge r46636
Timo Kreuzer [Thu, 1 Apr 2010 04:24:21 +0000 (04:24 +0000)]
merge r46636

svn path=/branches/reactos-yarotows/; revision=46637

14 years agoAdd missing ntstatus.h
Timo Kreuzer [Thu, 1 Apr 2010 03:39:51 +0000 (03:39 +0000)]
Add missing ntstatus.h

svn path=/branches/reactos-yarotows/; revision=46635

14 years agoMerge to trunk head (r46631)
Timo Kreuzer [Thu, 1 Apr 2010 02:52:00 +0000 (02:52 +0000)]
Merge to trunk head (r46631)

svn path=/branches/reactos-yarotows/; revision=46633

14 years ago[PSDK]
Johannes Anderwald [Thu, 1 Apr 2010 00:41:09 +0000 (00:41 +0000)]
[PSDK]
- Fix _KSNODE_DESCRIPTOR definition

svn path=/trunk/; revision=46631

14 years ago[win32k]
Timo Kreuzer [Wed, 31 Mar 2010 22:43:02 +0000 (22:43 +0000)]
[win32k]
Use PREGION as type fo the DC regions instead of PVOID.

svn path=/branches/reactos-yarotows/; revision=46630

14 years ago[NTORKRNL]
Eric Kohl [Wed, 31 Mar 2010 21:02:38 +0000 (21:02 +0000)]
[NTORKRNL]
SepAccessCheck: Deny access if the DACL is is empty (but not NULL).

svn path=/trunk/; revision=46629

14 years ago[HALACPI]: Begin rough implementation of the Hal ACPI PnP Driver. Will probably need...
Sir Richard [Wed, 31 Mar 2010 20:58:42 +0000 (20:58 +0000)]
[HALACPI]: Begin rough implementation of the Hal ACPI PnP Driver. Will probably need some changes to the ReactOS PnP Manager to work properly (it is not initialized yet).
[HAL]: Implement helper registry routine.
[HAL]: Implement function to set ACPI mode the "Windows way", which is to enable/disable the firmware mapper. PnP Manager should probably check this in the future.

svn path=/trunk/; revision=46628

14 years ago[NDK]: Add missing Io functions.
Sir Richard [Wed, 31 Mar 2010 20:54:22 +0000 (20:54 +0000)]
[NDK]: Add missing Io functions.

svn path=/trunk/; revision=46627

14 years ago[NTOSKRNL]
Eric Kohl [Wed, 31 Mar 2010 19:53:19 +0000 (19:53 +0000)]
[NTOSKRNL]
- Move subject context locking to SeAccessCheck because NtAccessCheck already locks it.
- Do not use the captured security descriptor in NtAccessCheck yet, because SeCaptureSecurityDescriptor seems to create broken SDs.

svn path=/trunk/; revision=46626

14 years ago[KS]
Johannes Anderwald [Wed, 31 Mar 2010 17:33:49 +0000 (17:33 +0000)]
[KS]
- Enable registered device interfaces when device successfully initializes
- Fix totally broken KsFilterFactorySetDeviceClassesState implementation

svn path=/trunk/; revision=46625

14 years ago[PSDK]
Johannes Anderwald [Wed, 31 Mar 2010 17:13:41 +0000 (17:13 +0000)]
[PSDK]
- Add KsFilterFactorySetDeviceClassesState prototype

svn path=/trunk/; revision=46624

14 years ago[KS]
Johannes Anderwald [Wed, 31 Mar 2010 16:12:02 +0000 (16:12 +0000)]
[KS]
- Fix a malicous bug in KsAddItemToObjectBag which caused inifite loops while iterating through object bags
- Use a different mutex than the device mutex for object bags
- Initialize device / object bag mutex when initializing the device
- Initialize object bag lists when initializing the device
- Set device / system power state before calling device Add's routine
- Check if object driver extension has already been allocated in KsInitializeDevice
- Hack KsFilterFactoryUpdateCacheData to return STATUS_SUCCESS
- PinnacleSys PCTV DVB-T tv tuner now successfully initializes and registers its device interfaces

svn path=/trunk/; revision=46623

14 years ago[BDASUP]
Johannes Anderwald [Wed, 31 Mar 2010 15:37:36 +0000 (15:37 +0000)]
[BDASUP]
- Fix initialization of filter /  pin automation table
- Add debug traces

svn path=/trunk/; revision=46622

14 years ago[KDCOM]
Timo Kreuzer [Wed, 31 Mar 2010 15:19:01 +0000 (15:19 +0000)]
[KDCOM]
Include ntifs, instead of ntddk, needed by NDK

svn path=/trunk/; revision=46621

14 years ago[NTOS]
Timo Kreuzer [Wed, 31 Mar 2010 15:11:20 +0000 (15:11 +0000)]
[NTOS]
Add internal amd64 headers.

svn path=/trunk/; revision=46620

14 years ago[NTOSKRNL/CONFIG]
Aleksey Bragin [Wed, 31 Mar 2010 14:27:11 +0000 (14:27 +0000)]
[NTOSKRNL/CONFIG]
- Implement new (correct) hive flusher lock/release routines, unused right now.

svn path=/trunk/; revision=46619

14 years ago[NTOSKRNL/CONFIG]
Aleksey Bragin [Wed, 31 Mar 2010 14:10:24 +0000 (14:10 +0000)]
[NTOSKRNL/CONFIG]
- Stub support for global quota enable.
- Stub support for notifications.
- Add a source file for a future HiveList implementation.

svn path=/trunk/; revision=46618

14 years ago[NTOSKRNL/CONFIG]
Aleksey Bragin [Wed, 31 Mar 2010 13:25:51 +0000 (13:25 +0000)]
[NTOSKRNL/CONFIG]
- Add more assert macros for registry operations: locked or loading, exclusively locked or loading, hash and KCB locks, locked for flushing.
- Add macros for getting alloc page from KCB and delay alloc item.

svn path=/trunk/; revision=46617

14 years ago[tchar.h]
Timo Kreuzer [Wed, 31 Mar 2010 12:16:42 +0000 (12:16 +0000)]
[tchar.h]
enable _tcsnlen definition

svn path=/trunk/; revision=46616

14 years ago[RBUILD]
Timo Kreuzer [Wed, 31 Mar 2010 11:57:21 +0000 (11:57 +0000)]
[RBUILD]
- Don't link to RosBE's ofmt_stub.a, as we have our own version now.
- Don't link to libcoldname.a on amd64, instead link to libgcc_eh.a

svn path=/trunk/; revision=46615

14 years ago[KERNEL32]
Timo Kreuzer [Wed, 31 Mar 2010 10:21:14 +0000 (10:21 +0000)]
[KERNEL32]
Add RtlAddFunctionTable export for amd64

svn path=/trunk/; revision=46614

14 years ago[HALACPI]: Implement beginning of HAL ACPI support (HalpSetupAcpiPhase0). Tested...
Sir Richard [Wed, 31 Mar 2010 04:43:39 +0000 (04:43 +0000)]
[HALACPI]: Implement beginning of HAL ACPI support (HalpSetupAcpiPhase0). Tested on VMWare, where it found the FACP, SRAT, RSDT and MCFG and the ACPI Timer at 1008H. BOOT and DBGP are not found (optional features).
[HALACPI]: Support depends on boot loader creating the ACPI BIOS Multi Node structure in MultiFunctionAdapter in the hardware tree. It seems that FreeLdr does this (wow!) correctly!
[HALACPI]: Implement HAL ACPI Table Cache.
[HALACPI]: HAL ACPI Table Overrides from the boot loader are not supported (doubt FreeLdr does this).
[HALACPI]: The next steps are to write the HAL ACPI PnP Driver and HAL ACPI Power Driver.

svn path=/trunk/; revision=46613

14 years ago[HAL]: Add Phase 0 HAL Heap Allocation/Mapping/Unmapping APIs, remove current broken...
Sir Richard [Wed, 31 Mar 2010 04:38:20 +0000 (04:38 +0000)]
[HAL]: Add Phase 0 HAL Heap Allocation/Mapping/Unmapping APIs, remove current broken APIs that depend on Mm having been initialized. These APIs use the HAL Heap that's typically at 0xFFC00000. FreeLDR seems to map this region correctly.
[HAL]: Although currently implemented for ACPI support (to come), these APIs can now also be used to enable DMA in Phase 0 like NT, instead of only in Phase 1 like ReactOS.

svn path=/trunk/; revision=46612

14 years ago[HALACPI]: Add some missing signatures.
Sir Richard [Wed, 31 Mar 2010 04:34:26 +0000 (04:34 +0000)]
[HALACPI]: Add some missing signatures.

svn path=/trunk/; revision=46611

14 years ago[HALACPI]: Add HAL ACPI header.
Sir Richard [Wed, 31 Mar 2010 04:26:04 +0000 (04:26 +0000)]
[HALACPI]: Add HAL ACPI header.

svn path=/trunk/; revision=46610

14 years ago[SETUPAPI]
Johannes Anderwald [Wed, 31 Mar 2010 02:43:57 +0000 (02:43 +0000)]
[SETUPAPI]
- Implement SetupDiOpenDeviceInterfaceW

svn path=/trunk/; revision=46609

14 years agofix a typo
Timo Kreuzer [Tue, 30 Mar 2010 21:35:52 +0000 (21:35 +0000)]
fix a typo

svn path=/trunk/; revision=46607

14 years ago[MINGW]
Timo Kreuzer [Tue, 30 Mar 2010 21:28:38 +0000 (21:28 +0000)]
[MINGW]
- add back getopt.c (needed by rosapps)
- add ofmt_stub.c and cx_pure_virtual.c

svn path=/trunk/; revision=46606

14 years ago[NTOSKRNL]
Eric Kohl [Tue, 30 Mar 2010 20:16:26 +0000 (20:16 +0000)]
[NTOSKRNL]
- Capture the security descriptor before passing it to SepAccessCheck.
- Move the security descriptor check and the impersonation level check from SepAccessCheck to SeAccessCheck.

svn path=/trunk/; revision=46605

14 years ago[WINE]
Timo Kreuzer [Tue, 30 Mar 2010 19:59:29 +0000 (19:59 +0000)]
[WINE]
define interlocked_xchg_add to InterlockedExchangeAdd

svn path=/trunk/; revision=46604

14 years ago[SETUPAPI]
Johannes Anderwald [Tue, 30 Mar 2010 19:43:09 +0000 (19:43 +0000)]
[SETUPAPI]
- Open Device Class with desired access

svn path=/trunk/; revision=46603

14 years ago[NTOSKRNL]
Eric Kohl [Tue, 30 Mar 2010 17:01:23 +0000 (17:01 +0000)]
[NTOSKRNL]
- Move kernel-mode check around, so we won't run it twice when calling NtAccessCheck.
- Fix a wrong check for security descriptors with a NULL-DACL.

svn path=/trunk/; revision=46602

14 years ago[NTOS]
Timo Kreuzer [Tue, 30 Mar 2010 16:59:52 +0000 (16:59 +0000)]
[NTOS]
Update pspec file with amd64 exports, use -arch= where appropriate

svn path=/trunk/; revision=46601

14 years ago[NTOSKRNL]
Cameron Gutman [Tue, 30 Mar 2010 16:34:17 +0000 (16:34 +0000)]
[NTOSKRNL]
- Disable ACPI until the resource detection problems are resolved

svn path=/trunk/; revision=46600

14 years agomerge from amd64 branch:
Timo Kreuzer [Tue, 30 Mar 2010 16:25:51 +0000 (16:25 +0000)]
merge from amd64 branch:

38333
[INTRIN_X86]
#define _alloca() to __builtin_alloca() on amd64

46388
[INTRIN_X86]
- Add __stosq, __movsq, _bittest64

svn path=/trunk/; revision=46599

14 years ago[KERNEL32]
Timo Kreuzer [Tue, 30 Mar 2010 16:17:48 +0000 (16:17 +0000)]
[KERNEL32]
Add some amd64 exports

svn path=/trunk/; revision=46598

14 years agoMerge from amd64 branch:
Timo Kreuzer [Tue, 30 Mar 2010 13:30:36 +0000 (13:30 +0000)]
Merge from amd64 branch:

46478
[CRT]
- define _CRTBLD
- rename float_t/double_t/long_double_t to float_s/double_s/long_double_s to avoid name conflicts

46511
[FREELDR]
snprintf -> _snprintf

46534
[CRT]
- Set crt="static" in freeldr, rtl, bmfs, ftfd, rtl, mini_hal
- define "CRTDLL" in ntdll, crtdll, msvcrt, msvcrt20, msvcrt40

46535
[CRT HEADERS]
- add _mingw_mac.h from ming-w64 and include it into _mingw.h
- Update _CRTIMP definition
- Fix definition of _wctype
- onexit is not _CRTIMP

46537
[MINGW]
Update mingw library to mingw-w64 trunk (mingw-w64-src_20100325)

46538
Apply MSVC compilation fix.

46539
[MINGW]
Apply MSVC compilation fixes

svn path=/trunk/; revision=46597

14 years ago[BDAPLGIN, KSPROXY, MSDVBNP, MSVIDCTL]
Johannes Anderwald [Tue, 30 Mar 2010 11:52:50 +0000 (11:52 +0000)]
[BDAPLGIN, KSPROXY, MSDVBNP, MSVIDCTL]
- Register DLLs when ReactOS is installed

svn path=/trunk/; revision=46594

14 years ago- Add bdasup to bootcd
Johannes Anderwald [Tue, 30 Mar 2010 11:28:10 +0000 (11:28 +0000)]
- Add bdasup to bootcd

svn path=/trunk/; revision=46593

14 years agoMerge from amd64-branch:
Timo Kreuzer [Tue, 30 Mar 2010 11:09:21 +0000 (11:09 +0000)]
Merge from amd64-branch:

44467, 44468, 44470, 44471, 46524
[OLDNAMES]
Update moldname-msvcrt.def
Add a proper oldnames lib, instead of implicitly including it with mingw.

46526
[FTP/DHCP]
- remove the oldnames hack, as we now have a proper oldnames lib (included in mingw_common)
- protect struct timezone from redefinition

svn path=/trunk/; revision=46592

14 years agoDon't add underscore prefix to amd64 symbols
Timo Kreuzer [Tue, 30 Mar 2010 07:56:58 +0000 (07:56 +0000)]
Don't add underscore prefix to amd64 symbols

svn path=/trunk/; revision=46588

14 years agoMerge the rest from header branch.
Timo Kreuzer [Tue, 30 Mar 2010 05:34:20 +0000 (05:34 +0000)]
Merge the rest from header branch.

svn path=/trunk/; revision=46582

14 years agoadd PIO_CSQ_INSERT_IRP_EX to wdm.h
Timo Kreuzer [Tue, 30 Mar 2010 05:09:48 +0000 (05:09 +0000)]
add PIO_CSQ_INSERT_IRP_EX to wdm.h

svn path=/trunk/; revision=46580

14 years agoAdd a todo list for win32k. Enjoy the current size as long as it's that small.
Timo Kreuzer [Tue, 30 Mar 2010 04:59:56 +0000 (04:59 +0000)]
Add a todo list for win32k. Enjoy the current size as long as it's that small.

svn path=/branches/reactos-yarotows/; revision=46579

14 years ago[RTL]
Cameron Gutman [Tue, 30 Mar 2010 03:26:35 +0000 (03:26 +0000)]
[RTL]
- Fall back to the default user key if RtlFormatCurrentUserKeyPath fails (perhaps we are in a system process)

svn path=/trunk/; revision=46578

14 years ago- Fix trunk installation breakage introduced in 46570
Johannes Anderwald [Mon, 29 Mar 2010 23:08:29 +0000 (23:08 +0000)]
- Fix trunk installation breakage introduced in 46570

svn path=/trunk/; revision=46576

14 years ago[WIN32K]
Jérôme Gardou [Mon, 29 Mar 2010 21:53:24 +0000 (21:53 +0000)]
[WIN32K]
DC_SetOwnerShip : return FALSE on failure

svn path=/branches/reactos-yarotows/; revision=46575

14 years ago[HALACPI]: Add project, right now it just builds the normal HAL. The idea is to split...
Sir Richard [Mon, 29 Mar 2010 21:35:31 +0000 (21:35 +0000)]
[HALACPI]: Add project, right now it just builds the normal HAL. The idea is to split the generic HAL into legacy (x86 only) and ACPI (x86+ACPI, or x64). Bus handling, reboot/shutdown, PnP, power management (sleep/resume/hibernate), timer, environment variable, debugging, and initialization code is expected to differ between legacy and ACPI, if not more.

svn path=/trunk/; revision=46574

14 years ago[WIN32K]
Jérôme Gardou [Mon, 29 Mar 2010 19:50:49 +0000 (19:50 +0000)]
[WIN32K]
Free the surface instead of unlocking it

svn path=/branches/reactos-yarotows/; revision=46573

14 years ago[WIN32K]
Jérôme Gardou [Mon, 29 Mar 2010 18:56:02 +0000 (18:56 +0000)]
[WIN32K]
Implement releasing PDEVOBJs

svn path=/branches/reactos-yarotows/; revision=46572

14 years ago[NTOSKRNL]
Cameron Gutman [Mon, 29 Mar 2010 16:56:42 +0000 (16:56 +0000)]
[NTOSKRNL]
- Don't try to detect ACPI in IopEnumerateDetectedDevices because the only reason we got there is because ACPI is NOT present (as reported by IopIsAcpiComputer)

svn path=/trunk/; revision=46571

14 years ago- Add bda.inf, kscaptur.inf
Johannes Anderwald [Mon, 29 Mar 2010 15:18:50 +0000 (15:18 +0000)]
- Add bda.inf, kscaptur.inf

svn path=/trunk/; revision=46570

14 years ago[MSDVBNP]
Johannes Anderwald [Mon, 29 Mar 2010 13:12:16 +0000 (13:12 +0000)]
[MSDVBNP]
- Implement IBDA_EthernetFilter, IBDA_IPV4Filter, IBDA_IPV6Filter

svn path=/trunk/; revision=46569

14 years agoDefine PPEB in ntddk.h
Timo Kreuzer [Mon, 29 Mar 2010 11:40:06 +0000 (11:40 +0000)]
Define PPEB in ntddk.h

svn path=/trunk/; revision=46568

14 years agoMerge winnt.h
Timo Kreuzer [Mon, 29 Mar 2010 11:23:09 +0000 (11:23 +0000)]
Merge winnt.h

svn path=/trunk/; revision=46567

14 years agoMerge ntdef.h
Timo Kreuzer [Mon, 29 Mar 2010 10:35:31 +0000 (10:35 +0000)]
Merge ntdef.h

svn path=/trunk/; revision=46566

14 years agoMove IoAttachDeviceToDeviceStackSafe to ntddk.h
Timo Kreuzer [Mon, 29 Mar 2010 09:15:47 +0000 (09:15 +0000)]
Move IoAttachDeviceToDeviceStackSafe to ntddk.h

svn path=/trunk/; revision=46565

14 years agomerge wdm.h second attempt. This time taking more care of vista definitions.
Timo Kreuzer [Mon, 29 Mar 2010 08:57:45 +0000 (08:57 +0000)]
merge wdm.h second attempt. This time taking more care of vista definitions.

svn path=/trunk/; revision=46564

14 years ago[NTOSKRNL]
Aleksey Bragin [Mon, 29 Mar 2010 08:51:12 +0000 (08:51 +0000)]
[NTOSKRNL]
. Revert 46550: Windows does not set this flag. ReactOS shouldn't either. Setting UserEvent is already enough in this case.

svn path=/trunk/; revision=46563

14 years agorevert r46561
Timo Kreuzer [Mon, 29 Mar 2010 07:37:26 +0000 (07:37 +0000)]
revert r46561

svn path=/trunk/; revision=46562

14 years agomerge part of the wdm changes. Mostly formatting and adding a few definitions.
Timo Kreuzer [Mon, 29 Mar 2010 07:28:03 +0000 (07:28 +0000)]
merge part of the wdm changes. Mostly formatting and adding a few definitions.

svn path=/trunk/; revision=46561

14 years agoAdd RtlLargeInteger macros to wdm.h
Timo Kreuzer [Mon, 29 Mar 2010 05:48:15 +0000 (05:48 +0000)]
Add RtlLargeInteger macros to wdm.h

svn path=/trunk/; revision=46560

14 years agomerge ntdef.h formatting changes
Timo Kreuzer [Mon, 29 Mar 2010 05:28:59 +0000 (05:28 +0000)]
merge ntdef.h formatting changes

svn path=/trunk/; revision=46559

14 years agoMerge bdasup.h
Timo Kreuzer [Mon, 29 Mar 2010 05:17:15 +0000 (05:17 +0000)]
Merge bdasup.h

svn path=/trunk/; revision=46558

14 years agoAdd definition of PUOW to wdm.h
Timo Kreuzer [Mon, 29 Mar 2010 05:03:20 +0000 (05:03 +0000)]
Add definition of PUOW to wdm.h

svn path=/trunk/; revision=46557

14 years agoFix Mm64BitPhysicalAddress
Timo Kreuzer [Mon, 29 Mar 2010 04:49:07 +0000 (04:49 +0000)]
Fix Mm64BitPhysicalAddress

svn path=/trunk/; revision=46556

14 years agoMove SINGLE_GROUP_LEGACY_API definition to wdm.h
Timo Kreuzer [Mon, 29 Mar 2010 04:28:32 +0000 (04:28 +0000)]
Move SINGLE_GROUP_LEGACY_API definition to wdm.h

svn path=/trunk/; revision=46555

14 years agorevert r46552 and r46553
Timo Kreuzer [Mon, 29 Mar 2010 04:14:34 +0000 (04:14 +0000)]
revert r46552 and r46553

svn path=/trunk/; revision=46554

14 years agoReintegrate header branch part 7/x
Timo Kreuzer [Mon, 29 Mar 2010 03:52:10 +0000 (03:52 +0000)]
Reintegrate header branch part 7/x
Merge the rest and see what happens....

svn path=/trunk/; revision=46553

14 years agoReintegrate header branch part 6/x
Timo Kreuzer [Mon, 29 Mar 2010 03:49:11 +0000 (03:49 +0000)]
Reintegrate header branch part 6/x
ntdef.h and winnt.h: add GROUP_AFFINITY, formatting

svn path=/trunk/; revision=46552

14 years agoReintegrate header branch part 5/x
Timo Kreuzer [Mon, 29 Mar 2010 03:16:25 +0000 (03:16 +0000)]
Reintegrate header branch part 5/x
- Formatting and properties
- delete xmldsodid.h

svn path=/trunk/; revision=46551

14 years ago[NTOSKRNL]
Cameron Gutman [Mon, 29 Mar 2010 02:59:44 +0000 (02:59 +0000)]
[NTOSKRNL]
- Set the IRP_SYNCHRONOUS_API flag on IRPs created by IoBuildSynchronousFsdRequest

svn path=/trunk/; revision=46550

14 years agofix build
Timo Kreuzer [Mon, 29 Mar 2010 02:51:02 +0000 (02:51 +0000)]
fix build

svn path=/trunk/; revision=46549

14 years agoReintegrate header branch part 4/x
Timo Kreuzer [Mon, 29 Mar 2010 02:48:28 +0000 (02:48 +0000)]
Reintegrate header branch part 4/x
- don't prepend ddk/ before the header includes
- move atsmedia.h to psdk
- add mce.h, devpropdef.h, evntprov.h, ntiologc.h to psdk
- replace ntstatus.h

svn path=/trunk/; revision=46548

14 years agoReintegrate header-branch 3/x
Timo Kreuzer [Mon, 29 Mar 2010 02:38:12 +0000 (02:38 +0000)]
Reintegrate header-branch 3/x
- Add XDK

svn path=/trunk/; revision=46547

14 years ago[COMPBATT]: More miniclass driver interface work: CompBattQueryInformation and CompBa...
Sir Richard [Mon, 29 Mar 2010 02:27:41 +0000 (02:27 +0000)]
[COMPBATT]: More miniclass driver interface work: CompBattQueryInformation and CompBattGetBatteryGranularity.

svn path=/trunk/; revision=46546

14 years agoFix build
Timo Kreuzer [Mon, 29 Mar 2010 02:15:21 +0000 (02:15 +0000)]
Fix build

svn path=/trunk/; revision=46545

14 years agoReintegrate header-branch 2/x
Timo Kreuzer [Mon, 29 Mar 2010 02:03:41 +0000 (02:03 +0000)]
Reintegrate header-branch 2/x
- PCVOID -> LPCVOID / CONST VOID *
- move cfgmgr32.h and cfg.h to psdk
- remove wine/cfgmgr32.h make setupapi use the proper header

svn path=/trunk/; revision=46544

14 years ago[COMPBATT]: Mini-class driver interface work: CompBattDisableStatusNotify, CompBattQu...
Sir Richard [Mon, 29 Mar 2010 02:02:07 +0000 (02:02 +0000)]
[COMPBATT]: Mini-class driver interface work: CompBattDisableStatusNotify, CompBattQueryTag, CompBattRecalculateTag, CompBattGetBatteryInformation.

svn path=/trunk/; revision=46543

14 years agoReintegrate header branch part 1/x
Timo Kreuzer [Mon, 29 Mar 2010 01:51:11 +0000 (01:51 +0000)]
Reintegrate header branch part 1/x
DDKAPI -> NTAPI

svn path=/trunk/; revision=46542

14 years ago[COMPBATT]: Helper code, CompBattGetDeviceObjectPointer and BatteryIoctl.
Sir Richard [Mon, 29 Mar 2010 00:10:56 +0000 (00:10 +0000)]
[COMPBATT]: Helper code, CompBattGetDeviceObjectPointer and BatteryIoctl.

svn path=/trunk/; revision=46541

14 years ago[COMPBATT]: Main battery detection/PnP notification logic: CompBattAddNewBattery...
Sir Richard [Mon, 29 Mar 2010 00:02:05 +0000 (00:02 +0000)]
[COMPBATT]: Main battery detection/PnP notification logic: CompBattAddNewBattery, CompBattRemoveBattery, IsBatteryAlreadyOnList, RemoveBatteryFromList, CompBattGetBatteries, CompBattPnpEventHandler.

svn path=/trunk/; revision=46540

14 years ago[MINGW]
Timo Kreuzer [Sun, 28 Mar 2010 23:27:01 +0000 (23:27 +0000)]
[MINGW]
Update mingw library to mingw-w64 trunk (mingw-w64-src_20100325)

svn path=/branches/ros-amd64-bringup/; revision=46537

14 years ago[CRT]
Timo Kreuzer [Sun, 28 Mar 2010 23:18:31 +0000 (23:18 +0000)]
[CRT]
- Implement x86 ceilf, floorf, fmodf (taken from mingw-w64)
- Implement cosf, sinf, sqrtf (simply wrappers)
- Fix missing definitions

svn path=/branches/ros-amd64-bringup/; revision=46536

14 years ago[CRT HEADERS]
Timo Kreuzer [Sun, 28 Mar 2010 23:12:46 +0000 (23:12 +0000)]
[CRT HEADERS]
- add _mingw_mac.h from ming-w64 and include it into _mingw.h
- Update _CRTIMP definition
- Fix definition of _wctype
- onexit is not _CRTIMP

svn path=/branches/ros-amd64-bringup/; revision=46535

14 years ago[CRT]
Timo Kreuzer [Sun, 28 Mar 2010 23:06:36 +0000 (23:06 +0000)]
[CRT]
- Set crt="static" in freeldr, rtl, bmfs, ftfd, rtl, mini_hal
- define "CRTDLL" in ntdll, crtdll, msvcrt, msvcrt20, msvcrt40

svn path=/branches/ros-amd64-bringup/; revision=46534

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 28 Mar 2010 22:59:38 +0000 (22:59 +0000)]
[NTOSKRNL]
- Fix a nasty bug that discarded any response to IRP_MN_FILTER_RESOURCE_REQUIREMENTS so drivers never got the resources they needed

svn path=/trunk/; revision=46533

14 years ago[NTOS]
Timo Kreuzer [Sun, 28 Mar 2010 22:51:39 +0000 (22:51 +0000)]
[NTOS]
Some freelist.c fixes, to make it compile

svn path=/branches/ros-amd64-bringup/; revision=46532

14 years ago[HAL]
Timo Kreuzer [Sun, 28 Mar 2010 22:50:04 +0000 (22:50 +0000)]
[HAL]
Update from trunk

svn path=/branches/ros-amd64-bringup/; revision=46531

14 years ago[WIN32K]
Jérôme Gardou [Sun, 28 Mar 2010 22:27:57 +0000 (22:27 +0000)]
[WIN32K]
Close another pair of DC_LockDC/DC_UnlockDC

Now gdi32:dc winetests doesn't crash anymore.

svn path=/branches/reactos-yarotows/; revision=46530

14 years ago[WIN32K]
Jérôme Gardou [Sun, 28 Mar 2010 22:18:45 +0000 (22:18 +0000)]
[WIN32K]
Forgot this one

svn path=/branches/reactos-yarotows/; revision=46529

14 years ago[WIN32K]
Jérôme Gardou [Sun, 28 Mar 2010 22:09:45 +0000 (22:09 +0000)]
[WIN32K]
More PDEVOBJ_vRelease fun

svn path=/branches/reactos-yarotows/; revision=46528

14 years ago[WIN32K]
Jérôme Gardou [Sun, 28 Mar 2010 21:45:43 +0000 (21:45 +0000)]
[WIN32K]
Release ppdev when deleting DC

svn path=/branches/reactos-yarotows/; revision=46527

14 years ago[FTP/DHCP]
Timo Kreuzer [Sun, 28 Mar 2010 21:01:25 +0000 (21:01 +0000)]
[FTP/DHCP]
- remove the oldnames hack, as we now have a proper oldnames lib (included in mingw_common)
- protect struct timezone from redefinition

svn path=/branches/ros-amd64-bringup/; revision=46526

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 28 Mar 2010 20:23:30 +0000 (20:23 +0000)]
[NTOSKRNL]
- Don't use REG_OPTION_VOLATILE because it causes ACPI to be reinstalled after every boot

svn path=/trunk/; revision=46525