Commit graph

43068 commits

Author SHA1 Message Date
Timo Kreuzer ac595f39c9 [KERNEL32]
DWORD -> SIZE_T in ReadProcessMemory

svn path=/trunk/; revision=48092
2010-07-17 05:18:31 +00:00
evb f43651e238 Add config interface start (PciReadWriteConfigSpace, PciReadSlotConfig)
Add PDO_EXTENSION structure and PCI_FUNCTION_RESOURCES, now delete #if0 in old code since PDO_EXTENSION is now exist defintion
Add ID Class/Subclass to description functions (PciGetDeviceDescriptionMessage, PciGetDescriptionMessage), use pciclass.mc from sir_richard
New debug: PciDebugDumpCommonConfig
Implement IRP_MN_QUERY_DEVICE_RELATIONS with PciFdoIrpQueryDeviceRelations and PciQueryDeviceRelations
Begin PciScanBus, now just dump all found device with no more work (0 QDR return)

svn path=/trunk/; revision=48091
2010-07-17 01:31:26 +00:00
Timo Kreuzer 4234345b03 Fix CryptReleaseContext parameter, wine uses an outdated version (< NTDDI_WINXP)
svn path=/trunk/; revision=48090
2010-07-16 21:30:29 +00:00
Timo Kreuzer 623cc2e0dd [WS2_32]
DWORD -> DWORD_PTR

svn path=/trunk/; revision=48089
2010-07-16 20:24:32 +00:00
Timo Kreuzer 9908019e62 [VIDEOPRT]
Merge r40926 from amd64 branch:
return ERROR_INVALID_FUNCTION on amd64, not ERROR_INVALID_ACCESS from VideoPortEn/DisableInterrupt. Fixes compilation of videoprt for amd64.

svn path=/trunk/; revision=48088
2010-07-16 19:20:49 +00:00
Timo Kreuzer 677bd3c418 [NTOSKRNL]
- #if out RtlpCaptureStackLimits on amd64 as well

svn path=/trunk/; revision=48087
2010-07-16 17:53:00 +00:00
Timo Kreuzer d2c2d5b635 [NDK]
Merge r44053 from amd64 branch:
- Add KEXCEPTION_FRAME

svn path=/trunk/; revision=48086
2010-07-16 17:20:46 +00:00
Timo Kreuzer 3c70caa7e3 [NTOSKRNL]
Add MM_HIGHEST_VAD_ADDRESS for amd64

svn path=/trunk/; revision=48085
2010-07-16 17:14:53 +00:00
Timo Kreuzer ef44812048 [NTOSKRNL]
#if out another broken C_ASSERT on amd64

svn path=/trunk/; revision=48084
2010-07-16 16:30:05 +00:00
Timo Kreuzer 36fa896cff [NTOSKRNL]
Comment out a broken C_ASSERT on amd64 to make it compile.

svn path=/trunk/; revision=48083
2010-07-16 15:11:44 +00:00
Timo Kreuzer 2faf924bad [CRT]
Move #include <precomp.h> to the top, as precompiled headers must be the first thing that is included or it won't take advantage of being precompiled

svn path=/trunk/; revision=48082
2010-07-16 15:08:03 +00:00
Timo Kreuzer f01fb95ae9 [NTOSKRNL]
ULONG -> SIZE_T

svn path=/trunk/; revision=48081
2010-07-16 14:56:36 +00:00
Gabriel Ilardi 386c15f491 Fix build, sorry. Thanks Timo.
svn path=/trunk/; revision=48080
2010-07-16 13:37:29 +00:00
Timo Kreuzer e6d5126886 Merge r44143 from amd64 branch
Initialize MmDebugPte from MiDebugMapping variable instead of using MiAddressToPte for a constant initializer. This way the page can be set dynamically. Use MmDebugPte to determine if ready for mapping physical pages.

svn path=/trunk/; revision=48079
2010-07-16 13:23:43 +00:00
Gabriel Ilardi f9dc8f0766 [CRT]
Add a debug print to help bugs like 5486.

svn path=/trunk/; revision=48078
2010-07-16 13:00:02 +00:00
Daniel Reimer d17757a733 [PATCH] user32: DrawText: CJK and Thai line-wrapping
[PATCH] appwiz: check if path is valid
Both by Katayama Hirofumi

svn path=/trunk/; revision=48077
2010-07-16 12:52:37 +00:00
Timo Kreuzer 3421c58c28 [NTOSKRNL]
ULONG -> ULONG_PTR

svn path=/trunk/; revision=48076
2010-07-16 12:27:40 +00:00
evb 2261af5265 IRP_MN_START_DEVICE implement for ROOT FDO (PciFdoStartDevice)
PciInitializeArbiterRanges implement to scan arbiter   not yet construct since Arb library missing
Add PCI state machine (PciBeginStateTransition, PciCancelStateTransition, PciCommitStateTransition) andtransition array (PnpStateTransitionArray) to check if valid
Now IRP_MN_QUERY_DEVICE_RELATIONS sent to ROOT FDO means time to enumerate bus!

svn path=/trunk/; revision=48075
2010-07-16 01:14:52 +00:00
evb add164dcfa Fix for code to handle IRP dispatching when unrecognized IRP (Thanks you sir_richard)
Add FDO IRP_MN_QUERY_INTERFACE support (it calls PciQueryInterface)
Add all PCI interface descriptor: PciLocationInterface (GUID_PNP_LOCATION_INTERFACE), PciPmeInterface (GUID_PCI_PME_INTERFACE), PciCardbusPrivateInterface (GUID_PCI_CARDBUS_INTERFACE_PRIVATE), PciLegacyDeviceDetectionInterface (GUID_LEGACY_DEVICE_DETECTION_STANDARD), AgpTargetInterface (GUID_AGP_TARGET_BUS_INTERFACE_STANDARD), PciRoutingInterface (GUID_INT_ROUTE_INTERFACE_STANDARD), BusHandlerInterface (GUID_BUS_INTERFACE_STANDARD) and stub initializer and constructor.
Add missing devhere.c interface file
Add all PCI arbiter descritptor: ArbiterInterfaceBusNumber, ArbiterInterfaceMemory, ArbiterInterfaceIo. Write constructor stub but not handled ArbitersInitialized == TRUE
Also add last-resort PCI interface: TranslatorInterfaceInterrupt (GUID_TRANSLATOR_INTERFACE_STANDARD) and part implement tranirq_Constructor
Add PciQueryInterface to find correct FDO/PDO/ROOT interface for a request and call interface constructor
Fix interface signatures, fix interface constructor type and PCI_INTERFACE, add interface flags (Thanks sir_richard)
Fix Aribtriter code (Thanks sir_richard)
Now another 1200 codes added, soon time for enumeration code!

svn path=/trunk/; revision=48074
2010-07-16 00:39:54 +00:00
Timo Kreuzer d80d59dbff Merge 36852, 37322, 37333, 37334, 43428, 43451, 44259, 46404 from amd64 branch.
- Multiple ULONG/ULONG_PTR/SIZE_T issues
- Use SLIST_ENTRY instead of SINGLE_LIST_ENTRY with InterlockedPushEntrySList
- Use %p to print pointer sized values


svn path=/trunk/; revision=48073
2010-07-16 00:34:26 +00:00
Timo Kreuzer 8e13b57dcf Add MI_MIN_SECONDARY_COLORS, MI_SECONDARY_COLORS and MI_MAX_SECONDARY_COLORS for amd64
svn path=/trunk/; revision=48072
2010-07-16 00:03:03 +00:00
Timo Kreuzer 72053553f4 [NTOSKRNL]
Some ULONG vs SIZE_T fixes

svn path=/trunk/; revision=48071
2010-07-15 23:56:53 +00:00
Timo Kreuzer 820d3edcb0 Merge 44257 from amd64 branch:
PFN_TYPE -> PFN_NUMBER

svn path=/trunk/; revision=48070
2010-07-15 22:50:12 +00:00
Timo Kreuzer 70103e0a78 Remove svn:mergeinfo property
svn path=/trunk/; revision=48069
2010-07-15 22:43:13 +00:00
Amine Khaldi b22a3883dc [PSDK]
- Fix WS2TCPIP_INLINE : extern inline -> static inline

svn path=/trunk/; revision=48067
2010-07-15 19:34:21 +00:00
Jérôme Gardou 9889c134f2 SVN wins again... What's that?
Revert everything that's not related to 48064 of 48065.

svn path=/trunk/; revision=48066
2010-07-15 19:29:45 +00:00
Jérôme Gardou af95756f02 Merge 48064 from yarotows
This had nothing to do in yarotows in the first place

svn path=/trunk/; revision=48065
2010-07-15 19:19:48 +00:00
Timo Kreuzer 060168268f [NTOSKRNL]
Fix some amd64 KGDT constant names

svn path=/trunk/; revision=48063
2010-07-15 11:24:17 +00:00
Timo Kreuzer 11d95dfa7e [NTOSKNL]
#undef IoAllocateAdapterChannel before implementing it

svn path=/trunk/; revision=48062
2010-07-15 11:20:22 +00:00
Gabriel Ilardi 87bf4616fb [shellapi.h] Fix build copy pasta spotted by encoded
svn path=/trunk/; revision=48061
2010-07-15 07:16:08 +00:00
Timo Kreuzer 0d37dab9f3 [NTOSKRNL]
Fix ExInitializeRundownProtectionCacheAware parameter (ULONG -> SIZE_T)

svn path=/trunk/; revision=48060
2010-07-15 01:34:50 +00:00
Timo Kreuzer f08b9d1821 [NTOSKRNL]
- Define PD_COUNT, PDE_COUNT, PTE_COUNT for amd64, we should probably use PTE_PER_PAGE... instead
- Fix incompatible declaration of MmResidentAvailablePages
- Prevent duplicate definitions

svn path=/trunk/; revision=48059
2010-07-15 01:10:18 +00:00
Timo Kreuzer 0f9bd40ee3 [NTOSKRNL]
Remove the old amd64 compilation hack

svn path=/trunk/; revision=48058
2010-07-15 00:42:26 +00:00
Timo Kreuzer 8518877b95 [NTOSKRNL]
Apply a workaround for WDK headers

svn path=/trunk/; revision=48057
2010-07-15 00:24:38 +00:00
Timo Kreuzer 20b79b0029 [NTOSKRNL]
KeQuerySystemTime and KeQueryInterruptTime are not implemenetd on amd64

svn path=/trunk/; revision=48056
2010-07-15 00:07:31 +00:00
Timo Kreuzer 50e511c01d [shellapi.h]
fix inclusion of pshpack / poppack (global and not for _WIN64)

svn path=/trunk/; revision=48055
2010-07-14 23:52:48 +00:00
Timo Kreuzer 6ae7a76cda [ntdll_winetest]
Comment out some tests for WIN64 builds (wine headers are broken)

svn path=/trunk/; revision=48054
2010-07-14 23:13:31 +00:00
Timo Kreuzer 58358394d6 Fix build
svn path=/trunk/; revision=48053
2010-07-14 22:32:06 +00:00
Sylvain Petreolle 2500a82fc2 gdi32:generated should now build on x64.
svn path=/trunk/; revision=48052
2010-07-14 22:08:19 +00:00
Sylvain Petreolle 34316a4b6a A little closer to x64 compat in GDI headers.
Patch by Samuel Serapion.


svn path=/trunk/; revision=48051
2010-07-14 22:02:51 +00:00
Timo Kreuzer b90cf1a22e [GDI32_WINETEST]
Don't compile generated.c on amd64

svn path=/trunk/; revision=48050
2010-07-14 21:36:24 +00:00
Cameron Gutman 79e8db1b56 [PING]
- Fix a bug in the lost packet counter code which could result in a negative received value

svn path=/trunk/; revision=48046
2010-07-14 19:32:03 +00:00
Daniel Reimer 7fe1842203 Bug 5413: [PATCH] regedit: app key on treeview/listview
Bug 5473: [PATCH] regedit: selection on hexedit
Both from Katayama Hirofumi

svn path=/trunk/; revision=48045
2010-07-14 18:15:43 +00:00
Daniel Reimer 585c3a511e Fix setupapi setupcab winetest. (Samuel Serapion)
svn path=/trunk/; revision=48044
2010-07-14 17:18:49 +00:00
Daniel Reimer a67f202e5e Fix libtiff's external functions.
svn path=/trunk/; revision=48043
2010-07-14 17:12:22 +00:00
Jérôme Gardou 1954fd59da [WIN32K]
- Properly initialize hVisRgn in CLIPPING_UpdateGCRegion
This fixes a whole bunch of "IntGdiCombineRgn requires hSrc2 != NULL for combine mode 1!", and probably some bugs.
Dedicated to encod3d.

svn path=/trunk/; revision=48042
2010-07-14 16:12:32 +00:00
Jérôme Gardou 746e0c9afd [USER32]
- WINE creates an alpha bitmap on icon creation, we do it when drawing it, so we need to create a bitmap which holds alpha information.
  - Add error handling to CreateIconIndirect.

svn path=/trunk/; revision=48041
2010-07-14 15:42:44 +00:00
Jérôme Gardou d61b5efe6c [WIN32K, USER32]
- Get rid of ONEPARAM_ROUTINE_CREATECURICONHANDLE

svn path=/trunk/; revision=48040
2010-07-14 15:01:02 +00:00
Jérôme Gardou 8ad729230c [W32KNAPI]
- Test ONE_PARAM_ROUTINE_CREATEEMPTYCUROBJECT
  - Test NtUserGetIconInfo

svn path=/trunk/; revision=48039
2010-07-14 14:56:53 +00:00
Daniel Reimer f4769202d7 Reapply some Win32 specific magic to properly build a Windows DLL of libjpeg. (Samuel Serapion)
svn path=/trunk/; revision=48038
2010-07-14 14:53:35 +00:00