reactos.git
14 years ago[NTOSKRNL]
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

14 years ago[HAL]
Timo Kreuzer [Thu, 1 Apr 2010 04:19:12 +0000 (04:19 +0000)]
[HAL]
Try to fix build

svn path=/trunk/; revision=46636

14 years ago[KS]
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

14 years ago[BDASUP]
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

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[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 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[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[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[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

14 years ago[LIBOLDNAMES]
Timo Kreuzer [Sun, 28 Mar 2010 20:11:55 +0000 (20:11 +0000)]
[LIBOLDNAMES]
- add snprintf

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

14 years ago- Fix assert macro
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

14 years agoFix 32bit RtlInitializeSListHead
Timo Kreuzer [Sun, 28 Mar 2010 19:46:29 +0000 (19:46 +0000)]
Fix 32bit RtlInitializeSListHead

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

14 years ago[SCSIPORT]
Timo Kreuzer [Sun, 28 Mar 2010 19:30:58 +0000 (19:30 +0000)]
[SCSIPORT]
DDKAPI -> NTAPI

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

14 years agoupdate asm.h from trunk
Timo Kreuzer [Sun, 28 Mar 2010 19:25:40 +0000 (19:25 +0000)]
update asm.h from trunk

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

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 28 Mar 2010 19:22:28 +0000 (19:22 +0000)]
[NTOSKRNL]
- Revert part of r46495 and replace it with much better code

svn path=/trunk/; revision=46519

14 years ago[KSPROXY, MSDVBNP, MSVIDCTL, BDAPLGIN]
Johannes Anderwald [Sun, 28 Mar 2010 19:06:48 +0000 (19:06 +0000)]
[KSPROXY, MSDVBNP, MSVIDCTL, BDAPLGIN]
- Implement DllRegisterServer, DllUnregisterServer for those components
- Add msdvbnp, msvidctl to build
- Add msdvbnp, bdaplgin, msvidctl to bootcd

svn path=/trunk/; revision=46518

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 28 Mar 2010 19:02:07 +0000 (19:02 +0000)]
[NTOSKRNL]
- Add a missing OBJ_CASE_INSENSITIVE attribute so IopIsAcpiComputer doesn't always fail

svn path=/trunk/; revision=46517

14 years ago[PSDK]
Aleksey Bragin [Sun, 28 Mar 2010 15:32:23 +0000 (15:32 +0000)]
[PSDK]
- Manually merge header changes from arwinss branch. Undocumented values are wrapped into #ifdef _WINE so they don't affect non-Wine code.
- Undocumented flags shouldn't be defined multiple times in user32 and win32k. Put them in winuser.h for now, should be factored out into a separate file later.
- Shouldn't break build this time.

svn path=/trunk/; revision=46516

14 years agoRevert 46514, fixes build.
Sylvain Petreolle [Sun, 28 Mar 2010 10:54:44 +0000 (10:54 +0000)]
Revert 46514, fixes build.

svn path=/trunk/; revision=46515

14 years ago[PSDK]
Aleksey Bragin [Sun, 28 Mar 2010 09:32:27 +0000 (09:32 +0000)]
[PSDK]
- Manually merge header changes from arwinss branch.

svn path=/trunk/; revision=46514

14 years ago[NTOS]
Timo Kreuzer [Sun, 28 Mar 2010 07:09:13 +0000 (07:09 +0000)]
[NTOS]
Add KiEoiHelper export for x86 like in trunk

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

14 years ago[FREETYPE]
Timo Kreuzer [Sun, 28 Mar 2010 05:20:27 +0000 (05:20 +0000)]
[FREETYPE]
- Don't include setjmp/longjmp, we have our own

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