Commit Graph
42088 Commits
Author SHA1 Message Date
Timo Kreuzer 7bf74e86d2 add _WDMDDK_ include guard
svn path=/branches/header-work/; revision=45899
2010-03-05 22:50:11 +00:00
Amine Khaldi 6f5be9aba2 [NTIFS]
- Introduce #pragma once
- Add missing includes
- Add some struct forwarders
- Add PsGetCurrentProcess, KeNumberProcessors, LSA_UNICODE_STRING, *PLSA_UNICODE_STRING, LSA_OBJECT_ATTRIBUTES and *PLSA_OBJECT_ATTRIBUTES definitions
- Add SID_NAME_USE enum
- Group related definitions

svn path=/branches/header-work/; revision=45898
2010-03-05 22:36:10 +00:00
Amine Khaldi 142386dd70 - Move MMFLUSH_TYPE enum from winddk.h to ntifs.h
- Remove redundant definitions from winddk.h : ObInsertObject, ObMakeTemporaryObject, ObOpenObjectByPointer, ObQueryObjectAuditingByHandle, ZwDeviceIoControlFile and ZwWaitForSingleObject
- ObInsertObject : AdditionalReferences -> ObjectPointerBias and ReferencedObject -> NewObject

Happy birthday Andy ! :)

svn path=/branches/header-work/; revision=45897
2010-03-05 21:51:34 +00:00
Amine Khaldi 3dab427010 HalFreeCommonBuffer and HalReadDmaCounter :
- Move them from winddk.h to wdm.h and make them inline functions
- NTHALAPI -> FORCEINLINE
- PADAPTER_OBJECT  AdapterObject -> PDMA_ADAPTER DmaAdapter

svn path=/branches/header-work/; revision=45896
2010-03-05 21:03:42 +00:00
Amine Khaldi 76bb478173 HalAllocateCommonBuffer :
- Move it from winddk.h to wdm.h and make it an inline function
- NTHALAPI -> FORCEINLINE
- PADAPTER_OBJECT  AdapterObject -> PDMA_ADAPTER DmaAdapter

svn path=/branches/header-work/; revision=45895
2010-03-05 20:57:21 +00:00
Amine Khaldi b7de91f3bf - Move more stuff to wdm.h
- Add NTAPI back to some Io* definitions
- Remove some redundant Io* definitions

svn path=/branches/header-work/; revision=45894
2010-03-05 20:40:37 +00:00
Sylvain Petreolle e9231d6824 Obvious one, add back framebuff as well.
svn path=/trunk/; revision=45893
2010-03-05 20:37:34 +00:00
Sylvain Petreolle de3f446023 Add back vgaddi to the build.
svn path=/trunk/; revision=45892
2010-03-05 20:12:37 +00:00
Timo Kreuzer 0c0b65082e Attempt to fix build of bootcd, by adding back vga and vbe miniport drivers.
svn path=/trunk/; revision=45891
2010-03-05 19:57:53 +00:00
Amine Khaldi f7910da58e - Move more stuff to wdm.h
- DbgPrint(Ex) : PCCH  Format -> PCSTR  Format
- Add NTSYSAPI to vDbgPrintEx(WithPrefix)
- DbgPrintReturnControlC and Dbg{Set,Query}DebugFilterState : NTKERNELAPI -> NTSYSAPI
- Add vKdPrintExWithPrefix definition
- Improve the conditions around KdDebuggerEnabled and KdDebuggerNotPresent definitions

svn path=/branches/header-work/; revision=45890
2010-03-05 19:56:44 +00:00
Christoph von Wittich 6063b53ab2 [KERNEL32_WINETEST]
sync kernel32_winetest to wine 1.1.39

svn path=/trunk/; revision=45889
2010-03-05 19:01:21 +00:00
Amine Khaldi 775b7007f8 - Move more stuff to wdm.h
- Improve more Po* and Zw* definitions

svn path=/branches/header-work/; revision=45888
2010-03-05 18:56:48 +00:00
Christoph von Wittich 4731484299 [RICHED32_WINETEST]
sync riched32_winetest to wine 1.1.39

svn path=/trunk/; revision=45887
2010-03-05 18:50:02 +00:00
Christoph von Wittich b13dd36a83 [RICHED20_WINETEST]
sync riched20_winetest to wine 1.1.39

svn path=/trunk/; revision=45886
2010-03-05 18:49:06 +00:00
Christoph von Wittich 38a74f7e1e [URLMON_WINETEST]
sync urlmon_winetest to wine 1.1.39

svn path=/trunk/; revision=45885
2010-03-05 18:47:06 +00:00
Christoph von Wittich 5df3fe3f82 add dsound_winetest to build
svn path=/trunk/; revision=45884
2010-03-05 18:45:24 +00:00
Christoph von Wittich 71ca03ec6a [DSOUND_WINETEST]
sync dsound_winetest to wine 1.1.39

svn path=/trunk/; revision=45883
2010-03-05 18:44:59 +00:00
Christoph von Wittich 257289fd89 [MAPI32_WINETEST]
sync mapi32_winetest to wine 1.1.39

svn path=/trunk/; revision=45882
2010-03-05 18:41:30 +00:00
Christoph von Wittich 7249fc91c0 [MAPI32]
sync mapi32 to wine 1.1.39

svn path=/trunk/; revision=45881
2010-03-05 18:40:20 +00:00
Christoph von Wittich 1a12523fbe [INETMIB1]
sync inetmib1 to wine 1.1.39

svn path=/trunk/; revision=45880
2010-03-05 18:34:19 +00:00
Christoph von Wittich ddc822b8bb [INETCOMM]
sync inetcomm to wine 1.1.39

svn path=/trunk/; revision=45879
2010-03-05 18:32:19 +00:00
Christoph von Wittich a5b6995391 [FUSION]
sync fusion to wine 1.1.39

svn path=/trunk/; revision=45878
2010-03-05 18:30:07 +00:00
Amine Khaldi d1a7b6136c - Move more stuff to wdm.h
- Improve more Ps* and Se* definitions

svn path=/branches/header-work/; revision=45877
2010-03-05 18:20:08 +00:00
Amine Khaldi a8a908e214 - Move more stuff to wdm.h
- Improve more Ob* definitions

svn path=/branches/header-work/; revision=45876
2010-03-05 18:06:58 +00:00
Amine Khaldi ce32e52bfc - Move more stuff to wdm.h
- Improve more Mm* definitions

svn path=/branches/header-work/; revision=45875
2010-03-05 17:41:41 +00:00
evb d1efdcf9df - New Framebuffer (Linear) Display Driver to support new unified VGA/VBE miniport. Based on NT4 DDK Sample, with modifications by me (marked with // eVb) to support new functionality needed for 2003-era driver.
- Also used Virtual Box Display Driver as sample, which is based on "GPL" Windows 2003 DDK sample driver. Could not use 2003 DDK sample directly because of licensing issues, and feel unsafe about VirtualBox "GPL" driver that says "PATENTED AND ONLY FOR USE IN MICROSOFT PRODUCTS".
- Note that old driver was based off DDK sample too, but with variables renamed (some comments identical!) and code reformatted, then marked as "GPL". This is not very good way to share/use code... one day someone can teach you lesson.


svn path=/trunk/; revision=45874
2010-03-05 17:29:51 +00:00
evb 5ba4b4bbeb - Add new unified VGA/VBE miniport driver. Based on NT4 DDK Cirrus Miniport Driver Sample with my modifications (marked with // eVb) to change Cirrus parts to VGA parts if needed. Also add VBE suppor which is not in Cirrus driver, but exists in Windows VGA miniport.
- Work-in-progress, can boot to GUI with VMWare, but banked modes not yet supported, no VDM, no Mode-X, etc...
- Thanks to sir_richard for help with headers, comments and other English stuff.
- Driver is only built, not yet used.
- NOTE: Some parts of BootVid seem to use functions copied from this sample (VgaInterpretCmdStream) but under "GPL", and also buggy (Chain4 Mode test will not work on most cards and VgaIsPresent == FALSE). Someone should fix.

svn path=/trunk/; revision=45873
2010-03-05 17:22:18 +00:00
Cameron Gutman 4834e2c3d5 - Detach the device object from the stack before deleting it
- Add a hack that selects the correct display number to use which allows other drivers to take over if one driver's HwFindAdapter fails
 - This allows ROS to work on non-VESA 2.0 compliant video cards if /NOVESA is specified
 - NOTE: VGA seems to have regressed quite a bit. The mouse doesn't show up but still works.

svn path=/trunk/; revision=45872
2010-03-05 16:40:40 +00:00
Amine Khaldi 42fde03fe1 - Move more stuff to wdm.h
- Improve more Ke* definitions

svn path=/branches/header-work/; revision=45871
2010-03-05 16:18:23 +00:00
Amine Khaldi 2c852bf801 More work on USB related definitions
svn path=/branches/header-work/; revision=45870
2010-03-05 13:32:58 +00:00
Aleksey Bragin eb6bae0c08 [UNIATA]
- Really perform a controller hard-reset if it can't recover from a soft reset. Fixes VirtualBox one IDE controller configuration (master - IDE, slave - ATAPI).
See issue #5145 for more details.

svn path=/trunk/; revision=45869
2010-03-05 13:23:43 +00:00
Aleksey Bragin ebfc115694 [UNIATA]
- Reduce pause between SelectDrive and ATAPI_RESET from 10000 to 500 (as it is in the old ATAPI driver).

svn path=/trunk/; revision=45868
2010-03-05 13:16:52 +00:00
Amine Khaldi e488e6e43c More work on USB related definitions
svn path=/branches/header-work/; revision=45867
2010-03-05 12:25:38 +00:00
Amine Khaldi 78a63975f8 More work on USB related definitions
svn path=/branches/header-work/; revision=45866
2010-03-05 12:07:35 +00:00
Amine Khaldi 749428da20 More work on USB related definitions
svn path=/branches/header-work/; revision=45865
2010-03-05 11:58:34 +00:00
Amine Khaldi 73cc29ce32 More work on USB related definitions
svn path=/branches/header-work/; revision=45864
2010-03-05 11:44:11 +00:00
Amine Khaldi 97e7fd6cb6 More work on USB related definitions
svn path=/branches/header-work/; revision=45863
2010-03-05 11:12:29 +00:00
Johannes Anderwald 309fb1c02a [PORTCLS]
- Implement a function to retrieve the current acquired mapping tag range of the miniport driver
- Call RevokeMappings when audio pin is stopped

svn path=/trunk/; revision=45862
2010-03-05 10:11:54 +00:00
Amine Khaldi a7ffadade2 More work on USB related definitions
svn path=/branches/header-work/; revision=45861
2010-03-05 09:56:28 +00:00
Johannes Anderwald 95f5adb673 [PORTCLS]
- More cleanup
- Only copy audio bytes to common buffer when the audio pin is in the running state
- Only notify miniport when the audio pin is in the running state

svn path=/trunk/; revision=45860
2010-03-05 09:43:42 +00:00
Johannes Anderwald e3fb834a19 [PORTCLS]
- Remove dead code
- Disable last mapping failed status when a new mapping is inserted
- Notify IMiniportWavePciStream::MappingAvailable when a new mapping has arrived and the last one has failed
- Return STATUS_NOT_FOUND in IPortWavePciStream::GetMapping when no mapping is available
- Don't stop stream when no mapping is currently available 

svn path=/trunk/; revision=45859
2010-03-05 09:09:14 +00:00
Timo Kreuzer c76dfd5cb8 - Convert the members of PCI_COMMON_HEADER into a #define to avoid inheritance on C++, which would render the type a non-POD, causing compilation errors.
- IoInitializeDpcRequest expects PIO_DPC_ROUTINE as 2nd parameter, fix callers.
- While FILE_CHARACTERISTIC_PNP_DEVICE is defined in the DDK/WDK, _SYSTEM_INFORMATION_CLASS is not, fix include guards in ntddk_ex.h
- add InterlockedBitTestAndSet64 and InterlockedBitTestAndReset64 for amd64
- Fix definition of NLS_MB_CODE_PAGE_TAG for gcc
- Fix parameters of DMA inline functions
- remove duplicate IoAllocateAdapterChannel
- Everything compiles again -> Amine, your turn :)

svn path=/branches/header-work/; revision=45858
2010-03-05 04:03:34 +00:00
Sir Richard ea5024f932 [DDK]: Add missing video IOCTLs.
svn path=/trunk/; revision=45857
2010-03-05 01:27:43 +00:00
Amine Khaldi 7ff52a15bf More work on USB related definitions
svn path=/branches/header-work/; revision=45856
2010-03-05 01:12:11 +00:00
Cameron Gutman 858705878a - Fail HwFindAdapter if VESA is disabled
- This should allow VGA to take over but it doesn't work due to a bug in videoprt

svn path=/trunk/; revision=45855
2010-03-05 01:09:24 +00:00
Amine Khaldi 9605671f96 More work on USB related definitions
svn path=/branches/header-work/; revision=45854
2010-03-05 01:07:08 +00:00
Amine Khaldi 846448c7ab More work on USB related definitions
svn path=/branches/header-work/; revision=45853
2010-03-05 00:54:36 +00:00
Timo Kreuzer 0651773e46 Fix TdiBuildBaseIrp by adding the missing ;
svn path=/branches/header-work/; revision=45852
2010-03-05 00:34:26 +00:00
Timo Kreuzer 9a46e3d7d6 add back missing IoAllocateAdapterChannel
svn path=/branches/header-work/; revision=45851
2010-03-05 00:31:37 +00:00
Amine Khaldi 4a9a65ab2a More work on USB related definitions
svn path=/branches/header-work/; revision=45850
2010-03-05 00:15:36 +00:00