Commit graph

41963 commits

Author SHA1 Message Date
Amine Khaldi dde9ac5d8a [DDK]
- miniport.h : Remove VIDEO_ACCESS_RANGE definition.
- ntagp.h : Introduce pragma once, apply a consistent formatting and add some missing definitions.
- video.h : Introduce pragma once, apply a consistent formatting, remove _WINDDI_ guard, group related definitions and add some missing ones.
- videoagp.h : Introduce pragma once and apply a consistent formatting.

svn path=/branches/header-work/; revision=46973
2010-04-21 01:33:08 +00:00
Amine Khaldi 8bb6364e53 [DDK]
- Move nettypes.h to PSDK, introduce pragma once and apply a consistent formatting.
- Remove newdev.h from DDK (it's already in PSDK).
- ndisguid.h and ndiswan.h : Introduce pragma once, apply a consistent formatting and add some missing definitions.
- netpnp.h : Introduce pragma once, apply a consistent formatting and mark NDIS_DEVICE_PNP_EVENT with a FIXME indicating that it belongs to ndis.h
[PSDK]
- newdev.h : Introduce pragma once, apply a consistent formatting, add missing setupapi.h inclusion along with some missing definitions and guard them with the appropriate WINVER.

svn path=/branches/header-work/; revision=46944
2010-04-19 16:18:04 +00:00
Amine Khaldi 1feb14570e [DDK]
- mountdev.h : Guards definition with the appropriate NTDDI_VERSION, and apply a consistent formatting.
- mountmgr.h : Guards definition with the appropriate NTDDI_VERSION, apply a consistent formatting and add some missing definitions.

svn path=/branches/header-work/; revision=46936
2010-04-19 10:31:22 +00:00
Amine Khaldi 701e3bf14a [DDK]
- Move ntddchgr.h and ntddstor.h to PSDK, apply a consistent formatting, group related definitions, add some missing definitions and improve several existing ones.
- scsi.h : Add missing srb.h inclusion, group related definitions, apply a consistent formatting, add several missing definitions and improve a couple of existing ones.
- srb.h : Group related definitions, apply a consistent formatting, add several missing definitions and improve some existing ones.

svn path=/branches/header-work/; revision=46901
2010-04-16 21:43:38 +00:00
Amine Khaldi c7a0a39963 [DDK]
- Move lmon.h to PSDK and apply a consistent formatting.

svn path=/branches/header-work/; revision=46896
2010-04-16 13:42:34 +00:00
Amine Khaldi b9fa9ff882 [DDK]
- Move ksuuids.h to PSDK, apply a consistent formatting, add some missing definitions and guard some with the appropriate NTDDI_VERSION.

svn path=/branches/header-work/; revision=46895
2010-04-16 13:38:34 +00:00
Amine Khaldi bed405a92a [DDK]
- Move ksdebug.h to PSDK, apply a consistent formatting, add missing evntrace.h inclusion and improve a couple of definitions.
[PSDK]
evntrace.h : Introduce pragma once, apply a consistent formatting and add several missing definitions.

svn path=/branches/header-work/; revision=46894
2010-04-16 13:19:55 +00:00
Amine Khaldi 2b0248408a [DDK]
- Move kcom.h to PSDK and apply a consistent formatting.

svn path=/branches/header-work/; revision=46890
2010-04-15 22:28:50 +00:00
Amine Khaldi 3ba7cea0e7 [DDK]
- d4drvif.h : Introduce pragma once, apply a consistent formatting, group related definitions and add several missing ones.
- d4iface.h : Introduce pragma once, apply a consistent formatting and group related definitions.
- dderror.h : Introduce pragma once and apply a consistent formatting.
- dxapi.h : Apply consistent formatting.
- fltsafe.h : Guard FLOATSAFE inside the proper NTDDI_VERSION and apply a consistent formatting.
- kbdmou.h : Introduce pragma once, apply a consistent formatting and add a missing wmidata.h inclusion.
- ntddmou.h : Move to PSDK, introduce pragma once, apply a consistent formatting and add several missing definitions.
[PSDK]
- ntddkbd.h : Introduce pragma once, apply a consistent formatting and add several missing definitions.

svn path=/branches/header-work/; revision=46889
2010-04-15 21:56:39 +00:00
Amine Khaldi 3e032a1c42 [DDK]
- Add missing wmidata.h definitions.

svn path=/branches/header-work/; revision=46888
2010-04-15 21:40:44 +00:00
Timo Kreuzer 0e2cdc86f2 [NDIS]
Fix build

svn path=/branches/header-work/; revision=46869
2010-04-14 19:01:16 +00:00
Amine Khaldi 1698f62b8d [DDK]
ndis.h : Group related definitions, add missing PROTOCOL_RESERVED_SIZE_IN_PACKET, NdisGetFirstBufferFromPacketSafe, NdisSetPacketPoolProtocolId and use _ANONYMOUS_UNION/_ANONYMOUS_STRUCT.

svn path=/branches/header-work/; revision=46866
2010-04-14 13:40:55 +00:00
Amine Khaldi 7927a9d7b6 [DDK]
scsi.h : Add missing READ_TOC formats definitions.

svn path=/branches/header-work/; revision=46865
2010-04-14 12:02:41 +00:00
Timo Kreuzer 3e3a1652c1 [XDK]
- Move WDM version defines to wdm.template.h
- Move USE_DMA_MACROS / NO_LEGACY_DRIVERS to wdm.template.h, remove duplicate

svn path=/branches/header-work/; revision=46810
2010-04-10 11:32:36 +00:00
Amine Khaldi f0e3db2b34 [DDK]
- atm.h : Introduce pragma once, apply consistent formatting and add some missing definitions.

svn path=/branches/header-work/; revision=46799
2010-04-09 21:41:00 +00:00
Amine Khaldi 3d615f92df - 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
2010-04-09 15:35:53 +00:00
Timo Kreuzer b1675d448b [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
2010-04-09 13:06:30 +00:00
Timo Kreuzer 8a7d6a9a0f Don't define u_int64 in wine/dcetypes.idl
svn path=/branches/header-work/; revision=46789
2010-04-09 13:05:00 +00:00
Amine Khaldi 4e795c1f4c - 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
2010-04-07 15:16:21 +00:00
Amine Khaldi 15ca120bcc - 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
2010-04-07 00:02:57 +00:00
Timo Kreuzer 22d1e6dc9e [LIBXML2]
revert last changes to 3rd party code and hack the config  file a bit more instead.

svn path=/branches/header-work/; revision=46746
2010-04-06 12:04:47 +00:00
Timo Kreuzer 195d698a9d [LIBXML2]
Don't define _WINSOCKAPI_

svn path=/branches/header-work/; revision=46745
2010-04-06 11:44:35 +00:00
Timo Kreuzer 24fc3ac27d Remove svn:mergeinfo property from several files
svn path=/branches/header-work/; revision=46694
2010-04-03 08:03:17 +00:00
Amine Khaldi 85da9e3592 Forgot this one.
svn path=/branches/header-work/; revision=46678
2010-04-02 11:44:39 +00:00
Amine Khaldi 1a094fe2b7 [PSDK]
- Fix a couple of macro names.

svn path=/branches/header-work/; revision=46676
2010-04-02 11:32:01 +00:00
Timo Kreuzer 6c59bab9ba fix macro name in iptypes.h
svn path=/branches/header-work/; revision=46675
2010-04-02 11:25:29 +00:00
Amine Khaldi f14dc8bd4e [PSDK]
- winddiui.h : Fix compstui.h inclusion.

svn path=/branches/header-work/; revision=46674
2010-04-02 11:03:53 +00:00
Amine Khaldi e33f57dc6a [DDK]
- Move winddi.h and winddiui.h to PSDK.

svn path=/branches/header-work/; revision=46673
2010-04-02 11:00:45 +00:00
Amine Khaldi 350280885d [PSDK]
- winsock.h : Fix a typo, and remove some duplicate definitions.

svn path=/branches/header-work/; revision=46672
2010-04-02 10:59:35 +00:00
Timo Kreuzer c3f04c87e0 - 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
2010-04-02 10:45:00 +00:00
Timo Kreuzer d12179e0ef fix mingw.rbuild
svn path=/branches/header-work/; revision=46670
2010-04-02 10:19:13 +00:00
Timo Kreuzer 9f70bfed41 fix rbuild file
svn path=/branches/header-work/; revision=46669
2010-04-02 10:18:35 +00:00
Amine Khaldi e06395dacf Sync with trunk head (part 1 or 2)
svn path=/branches/header-work/; revision=46667
2010-04-02 10:03:25 +00:00
Amine Khaldi e998dec477 [PSDK]
- Add missing mstcpip.h, wsipv6ok.h and wspiapi.h definitions.

svn path=/branches/header-work/; revision=46666
2010-04-02 09:14:55 +00:00
Cameron Gutman 66c160f1d6 [NTOSKRNL]
- Implement IoOpenDeviceInterfaceRegistryKey
- Dedicated to Janderwald

svn path=/trunk/; revision=46665
2010-04-02 07:29:54 +00:00
Sir Richard 2f60720f98 [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
2010-04-02 06:46:33 +00:00
Sir Richard cbc12bf14d [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
2010-04-02 06:28:43 +00:00
Cameron Gutman c61b788c62 - Forgot this file
svn path=/trunk/; revision=46661
2010-04-02 04:58:41 +00:00
Michael Martin 44cbfd23f2 [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
2010-04-02 04:49:01 +00:00
Cameron Gutman b121447744 [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
2010-04-02 03:47:14 +00:00
Cameron Gutman 623bc96350 - Fix the cmbatt.sys path
- Add compbatt.sys

svn path=/trunk/; revision=46656
2010-04-01 22:28:35 +00:00
Cameron Gutman 77d4bd5cd3 [CMBATT]
- Remove my cmbatt driver and use lassy's cmbatt driver instead

svn path=/trunk/; revision=46655
2010-04-01 22:24:34 +00:00
Cameron Gutman 633c67bdbf [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
2010-04-01 22:10:38 +00:00
Sir Richard a22393f57a [HAL]: Whoever came up with this MINIHAL idea...
svn path=/trunk/; revision=46653
2010-04-01 20:54:12 +00:00
Sir Richard 881284946b [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
2010-04-01 20:46:55 +00:00
Sir Richard 87c7a8930b [HAL]: HalpActiveProcessors is KAFFINITY, not LONG. Also, MP HAL lacked it.
svn path=/trunk/; revision=46651
2010-04-01 20:42:43 +00:00
Sir Richard a7d94d59ba [HAL]: Fucken' A, I knew I'd forget one.
svn path=/trunk/; revision=46650
2010-04-01 20:41:46 +00:00
Sir Richard dae14f1215 [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
2010-04-01 20:41:04 +00:00
Johannes Anderwald d80fb80a07 [DEVENUM]
- Extend device enumerator to support class enumerators of device interfaces

svn path=/trunk/; revision=46648
2010-04-01 19:48:49 +00:00
Sir Richard 111a56f09b [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
2010-04-01 19:42:07 +00:00