reactos.git
14 years ago[DDK]
Amine Khaldi [Fri, 9 Apr 2010 21:41:00 +0000 (21:41 +0000)]
[DDK]
- atm.h : Introduce pragma once, apply consistent formatting and add some missing definitions.

svn path=/branches/header-work/; revision=46799

14 years ago- Fix WmiFireEvent Guid type.
Amine Khaldi [Fri, 9 Apr 2010 15:35:53 +0000 (15:35 +0000)]
- Fix WmiFireEvent Guid type.
- Define WINSOCK_API_LINKAGE in ws2_32
- Remove winsock.h inclusion from ws2_32/misc/async.c

svn path=/branches/header-work/; revision=46793

14 years ago[RPCRT4]
Timo Kreuzer [Fri, 9 Apr 2010 13:06:30 +0000 (13:06 +0000)]
[RPCRT4]
Remove some definitions from unix_func.h, as we have them in our public headers now. This file is not wine synced.

svn path=/branches/header-work/; revision=46790

14 years agoDon't define u_int64 in wine/dcetypes.idl
Timo Kreuzer [Fri, 9 Apr 2010 13:05:00 +0000 (13:05 +0000)]
Don't define u_int64 in wine/dcetypes.idl

svn path=/branches/header-work/; revision=46789

14 years ago- Fix netstat build.
Amine Khaldi [Wed, 7 Apr 2010 15:16:21 +0000 (15:16 +0000)]
- Fix netstat build.
- Improve WSPSelect declarations in msafd.
- Include the correct wmilib header in wmi.
- Remove a commented out inclusion in ws2san.h

svn path=/branches/header-work/; revision=46763

14 years ago- Move winsplp.h to PSDK and improve it.
Amine Khaldi [Wed, 7 Apr 2010 00:02:57 +0000 (00:02 +0000)]
- Move winsplp.h to PSDK and improve it.
- wspiapi.h : __inline -> FORCEINLINE, alter _WSPIAPI_STRNCPY_S and _WSPIAPI_SPRINTF_S_1
- winspool.h : Add missing PRINTER_NOTIFY_OPTIONS(_TYPE)
- ws2spi.h and also compstui.h : Group some related definitions.
- Add wine/ddk/winsplp.h and winddiui.h wrappers around our files, as wine code wants them in ddk.

svn path=/branches/header-work/; revision=46757

14 years ago[LIBXML2]
Timo Kreuzer [Tue, 6 Apr 2010 12:04:47 +0000 (12:04 +0000)]
[LIBXML2]
revert last changes to 3rd party code and hack the config  file a bit more instead.

svn path=/branches/header-work/; revision=46746

14 years ago[LIBXML2]
Timo Kreuzer [Tue, 6 Apr 2010 11:44:35 +0000 (11:44 +0000)]
[LIBXML2]
Don't define _WINSOCKAPI_

svn path=/branches/header-work/; revision=46745

14 years agoRemove svn:mergeinfo property from several files
Timo Kreuzer [Sat, 3 Apr 2010 08:03:17 +0000 (08:03 +0000)]
Remove svn:mergeinfo property from several files

svn path=/branches/header-work/; revision=46694

14 years agoForgot this one.
Amine Khaldi [Fri, 2 Apr 2010 11:44:39 +0000 (11:44 +0000)]
Forgot this one.

svn path=/branches/header-work/; revision=46678

14 years ago[PSDK]
Amine Khaldi [Fri, 2 Apr 2010 11:32:01 +0000 (11:32 +0000)]
[PSDK]
- Fix a couple of macro names.

svn path=/branches/header-work/; revision=46676

14 years agofix macro name in iptypes.h
Timo Kreuzer [Fri, 2 Apr 2010 11:25:29 +0000 (11:25 +0000)]
fix macro name in iptypes.h

svn path=/branches/header-work/; revision=46675

14 years ago[PSDK]
Amine Khaldi [Fri, 2 Apr 2010 11:03:53 +0000 (11:03 +0000)]
[PSDK]
- winddiui.h : Fix compstui.h inclusion.

svn path=/branches/header-work/; revision=46674

14 years ago[DDK]
Amine Khaldi [Fri, 2 Apr 2010 11:00:45 +0000 (11:00 +0000)]
[DDK]
- Move winddi.h and winddiui.h to PSDK.

svn path=/branches/header-work/; revision=46673

14 years ago[PSDK]
Amine Khaldi [Fri, 2 Apr 2010 10:59:35 +0000 (10:59 +0000)]
[PSDK]
- winsock.h : Fix a typo, and remove some duplicate definitions.

svn path=/branches/header-work/; revision=46672

14 years ago- fix _EXTPUSH (DUMMYUNIONNAME was used twice, like in the broken ms headers)
Timo Kreuzer [Fri, 2 Apr 2010 10:45:00 +0000 (10:45 +0000)]
- fix _EXTPUSH (DUMMYUNIONNAME was used twice, like in the broken ms headers)
- add wine/ddk/compstui.h wrapper around our file, as wine code wants it in ddk

svn path=/branches/header-work/; revision=46671

14 years agofix mingw.rbuild
Timo Kreuzer [Fri, 2 Apr 2010 10:19:13 +0000 (10:19 +0000)]
fix mingw.rbuild

svn path=/branches/header-work/; revision=46670

14 years agofix rbuild file
Timo Kreuzer [Fri, 2 Apr 2010 10:18:35 +0000 (10:18 +0000)]
fix rbuild file

svn path=/branches/header-work/; revision=46669

14 years agoSync with trunk head (part 1 or 2)
Amine Khaldi [Fri, 2 Apr 2010 10:03:25 +0000 (10:03 +0000)]
Sync with trunk head (part 1 or 2)

svn path=/branches/header-work/; revision=46667

14 years ago[PSDK]
Amine Khaldi [Fri, 2 Apr 2010 09:14:55 +0000 (09:14 +0000)]
[PSDK]
- Add missing mstcpip.h, wsipv6ok.h and wspiapi.h definitions.

svn path=/branches/header-work/; revision=46666

14 years ago[NTOSKRNL]
Cameron Gutman [Fri, 2 Apr 2010 07:29:54 +0000 (07:29 +0000)]
[NTOSKRNL]
- Implement IoOpenDeviceInterfaceRegistryKey
- Dedicated to Janderwald

svn path=/trunk/; revision=46665

14 years ago[HALACPI]: Implement HalpQueryResources: We take the resource requirements, find...
Sir Richard [Fri, 2 Apr 2010 06:46:33 +0000 (06:46 +0000)]
[HALACPI]: Implement HalpQueryResources: We take the resource requirements, find the SCI requirement, and convert it into a resource. The ACPI HAL should now report its resoures once the PnP HAL driver model is enabled.

svn path=/trunk/; revision=46664

14 years ago[HALACPI]: Implement querying HALACPI resource requirements. If it exists, the SCI...
Sir Richard [Fri, 2 Apr 2010 06:28:43 +0000 (06:28 +0000)]
[HALACPI]: Implement querying HALACPI resource requirements. If it exists, the SCI Vector is added to the list as a requirement.

svn path=/trunk/; revision=46663

14 years ago- Forgot this file
Cameron Gutman [Fri, 2 Apr 2010 04:58:41 +0000 (04:58 +0000)]
- Forgot this file

svn path=/trunk/; revision=46661

14 years ago[usb/usbehci]
Michael Martin [Fri, 2 Apr 2010 04:49:01 +0000 (04:49 +0000)]
[usb/usbehci]
- Implement tracking port status and change status.
- When device has connected on port, set the port status. For now assume high speed device.
- Fix returning root hubs Status Change Endpoint for URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER.
- Implement USB_REQUEST_GET_STATUS for functions URB_FUNCTION_GET_STATUS_FROM_DEVICE and URB_FUNCTION_CLASS_OTHER. Implement USB_REQUEST_CLEAR_FEATURE and USB_REQUEST_SET_FEATURE.
- Implement IOCTL_INTERNAL_USB_GET_DEVICE_HANDLE to return the root hubs device handle, fix IOCTL_INTERNAL_USB_GET_HUB_COUNT to return 1 vice 0 as the root hub must be accounted for.
- Code based on XEN PV Drivers by James Harper.

svn path=/trunk/; revision=46660

14 years ago[NTOSKRNL]
Cameron Gutman [Fri, 2 Apr 2010 03:47:14 +0000 (03:47 +0000)]
[NTOSKRNL]
- Fix certain scenarios in which a device node can have a NULL instance path which causes registry corruption when we try to write registry keys for that device node
- Create the 'Control' subkey and add the ActiveService value inside it
- Fix a memory leak
- TODO: Fill AllocConfig and FilteredConfigVector

svn path=/trunk/; revision=46659

14 years ago- Fix the cmbatt.sys path
Cameron Gutman [Thu, 1 Apr 2010 22:28:35 +0000 (22:28 +0000)]
- Fix the cmbatt.sys path
- Add compbatt.sys

svn path=/trunk/; revision=46656

14 years ago[CMBATT]
Cameron Gutman [Thu, 1 Apr 2010 22:24:34 +0000 (22:24 +0000)]
[CMBATT]
- Remove my cmbatt driver and use lassy's cmbatt driver instead

svn path=/trunk/; revision=46655

14 years ago[NTOSKRNL]
Cameron Gutman [Thu, 1 Apr 2010 22:10:38 +0000 (22:10 +0000)]
[NTOSKRNL]
- Add 2 parameters to IopUpdateResourceMap to allows for updating different keys
- Implement IopDetectResourceConflict and IopCheckForResourceConflict but don't report the conflicts until we get a resource arbiter
- Halfplement IoReportResourceForDetection

svn path=/trunk/; revision=46654

14 years ago[HAL]: Whoever came up with this MINIHAL idea...
Sir Richard [Thu, 1 Apr 2010 20:54:12 +0000 (20:54 +0000)]
[HAL]: Whoever came up with this MINIHAL idea...

svn path=/trunk/; revision=46653

14 years ago[HAL]: Move all HAL-specific names to halacpi.c and halpcat.c. This includes the...
Sir Richard [Thu, 1 Apr 2010 20:46:55 +0000 (20:46 +0000)]
[HAL]: Move all HAL-specific names to halacpi.c and halpcat.c. This includes the PnP Device Name (e_isa_up vs acpipic_up", the HAL Name, and whether or not the firmware mapper should be disabled (tells I/O Manager to skip legacy detection).
[HAL]: Implement HalpReportUsage! On ACPI, all is implemented, on PC/AT, we don't yet parse the ROM blocks in the registry (but does FreeLDR even put them in?), and I don't think we'll ever enable 16-bit port decoding since FreeLDR never detects ISA vs EISA machines (so we always run as ISA).
[HAL]: Fill out the "????" entries in HalpDefaultIoSpace... more typical Alex "I copied something without knowing what it meant"-magic.

svn path=/trunk/; revision=46652

14 years ago[HAL]: HalpActiveProcessors is KAFFINITY, not LONG. Also, MP HAL lacked it.
Sir Richard [Thu, 1 Apr 2010 20:42:43 +0000 (20:42 +0000)]
[HAL]: HalpActiveProcessors is KAFFINITY, not LONG. Also, MP HAL lacked it.

svn path=/trunk/; revision=46651

14 years ago[HAL]: Fucken' A, I knew I'd forget one.
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

14 years ago[HAL]: Smarter .rbuild separation so that ACPI and PC/AT hal don't rebuild the generi...
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

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

14 years ago[HAL]: Split HalReportResouceUsage into per-platform function, since PC/AT HAL and...
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

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

14 years ago[PCI]: New PCI driver, for the future. Needed for embedded support (ARM/etc) and...
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

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

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

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

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

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 ago[BATTC]
Amine Khaldi [Tue, 30 Mar 2010 21:50:05 +0000 (21:50 +0000)]
[BATTC]
- Correct the inclusion of wmilib
[PSDK]
- ws2tcpip.h improvements, some formatting fixes, remove some duplicate definitions between winsock2.h and ws2def.h
[XDK]
- Move some definitions from ntifs.template.h to more appropriate places.
[NTIFS]
- Reflect XDK changes.

svn path=/branches/header-work/; revision=46608

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[PSDK]
Amine Khaldi [Tue, 30 Mar 2010 13:24:23 +0000 (13:24 +0000)]
[PSDK]
- Improve ws2spi.h

svn path=/branches/header-work/; revision=46596

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 ago[PSDK]
Amine Khaldi [Tue, 30 Mar 2010 10:39:52 +0000 (10:39 +0000)]
[PSDK]
- Add missing ws2ipdef.h definitions.
- Group related definitions.

svn path=/branches/header-work/; revision=46591

14 years ago[PSDK]
Amine Khaldi [Tue, 30 Mar 2010 09:52:11 +0000 (09:52 +0000)]
[PSDK]
- ws2bth.h and ws2def.h : Introduce pragma once and add several missing definitions.
[DDK]
- Improve csq.h

svn path=/branches/header-work/; revision=46590

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 agoSimplify definition of PIMAGE_NT_HEADERS
Timo Kreuzer [Tue, 30 Mar 2010 05:22:15 +0000 (05:22 +0000)]
Simplify definition of PIMAGE_NT_HEADERS

svn path=/branches/header-work/; revision=46581

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[PSDK]
Amine Khaldi [Mon, 29 Mar 2010 23:58:01 +0000 (23:58 +0000)]
[PSDK]
inaddr.h : Fix formatting.
qos.h : Introduce pragma once along with several missing definitions.
winsock(2).h : Introduce pragma once, apply consistent formatting, add so many missing definitions and remove several unrelated ones.

svn path=/branches/header-work/; revision=46577

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