Commit graph

41808 commits

Author SHA1 Message Date
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
Cameron Gutman
bec2c26ca3 [ACPI]
- Implement a DispatchCreateClose handler

svn path=/trunk/; revision=46423
2010-03-25 03:40:41 +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
7be6452a51 Merge from amd64-branch:
44036 (sserapion)
Seems that windows cares about manifests and a mismatched processor architecture is not good. Fix amd64 paint in windows.

44772 (sserapion)
Fix warning cast to 'unsigned int' loses precision.

svn path=/trunk/; revision=46419
2010-03-25 01:59:02 +00:00
Timo Kreuzer
720c15e46d Merge from amd64-branch:
36898 (sserapion)
- Fix 64bit advapi32 build.

35655 (sserapion)
Misc WIN64 fixes.
Implement InitializeCriticalSectionEx

43836 (sserapion)
Fix avicap32 build.

44510 (tkreuzer)
[IPHLPAPI]
Don't redefine _WIN32_WINNT to 0x500. When using the NDK we need at least 0x503 when compiling for 64 bit (XP64 is 502)

39335 (tkreuzer)
[IPHLPAPI]
Fix prototype of RtlAllocateHeap

38092 (sserapion)
[RPCRT4]
Fix 64bit-warnings.

44499 (sserapion)
[SYSSETUP]
Eliminate warning.

38100 (sserapion)
[ADVAPI32]
ULONG -> ULONG_PTR

svn path=/trunk/; revision=46418
2010-03-25 01:06:20 +00:00
Cameron Gutman
e10113d22d [ACPI]
- Don't attempt to parse output arguments if none were returned

svn path=/trunk/; revision=46417
2010-03-25 00:35:36 +00:00
Cameron Gutman
25b4bd1bff [ACPI]
* Add support for ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_SIGNATURE and ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_SIGNATURE
 * Cmbatt is able to set the battery trip point now

svn path=/trunk/; revision=46416
2010-03-25 00:23:41 +00:00
Timo Kreuzer
8208ffdfed [MSVCRT]
Enable exports for _gmtime64, _localtime64, _time64

svn path=/trunk/; revision=46415
2010-03-25 00:04:00 +00:00
James Tabor
6d03f87e81 - Fix for gdibatch, does not help Acrobat reader 7.
svn path=/trunk/; revision=46414
2010-03-24 23:35:23 +00:00
Cameron Gutman
c289730700 [ACPI]
- Fix a warning
 - Implement some IOCTL_ACPI_EVAL_METHOD handling (no input parameters are supported yet but it should be enough for what cmbatt needs it to do)

svn path=/trunk/; revision=46413
2010-03-24 23:13:51 +00:00
Timo Kreuzer
91796fd6b5 [BEEPMIDI]
Fix 64bit compilation

svn path=/trunk/; revision=46412
2010-03-24 23:12:31 +00:00
Amine Khaldi
15ada14c57 [DDK]
- Bring in the signedness warning fix by aicom.

svn path=/branches/header-work/; revision=46411
2010-03-24 23:04:11 +00:00
Timo Kreuzer
bdc2ba7816 [NCI]
- Fix 64bit stubs
[RSYM64]
- fix linux compilation

svn path=/trunk/; revision=46410
2010-03-24 23:03:33 +00:00
Amine Khaldi
0f7b50812f [DDK]
- Move cfg.h and cfgmgr32.h to PSDK, introduce pragma once, apply consistent formatting, add missing definitions and improve several existing ones.
[UNIATA]
- DDKAPI -> NTAPI.

svn path=/branches/header-work/; revision=46409
2010-03-24 22:56:18 +00:00
Cameron Gutman
63dd61cc3d [DDK]
- Fix a signedness warning

svn path=/trunk/; revision=46408
2010-03-24 22:56:16 +00:00
Timo Kreuzer
670842fb2d [ACLEDIT]
remove $Id fields

svn path=/trunk/; revision=46407
2010-03-24 22:56:12 +00:00
Timo Kreuzer
f71e0e99fd [NTIFS]
- KeReleaseQueuedSpinLock
[XDK]
- reorder some #if's
- fix Mm64BitPhysicalAddress

svn path=/branches/header-work/; revision=46401
2010-03-24 20:19:04 +00:00
Johannes Anderwald
79f7266fc6 [KSPROXY]
- Load ksproxy plugins for input / output pins

svn path=/trunk/; revision=46400
2010-03-24 20:05:43 +00:00
Johannes Anderwald
015687d53a [KSPROXY]
- Silent traces

svn path=/trunk/; revision=46399
2010-03-24 17:30:43 +00:00
Johannes Anderwald
4dffda6162 [BDAPLGIN]
- Fix compilation with msvc
- Implement IBDA_PinControl::RegistrationContext
- Register filter with IBDA_NetworkProvider when it is an input pin
- IBDA_PinControl is now working

svn path=/trunk/; revision=46398
2010-03-24 16:04:44 +00:00
Johannes Anderwald
7feccc0f73 [KSPROXY]
- Add support for IKsClockForward interface which is an alias for IKsObject
- CKsClockForwarder is now functional

svn path=/trunk/; revision=46397
2010-03-24 14:03:40 +00:00
Johannes Anderwald
6dc21eed48 [KSPROXY]
- Check in IMemAllocator::GetBuffer if the allocator is commited
- Silence debug prints in IMediaSample
- Implement IBaseFilter::Stop
- Fix race conditions in IBaseFilter::Run, IBaseFilter::Run, IBaseFilter::Stop
- Check for invalid argument in IBaseFilter::Stop
- Call InitializeIOThread when pin state is set to acquired
- Grab current filter handle by obtaining IKsObject interface of the parent filter. Required as the filter handle might be closed by using IAMDeviceRemoval interface
- CLSID_Filter is now fully functional (Windows XP SP3)

svn path=/trunk/; revision=46396
2010-03-24 13:12:34 +00:00
Christoph von Wittich
c58da0629e [CMBATT]
fix build

svn path=/trunk/; revision=46395
2010-03-24 11:10:24 +00:00
Timo Kreuzer
f743212592 [XDK]
- Add some amd64 related Mm variables
- Fix some _WIN2K_COMPAT_SLIST_USAGE definitions
- Add non-x86 spinlock functions

svn path=/branches/header-work/; revision=46392
2010-03-24 05:20:22 +00:00
Timo Kreuzer
10100513f3 [NDK]
- Move RtlFillMemoryUlong into user mode only area
[XDK]
- Add KeFlushIoBuffers for amd64

svn path=/branches/header-work/; revision=46389
2010-03-24 03:21:51 +00:00
Timo Kreuzer
4e669a2682 [XDK]
- Add amd64 KeAcquireSpinLock
- move KeGetCurrentIrql prototype to x86 specific file

svn path=/branches/header-work/; revision=46386
2010-03-24 02:20:51 +00:00
Timo Kreuzer
73c134f384 [XDK]
- Fix and update some amd64 definitions

svn path=/branches/header-work/; revision=46385
2010-03-24 01:39:36 +00:00
Sir Richard
e3bb4c900f [CMBATT]: Implement _UID and _BTP ACPI method calls.
svn path=/trunk/; revision=46383
2010-03-24 00:33:50 +00:00
Sir Richard
3890d249d5 [CMBATT]: Implement ACPI _STA and _PSR method calls.
svn path=/trunk/; revision=46381
2010-03-24 00:24:24 +00:00
Timo Kreuzer
af2f84a5ea Merge trunk HEAD (r46369)
(part 5/x)

svn path=/branches/ros-amd64-bringup/; revision=46379
2010-03-24 00:00:51 +00:00
Timo Kreuzer
9ae0c01261 Merge trunk HEAD (r46369)
(part 4/x)

svn path=/branches/ros-amd64-bringup/; revision=46378
2010-03-23 23:59:58 +00:00
Timo Kreuzer
d99dcece8a Merge trunk HEAD (r46369)
(part 3/x)

svn path=/branches/ros-amd64-bringup/; revision=46377
2010-03-23 23:57:55 +00:00
Timo Kreuzer
cdd97bbca7 Merge trunk HEAD (r46369)
(part 2/x)

svn path=/branches/ros-amd64-bringup/; revision=46376
2010-03-23 23:56:31 +00:00
Timo Kreuzer
a86904e856 Merge trunk HEAD (r46369)
(part 1/x)

svn path=/branches/ros-amd64-bringup/; revision=46375
2010-03-23 23:45:57 +00:00
Sir Richard
5bf71f83d8 [CMBATT]: Implement ACPI package extraction routines, and CmBattSendDownStreamIrp to send ACPI IOCTLs.
svn path=/trunk/; revision=46374
2010-03-23 23:33:58 +00:00
Sir Richard
d94632570f [DDK]: There should not be a DDK-specific ntstatus.h. This is a PSDK header file ("api") in WDK lingo. Overwrite the current outdated PSDK ntstatus.h (which was actually getting used even by drivers due to build system intelligence, so the ddk ntstatus.h was being ignored) with the new DDK ntstatus.h.
svn path=/trunk/; revision=46373
2010-03-23 23:21:29 +00:00
Sir Richard
1e516d2aa8 [CMBATT]: Implement PnP handling. Only the ACPI-facing interface needs to be written now.
svn path=/trunk/; revision=46371
2010-03-23 22:18:04 +00:00
Eric Kohl
d9e2cd3c53 [NTOSKRNL]
Fail if you query a primary token for its impersonation level.

svn path=/trunk/; revision=46370
2010-03-23 21:53:19 +00:00
Timo Kreuzer
15e28917ea fix a typo
svn path=/branches/ros-amd64-bringup/; revision=46369
2010-03-23 21:38:52 +00:00
Timo Kreuzer
f56486bc20 [wingdi]
GetFontUnicodeRanges is _WIN32_WINNT >= 0x0500

svn path=/branches/ros-amd64-bringup/; revision=46368
2010-03-23 21:38:25 +00:00
Timo Kreuzer
4cc2109701 Fix a typo
svn path=/branches/ros-amd64-bringup/; revision=46367
2010-03-23 21:32:01 +00:00
Timo Kreuzer
6716492137 Fix some MSC intrinsics
svn path=/branches/ros-amd64-bringup/; revision=46366
2010-03-23 21:31:39 +00:00
Timo Kreuzer
1be8cd9ee4 [XDK] Move more stuff from ntddk.template.h into appropriate headers
svn path=/branches/header-work/; revision=46365
2010-03-23 21:04:48 +00:00
Timo Kreuzer
83fc2214b9 [XDK]
- add x86/ke.h(mm.h and amd64/mm.h
- cleanup ntddk.template.h, moving stuff into approproate headers

svn path=/branches/header-work/; revision=46364
2010-03-23 20:18:51 +00:00
Timo Kreuzer
0ce290c185 [XDK]
- cleanup wdm.template.h, move to appropriate headers
- move ntddk stuff after wdm stuff in extypes.h
[NTDDK/WDM]
- Regenerate headers

svn path=/branches/header-work/; revision=46363
2010-03-23 19:24:29 +00:00
Amine Khaldi
52281dc572 - Move atsmedia.h to PSDK, introduce pragma once and remove the comments block and the header guard.
- NTDDK -> NTAPI
- DDKCDECLAPI -> __cdecl
- Update wdm.h to reflect the recent XDK changes
- Improve bdasup.h, apply a consistent formatting, introduce pragma once and add the missing BDA_TOPOLOGY_JOINT and KSM_PIN_PAIR definitions

svn path=/branches/header-work/; revision=46362
2010-03-23 18:38:46 +00:00
Timo Kreuzer
47b1e82248 [WDM] Disable some warnings on MSVC
svn path=/branches/header-work/; revision=46361
2010-03-23 18:34:15 +00:00
Timo Kreuzer
6f88dd3240 [XDK]
Improve BYTES_TO_PAGES macro

svn path=/branches/header-work/; revision=46360
2010-03-23 17:09:17 +00:00
Timo Kreuzer
6fae56fbbb [NTIFS]
- Don't check for non existing NTDDI_NT4 (MS typo)
[XDK] 
- Fix PGPE_CONNECT_VECTOR2
- Don't check for non existing NTDDI_WIN2003 (MS typo)

svn path=/branches/header-work/; revision=46359
2010-03-23 16:58:28 +00:00
Timo Kreuzer
5bfe925b10 [XDK]
- Reorder iotypes, putting wdm stuff before ntddk stuff (dependencies)
- Update wdm.h and ntddk.h
- cleanup ntdef.h, use C-style comments

svn path=/branches/header-work/; revision=46358
2010-03-23 16:42:06 +00:00