Commit graph

30 commits

Author SHA1 Message Date
Timo Kreuzer fae2044a23 [CMAKE]
Integrate cmake stuff into trunk
Only files added.

svn path=/trunk/; revision=51783
2011-05-16 13:12:07 +00:00
Timo Kreuzer a5f7b08edf Move IoAttachDeviceToDeviceStackSafe to ntddk.h
svn path=/trunk/; revision=46565
2010-03-29 09:15:47 +00:00
Timo Kreuzer 59f2edfce7 revert r46552 and r46553
svn path=/trunk/; revision=46554
2010-03-29 04:14:34 +00:00
Timo Kreuzer b359df2f32 Reintegrate header branch part 7/x
Merge the rest and see what happens....

svn path=/trunk/; revision=46553
2010-03-29 03:52:10 +00:00
Timo Kreuzer 719200874a Revert r46466 this time for real
svn path=/trunk/; revision=46493
2010-03-27 18:57:56 +00:00
Timo Kreuzer d0701d72b7 Reintegrate header branch
- DDKAPI -> NTAPI
- delete duplicate definitions
- move files to right locations
- Fix Mm64BitPhysicalAddress definition
- Add a number of missing definitions
- add XDK

svn path=/trunk/; revision=46466
2010-03-26 13:50:02 +00:00
Timo Kreuzer eb884f4969 Merge from amd64-branch:
36380 (tkreuzer)
[SCSIPORT]
Implement some functions that are forwarded to HAL on x86 build, but not on x64. Modify spec file (use preprocessor macro).

36397 (tkreuzer)
[SCSIPORT]
rename .spec to .pspec

36949 (sginsberg)
- Fix NTFS FSD compilation

36951 (sginsgerb)
[NE2000]
- Fix ne2000 compilation (treat pointer size as ULONG_PTR, correct function prototypes)

36958 (sginsberg)
[ISAPNP]
- Fix isapnp compilation for 64-bit

36961 (sginsberg)
[SERIAL]
- Make serial build for 64 bit -- explicitly cast first parameter to InterlockedCompareExchangePointer
to PVOID

36964 (sginsberg)
- Fix DXG 64-bit compilation

36972 (sserapion)
[VGA]
- When doing pointer arithmetic, ULONG_PTR is your friend

37234 (tkreuzer)
[SCSIPORT]
Fix scsiport, by using pspec again.

40927 (tkreuzer)
[BMFD]
HGLYPH is an ULONG. Use offset to glyph entry as HGLYPH instead of the pointer to fix 64bit build.

41070 (tkreuzer)
[TCPIP]
fix a pointer to ULONG cast

41500 (tkreuzer)
[NDIS]
Pass ULONG* to MiniQueryInformation for the number of written bytes instead of ULONG_PTR*

41502 (tkreuzer)
[WDMAUD]
Make DeviceIndex a ULONG_PTR

44339 (sserapion)
[NDIS]
Fix ndis build.

svn path=/trunk/; revision=46424
2010-03-25 03:50:46 +00:00
Timo Kreuzer 2a334428fc Merge from amd64-branch:
34803 (sserapion)
Fix more warnings.
Convert pciidex to use spec file.

34864 (tkreuzer) // checkme vielleicht schon gemerged?
[NDIS]
fix some ULONG to pointer casts

34870 (tkreuzer)
[TCPIP]
- fix some pointer to ULONG casts

34874 (tkreuzer)
class2: fix ULONG to pointer cast

34877 (tkreuzer)
- fix LARGE_INTEGER to pointer cast

35781 (tkreuzer)
[NDIS]
define some fastcall functions to the normal functions on amd64

36011 (tkreuzer)
[NDIS]
Fix a ULONG to pointer cast.

36012 (tkreuzer)
[SCSIPORT]
more ulong <-> pointer fixes

svn path=/trunk/; revision=46422
2010-03-25 03:24:44 +00:00
Timo Kreuzer 9ea495ba33 Create a branch for header work.
svn path=/branches/header-work/; revision=45691
2010-02-26 22:57:55 +00:00
Dmitry Gorbachev ab802377c7 - Remove svn:needs-lock, svn:eol-type, and svn:eol-tyle properties.
- Add missing svn:eol-style properties.

svn path=/trunk/; revision=43389
2009-10-12 03:35:35 +00:00
Stefan Ginsberg e7e6699ae1 - Use MAXUINT, MAXULONG, MAXDWORD, MAXULONGLONG and MAXULONGLONG instead of ~0 or casting -1 to unsigned.
- bintype.c: Use INVALID_SET_FILE_POINTER instead of (DWORD)-1.
- irp.c: KsGetNodeIdFromIrp returns KSFILTER_NODE (which is -1).
- basetsd.h: Add missing MAXUINT and MAXULONGLONG.
- typedefs.h: Add MAXULONG for mkhive.
- elf.inc.h and pe.c: Remove incorrect and unneeded MAXULONG define.

svn path=/trunk/; revision=43192
2009-09-27 20:07:43 +00:00
Stefan Ginsberg ea23cd10c2 - Start deprecating TAG()
- Fix inverted tags in prntfont.h, stdunk.h and win32k/objects/font.c

svn path=/trunk/; revision=42915
2009-08-24 17:12:25 +00:00
Stefan Ginsberg 131ca9ba08 - Change DPRINT to INFO_ to silence the spam
svn path=/trunk/; revision=39012
2009-01-22 13:35:13 +00:00
Stefan Ginsberg 25efba5b5b - Fix leftover from 38960
svn path=/trunk/; revision=38983
2009-01-20 18:58:08 +00:00
Stefan Ginsberg dc7184e73f Fix the completely retarded implementation of KdComPortInUse.
The original definition of this variable seems to have been based on the retarded type in the serial.sys source sample, which defines it as:

extern PUCHAR *KdComPortInUse;

This, somehow, works in MSVC, but gcc complains about the lack of import specifier (KdComPortInUse is exported by HAL).
This was 'fixed' by adding the import specifier to ros.
So instead of: PUCHAR *KdComPortInUse;
We ended up with: NTHALAPI PUCHAR *KdComPortInUse;
Which becomes 3 dereferences instead of 2, which is incorrect. This was 'fixed' by hacking the variable in HAL too.
Use "extern PUCHAR NTHALAPI KdComPortInUse" to be compatible with both compilers, remove the HAL hacks, and fix the usage of the variable.

Fixes the serial.sys crash when booted with _WINKD_ + kdcom from Windows 2003, as kdcom would (due to the HAL hack) set the internal 'pointer' to the port value, and serial would end up dereferencing the port address

svn path=/trunk/; revision=38960
2009-01-19 23:22:22 +00:00
Hervé Poussineau ddd86fea53 Add missing breaks
Spotted by Maciej Bialas (bjauy at o2.pl)

svn path=/trunk/; revision=38589
2009-01-05 20:36:39 +00:00
Hervé Poussineau 7d3efdbdb0 Fix serial devices detection
Thanks at Maciej Bialas (bjauy at o2.pl) for testing

svn path=/trunk/; revision=38512
2009-01-02 22:12:48 +00:00
Dmitry Gorbachev ebaf0cf88c Silence compiler warnings (4/11).
svn path=/trunk/; revision=37826
2008-12-03 17:29:38 +00:00
Samuel Serapion 0d442f4cec Fix more warnings.
Convert pciidex to use spec file.
NOTE: drivers need to be carefully reviewed for 64bit safety. There is a lot of stuff that can kill us that won't show up in any compiler, knowing ros we probably have at least some issues. Everything but network/ compiles error free.

svn path=/branches/ros-amd64-bringup/; revision=34803
2008-07-26 06:08:04 +00:00
Hervé Poussineau 36ce0cd8af Forward all IRPs, even unknown ones
svn path=/trunk/; revision=33577
2008-05-18 11:45:26 +00:00
Hervé Poussineau ab0acbf7ef Remove IRP_MJ_QUERY_INFORMATION / FileNetworkOpenInformation
Fix misc bugs

svn path=/trunk/; revision=33542
2008-05-16 19:00:47 +00:00
Hervé Poussineau 507a803c65 serial: Fix FileStandardInformation and FilePositionInformation classes
serial: Add FileNetworkOpenInformation class
serenum: Pass all requests to next driver, even unknown ones

svn path=/trunk/; revision=33430
2008-05-11 09:51:46 +00:00
Hervé Poussineau 8fbe89bbba Use kernel facilities to change debug level at runtime
svn path=/trunk/; revision=31639
2008-01-07 12:57:32 +00:00
Hervé Poussineau 3a0687218d Use kernel facilities to change debug level at runtime
svn path=/trunk/; revision=31482
2007-12-28 21:10:07 +00:00
Hervé Poussineau aabdae9d56 No need to define __USE_W32API
svn path=/trunk/; revision=29815
2007-10-23 08:12:28 +00:00
Daniel Reimer ae7da04787 Delete all Trailing spaces in code.
svn path=/trunk/; revision=29690
2007-10-19 23:21:45 +00:00
Hervé Poussineau 4b912ebbbc Clean up .rbuild files and make them xml compliant
Inspired by bug 2627

svn path=/trunk/; revision=29036
2007-09-14 17:07:53 +00:00
Hervé Poussineau e392256c32 Do not complain on IRP_MN_FILTER_RESOURCE_REQUIREMENTS
svn path=/trunk/; revision=27526
2007-07-08 22:19:51 +00:00
Hervé Poussineau e394d5e78d Fix usage of KdComPortInUse
svn path=/trunk/; revision=27515
2007-07-08 20:13:20 +00:00
Alex Ionescu baf845546d - Add missing .rbuild files from last commit.
- Move serial stack to /serial.
- Move parallel stack to /parallel and make room for parport/parclass (NT5+ Parallel stack).

svn path=/trunk/; revision=26251
2007-04-03 14:22:00 +00:00