Sir Richard [Thu, 1 Apr 2010 20:41:46 +0000 (20:41 +0000)]
[HAL]: Fucken' A, I knew I'd forget one.
svn path=/trunk/; revision=46650
Sir Richard [Thu, 1 Apr 2010 20:41:04 +0000 (20:41 +0000)]
[HAL]: Smarter .rbuild separation so that ACPI and PC/AT hal don't rebuild the generic library twice. Now generic stays generic, and generic_pcat/acpi are add-on libaries just like generic_up and generic_mp.
svn path=/trunk/; revision=46649
Johannes Anderwald [Thu, 1 Apr 2010 19:48:49 +0000 (19:48 +0000)]
[DEVENUM]
- Extend device enumerator to support class enumerators of device interfaces
svn path=/trunk/; revision=46648
Sir Richard [Thu, 1 Apr 2010 19:42:07 +0000 (19:42 +0000)]
[HAL]: Split HalReportResouceUsage into per-platform function, since PC/AT HAL and ACPI HAL have different requirements. As a bonus, the ACPI HAL now identifies itself as ACPI Compatible, instead of using the "PC Compatible" moniker.
[HAL]: Implement HalpGetNMICrashFlag so you can do NMI crashes now.
[HAL]: Implement basic HalpRegistryPciDebuggingDeviceInfo for the day someone implements the Kd routines.
[HAL]: HalpInitializePciBus needs to be different between "Bus Handler HALs" (non-ACPI/embedded) and "Non-Bus Handler HALs" (ACPI/x64). On ACPI, all we do is setup the raw PCI Stubs and NMI crashing. PC/AT will need more involved code.
svn path=/trunk/; revision=46647
Johannes Anderwald [Thu, 1 Apr 2010 19:20:12 +0000 (19:20 +0000)]
[MSDVBNP]
- Remove DebugBreak
- Implement IPin::Connect, IPin::ReceiveConnection, IPin::Disconnect, IPin::ConnectedTo
- Remove spaces
- DVBT Network Provider can now connect tv tuner in ReactOS
svn path=/trunk/; revision=46646
Sir Richard [Thu, 1 Apr 2010 19:07:40 +0000 (19:07 +0000)]
[PCI]: New PCI driver, for the future. Needed for embedded support (ARM/etc) and anything other than your 3 emulators and neighboor's custom-made-to-barely-boot-your-OS machine.
svn path=/trunk/; revision=46645
Cameron Gutman [Thu, 1 Apr 2010 18:17:25 +0000 (18:17 +0000)]
[NTOSKRNL]
- Store the device's assigned resources (raw and translated) in the RESOURCEMAP key
- Implement IopUpdateResourceMap which is responsible for updating the key with new resource information and setting the DNF_RESOURCE_ASSIGNED flag
- Fix IoGetDeviceProperty which was returning incorrect information for DevicePropertyPhysicalDeviceObjectName
- Take a look at HKLM\Hardware\ResourceMap\PnP Manager\PnpManager and see the beautiful resource lists ;)
- NOTE: Regedit has a bug so the "\Device\" prefix is hidden but you will see that it is there if you look with explorer's NT object viewer
svn path=/trunk/; revision=46644
Johannes Anderwald [Thu, 1 Apr 2010 17:22:21 +0000 (17:22 +0000)]
[KS]
- Partly implement pin property handling by using supplied pin descriptor properties
- Dynamically allocate connection format and put in pin's object bag
- Remove bogus assert as pins don't have to provide a PinDispatchCreate function
- Tuner device filter and capture device filter now successfully connect and instantiate corresponding input / output pins
svn path=/trunk/; revision=46643
Johannes Anderwald [Thu, 1 Apr 2010 17:18:13 +0000 (17:18 +0000)]
[BDASUP]
- Register an empty filter descriptor as pins, nodes, connections will be added later dynamically
- Fixes the duplicate input / output pins visible with graphedt
- Add the filter automation table to the object bag so it gets deleted when filter factory is destroyed
svn path=/trunk/; revision=46642
Johannes Anderwald [Thu, 1 Apr 2010 14:53:16 +0000 (14:53 +0000)]
[KS]
- Refactor & bugfix handling of KSPROPERTY_PIN_INTERFACES
- Refactor & bugfix IKsFilter_fnAddProcessPin for filter centric pins
- Fix handling of filter pin property sets
- Copy filter pin templates when filter is initialized.
- Pins are now able to instantiated but processing is pin requests is not yet implemented
svn path=/trunk/; revision=46640
Cameron Gutman [Thu, 1 Apr 2010 06:58:32 +0000 (06:58 +0000)]
[NTOSKRNL]
- Change PnpRootCreateDevice's ServiceName parameter to be a full service name so it can be used by IoReportDetectedDevice (for reporting devices without the "LEGACY_" prefix) and change all of its callers accordingly
- Remove the broken implementation of IoReportDetectedDevice and replace it with a fully working implementation
- There is still a bug that it creates a new device instance every boot, but unlike the previous code, at least it creates one ;-)
svn path=/trunk/; revision=46639
Timo Kreuzer [Thu, 1 Apr 2010 04:19:12 +0000 (04:19 +0000)]
[HAL]
Try to fix build
svn path=/trunk/; revision=46636
Johannes Anderwald [Thu, 1 Apr 2010 03:14:45 +0000 (03:14 +0000)]
[KS]
- Fix a bad cast in KsGetDevice which led to a crash
- Store IKsFilter in create item storage which is needed later by the pin property handler
- There is no need to copy the existing pin factories, just add pin factories which are added dynamically
- Handle possible null values for node types & names
- Put allocated objects into object bags which can be released later automatically
- Fix access IKsFilterFactory interface in IKsFilterFactory_Create
- graphedt can now 'open' tv tuner and enumerate pins / communication / interface. Code required for devenum not yet commited
svn path=/trunk/; revision=46634
Johannes Anderwald [Thu, 1 Apr 2010 02:35:37 +0000 (02:35 +0000)]
[BDASUP]
- Allocate KSFILTER_DESCRIPTOR before passing to KsCreateFilterFactory
- Allocate KSPIN_DESCRIPTOR_EX before passing to KsFilterCreatePinFactory
- Use stored BDA_FILTER_TEMPLATE when caller doesnt pass any
svn path=/trunk/; revision=46632
Johannes Anderwald [Thu, 1 Apr 2010 00:41:09 +0000 (00:41 +0000)]
[PSDK]
- Fix _KSNODE_DESCRIPTOR definition
svn path=/trunk/; revision=46631
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
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
Sir Richard [Wed, 31 Mar 2010 20:54:22 +0000 (20:54 +0000)]
[NDK]: Add missing Io functions.
svn path=/trunk/; revision=46627
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
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
Johannes Anderwald [Wed, 31 Mar 2010 17:13:41 +0000 (17:13 +0000)]
[PSDK]
- Add KsFilterFactorySetDeviceClassesState prototype
svn path=/trunk/; revision=46624
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
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
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
Timo Kreuzer [Wed, 31 Mar 2010 15:11:20 +0000 (15:11 +0000)]
[NTOS]
Add internal amd64 headers.
svn path=/trunk/; revision=46620
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
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
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
Timo Kreuzer [Wed, 31 Mar 2010 12:16:42 +0000 (12:16 +0000)]
[tchar.h]
enable _tcsnlen definition
svn path=/trunk/; revision=46616
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
Timo Kreuzer [Wed, 31 Mar 2010 10:21:14 +0000 (10:21 +0000)]
[KERNEL32]
Add RtlAddFunctionTable export for amd64
svn path=/trunk/; revision=46614
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
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
Sir Richard [Wed, 31 Mar 2010 04:34:26 +0000 (04:34 +0000)]
[HALACPI]: Add some missing signatures.
svn path=/trunk/; revision=46611
Sir Richard [Wed, 31 Mar 2010 04:26:04 +0000 (04:26 +0000)]
[HALACPI]: Add HAL ACPI header.
svn path=/trunk/; revision=46610
Johannes Anderwald [Wed, 31 Mar 2010 02:43:57 +0000 (02:43 +0000)]
[SETUPAPI]
- Implement SetupDiOpenDeviceInterfaceW
svn path=/trunk/; revision=46609
Timo Kreuzer [Tue, 30 Mar 2010 21:35:52 +0000 (21:35 +0000)]
fix a typo
svn path=/trunk/; revision=46607
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
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
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
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
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
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
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
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
Timo Kreuzer [Tue, 30 Mar 2010 16:17:48 +0000 (16:17 +0000)]
[KERNEL32]
Add some amd64 exports
svn path=/trunk/; revision=46598
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
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
Johannes Anderwald [Tue, 30 Mar 2010 11:28:10 +0000 (11:28 +0000)]
- Add bdasup to bootcd
svn path=/trunk/; revision=46593
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
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
Timo Kreuzer [Tue, 30 Mar 2010 05:34:20 +0000 (05:34 +0000)]
Merge the rest from header branch.
svn path=/trunk/; revision=46582
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
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
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
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
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
Johannes Anderwald [Mon, 29 Mar 2010 15:18:50 +0000 (15:18 +0000)]
- Add bda.inf, kscaptur.inf
svn path=/trunk/; revision=46570
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
Timo Kreuzer [Mon, 29 Mar 2010 11:40:06 +0000 (11:40 +0000)]
Define PPEB in ntddk.h
svn path=/trunk/; revision=46568
Timo Kreuzer [Mon, 29 Mar 2010 11:23:09 +0000 (11:23 +0000)]
Merge winnt.h
svn path=/trunk/; revision=46567
Timo Kreuzer [Mon, 29 Mar 2010 10:35:31 +0000 (10:35 +0000)]
Merge ntdef.h
svn path=/trunk/; revision=46566
Timo Kreuzer [Mon, 29 Mar 2010 09:15:47 +0000 (09:15 +0000)]
Move IoAttachDeviceToDeviceStackSafe to ntddk.h
svn path=/trunk/; revision=46565
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
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
Timo Kreuzer [Mon, 29 Mar 2010 07:37:26 +0000 (07:37 +0000)]
revert r46561
svn path=/trunk/; revision=46562
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
Timo Kreuzer [Mon, 29 Mar 2010 05:48:15 +0000 (05:48 +0000)]
Add RtlLargeInteger macros to wdm.h
svn path=/trunk/; revision=46560
Timo Kreuzer [Mon, 29 Mar 2010 05:28:59 +0000 (05:28 +0000)]
merge ntdef.h formatting changes
svn path=/trunk/; revision=46559
Timo Kreuzer [Mon, 29 Mar 2010 05:17:15 +0000 (05:17 +0000)]
Merge bdasup.h
svn path=/trunk/; revision=46558
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
Timo Kreuzer [Mon, 29 Mar 2010 04:49:07 +0000 (04:49 +0000)]
Fix Mm64BitPhysicalAddress
svn path=/trunk/; revision=46556
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
Timo Kreuzer [Mon, 29 Mar 2010 04:14:34 +0000 (04:14 +0000)]
revert r46552 and r46553
svn path=/trunk/; revision=46554
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
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
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
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
Timo Kreuzer [Mon, 29 Mar 2010 02:51:02 +0000 (02:51 +0000)]
fix build
svn path=/trunk/; revision=46549
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
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
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
Timo Kreuzer [Mon, 29 Mar 2010 02:15:21 +0000 (02:15 +0000)]
Fix build
svn path=/trunk/; revision=46545
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
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
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
Sir Richard [Mon, 29 Mar 2010 00:10:56 +0000 (00:10 +0000)]
[COMPBATT]: Helper code, CompBattGetDeviceObjectPointer and BatteryIoctl.
svn path=/trunk/; revision=46541
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
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
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
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
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
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
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
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
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
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
Timo Kreuzer [Sun, 28 Mar 2010 20:11:55 +0000 (20:11 +0000)]
[LIBOLDNAMES]
- add snprintf
svn path=/branches/ros-amd64-bringup/; revision=46524
Timo Kreuzer [Sun, 28 Mar 2010 19:56:11 +0000 (19:56 +0000)]
- Fix assert macro
- Add crt="MSVC" to a number of modules to resolve _assert
svn path=/branches/ros-amd64-bringup/; revision=46523
Timo Kreuzer [Sun, 28 Mar 2010 19:46:29 +0000 (19:46 +0000)]
Fix 32bit RtlInitializeSListHead
svn path=/branches/ros-amd64-bringup/; revision=46522