Commit graph

43433 commits

Author SHA1 Message Date
Timo Kreuzer 64cf51962c [dbghelp.h] / [imagehlp.h]
- fix LOADED_IMAGE, UpdateDebugInfoFile, UpdateDebugInfoFileEx, ReBaseImage

svn path=/trunk/; revision=48306
2010-07-27 14:08:36 +00:00
Amine Khaldi ff9c2c0033 [PSDK]
- Mark TraceMessageVa as WMIAPI.

svn path=/trunk/; revision=48300
2010-07-27 09:56:21 +00:00
Amine Khaldi 012c09c954 [XDK]
- WmiTraceMessageVa is NTAPI, not __cdecl.
[DDK]
- Update wdm.h to reflect XDK changes.

svn path=/trunk/; revision=48299
2010-07-27 09:14:13 +00:00
evb bf7de6528b Add all pci bridge control function (PciBridgeIoBase, PciBridgeIoLimit, PciBridgeMemoryBase, PciBridgeMemoryLimit, PciBridgePrefetchMemoryBase, PciBridgePrefetchMemoryLimit, PciBridgeMemoryWorstCasealignment, PciBridgeIsPositiveDecode, PciBridgeIsSubtractiveDecode)
More support ICH0/1/2/3/4 hub
Add all PCI2PCI bridge limit/current resource codes (PPBridge_*), now is BAR setup okay, and Device_* must be implement
Support ISA+VGA legacy decode, 20+64-bit decode, ROM BAR, prefetch BAR

svn path=/trunk/; revision=48298
2010-07-27 03:24:24 +00:00
Daniel Reimer 8458508701 Maybe fix dbghelp build on 64 bit.
svn path=/trunk/; revision=48292
2010-07-26 23:48:15 +00:00
Timo Kreuzer ac342cea5f [NTOSKRNL]
◙ Fix MiInitializePageTable
◙ Comment out some more code for amd64

svn path=/trunk/; revision=48291
2010-07-26 23:09:17 +00:00
Daniel Reimer 7d17455cc4 Sync dbghelp and imagehlp to Wine 1.2
Winhttp and Wininet don't like me and so I skip them for now.

svn path=/trunk/; revision=48290
2010-07-26 22:33:59 +00:00
Giannis Adamopoulos e3b6d0cea7 Revert a part of my previous commit
svn path=/trunk/; revision=48289
2010-07-26 21:48:52 +00:00
Sir Richard a9fb81cbae [NTOS]: Another long-lost-promised straggler for Timo. There may be more of these needed, this is what I had done on my disk.
svn path=/trunk/; revision=48288
2010-07-26 21:45:42 +00:00
Giannis Adamopoulos 91f37cae9a [ntos]
- Fix several issues with msvc in ntoskrnl
- Add ATTRIB_NORETURN definition which will be used by function pointers because msvc doesn't like DECLSPEC_NORETURN in function pointers

svn path=/trunk/; revision=48287
2010-07-26 21:32:38 +00:00
Daniel Reimer f126b1d282 Sync winemp3.acm with Wine HEAD. This one uses libmpg123 which was added in Version 1.12.3. Thx to Timo Kreuzer for telling me the magics of the crt="dll" switch.
svn path=/trunk/; revision=48279
2010-07-26 15:04:32 +00:00
Timo Kreuzer deaaddddb6 [reactos.dff]
make explorer.exe and ntvdm optional

svn path=/trunk/; revision=48278
2010-07-26 14:01:57 +00:00
Amine Khaldi 6e64b7602b [PSDK]
- Rename _WINIOCTL_H to _WINIOCTL_

svn path=/trunk/; revision=48277
2010-07-26 13:49:12 +00:00
Timo Kreuzer 79de2377a7 Add hivecls_amd64.inf
svn path=/trunk/; revision=48276
2010-07-26 13:43:40 +00:00
Sylvain Petreolle 602ffa4c9a Add diffs for msimtf and atl.
svn path=/trunk/; revision=48275
2010-07-26 09:13:50 +00:00
Pierre Schweitzer 41c67f722a Get back r47063 & r47960 reverted by r48273
svn path=/trunk/; revision=48274
2010-07-26 08:54:26 +00:00
Daniel Reimer 6170959bce Finish the Wine sync. These components are not just rc file changes
atl, comctl32, comdlg32, dwmapi, fusion, gdiplus, jscript, mpr, mshtml, msi, msimtf, msxml3, ole32, oleaut32, riched20, shdocvw, shlwapi, urlmon, usp10, version and windowscodecs
Seems to build and boot. /me hides

svn path=/trunk/; revision=48273
2010-07-26 02:26:04 +00:00
Timo Kreuzer 032f133284 Add amd64 inf files
svn path=/trunk/; revision=48272
2010-07-26 01:42:31 +00:00
Timo Kreuzer 0e58e11548 [CRT]
Add logf wrapper

svn path=/trunk/; revision=48271
2010-07-26 01:10:20 +00:00
Daniel Reimer 8a3289ed5c Wine dll sync commit 1 of 2.
This one syncs all dlls which only have resource file changes.
avifil32, credui, crypt32, cryptdlg, cryptui, iccvid, kernel32, localspl, localui, mapi32, msacm32, msrle32, msvfw32, msvidc32, oleacc, oledlg, pstorec, shdoclc, wldap32

svn path=/trunk/; revision=48269
2010-07-26 00:12:22 +00:00
Timo Kreuzer 1c9a033a6c [MSVCRT]
Add exports for ceilf, cosf, logf

svn path=/trunk/; revision=48265
2010-07-25 21:58:08 +00:00
Sylvain Petreolle 949283de1e [TOUCH]
Remove ntdll library and link to getopt.

svn path=/trunk/; revision=48263
2010-07-25 20:57:38 +00:00
Amine Khaldi d713d0e533 Ukrainian translation patch for taskmgr, explorer and shell32. By Igor Paliychuk.
svn path=/trunk/; revision=48254
2010-07-25 16:15:27 +00:00
Amine Khaldi 79fc59a054 Fix build.
svn path=/trunk/; revision=48253
2010-07-25 14:20:03 +00:00
Timo Kreuzer 461b4ab969 [NEWINFLIB]
PINT -> INT*

svn path=/trunk/; revision=48252
2010-07-25 14:09:08 +00:00
Timo Kreuzer 371d1d1546 [USETUP] / [INFLIB]
Merge r36443 from amd64 branch:
Remove references to Infp Functions that collide with inflib names, call the actual functions instead of making small functions that shared the same parameters and just called into inflib anyway, with no changes whatsoever.
Make InfpGetIntField's 3rd parameter an INT* (Samuel Serapion)

svn path=/trunk/; revision=48251
2010-07-25 13:46:54 +00:00
Timo Kreuzer b2b385e9a8 [OSKITTCP]
Don't add leading underscores to symbols on amd64 builds

svn path=/trunk/; revision=48250
2010-07-25 12:34:56 +00:00
Timo Kreuzer 592b4de3ba [NTOSKRNL]
- Fix MiAddressToPti and implement MiAddressToPxi for amd64
- Replace #error with DPRINT and ASSERT(FALSE) in MiInitializeLargePageSupport
- Implement amd64 specific MmCreateProcessAddressSpace
- Add MmProtectToPteMask for amd64 (copied from x86)
- Remove amd64 version of MmInitializeHandBuiltProcess

svn path=/trunk/; revision=48249
2010-07-25 12:00:26 +00:00
Timo Kreuzer 2d50d1e044 [MINGW]
Add a temporary hack to fix amd64 compilation for some modules.

svn path=/trunk/; revision=48241
2010-07-25 03:08:53 +00:00
Cameron Gutman d1cca9ae42 [IPCONFIG]
- Fix the media detection code in ipconfig

svn path=/trunk/; revision=48240
2010-07-25 03:02:01 +00:00
Amine Khaldi fbdc7009aa [PSDK]
- Make FORCEINLINE extern (not static)
- Declare WspiapiLegacyFreeAddrInfo, WspiapiLegacyGetAddrInfo and WspiapiLegacyGetNameInfo as static __inline.
[CRT]
- Convert FillBuf to static __inline.
[NTOS]
- Convert MmProtectToPteMask to extern.
- Convert LpcpAllocateFromPortZone to static __inline.

svn path=/trunk/; revision=48239
2010-07-25 01:22:15 +00:00
Timo Kreuzer 0bbdcf4d8b [NTOSKRNL]
Make MmIsAddressValid portable by using _MI_PAGING_LEVELS macro.

svn path=/trunk/; revision=48238
2010-07-25 00:50:03 +00:00
Sir Richard a28e798006 [NTOS]: Implement MmDeleteTeb, VADs are now deleted/freed on thread exit as well (but the underlying page is still leaked). Should fix the advapi32 security crash.
[NTOS]: Sometimes it seems we hit some bad VADs due to bugs? in the AVL tree implementation. I'm going on vacation for a month and can't look at this, so I've hacked the code to ignore such VADs for now, in the interest of fixing the winetest regression.

svn path=/trunk/; revision=48235
2010-07-24 16:28:51 +00:00
Sir Richard 2384532846 [NTOS]: Implement MmCleanProcessAddressSpace in ARM3, now the PEB/TEB VADs are removed when the process exits (although the pages are still leaking, for now), and the pool allocation for the VAD is also freed.
[NTOS]: Use ARM3 paged pool up until smss.exe starts. There's a last bug in the expansion code before we can get rid of the old paged pool.

svn path=/trunk/; revision=48234
2010-07-24 16:12:39 +00:00
Sir Richard 3ec9a11a16 [NTOS]: Reimplement MmCreateProcessAddressSpace in ARM3. Basically the same as before but using the ARM3 PFN list APIs, the ARM3 macros, etc. Once change is processes are now populating the MmProcessList, and the "MmGlobalKernelPageTable" isn't used anymore for new processes. Also the mappings come from SysPTE space, not hyperspace.
[NTOS]: More work will be needed in this area, but this gets rid of another ReactOS dinosaur.

svn path=/trunk/; revision=48233
2010-07-24 15:30:24 +00:00
Cameron Gutman ecd26cf41a [DHCPCSVC]
- Initialize length to prevent a possible buffer overflow
- Thanks to janderwald for finding my mistake

svn path=/trunk/; revision=48232
2010-07-24 15:04:24 +00:00
Sir Richard 7ea7b76e51 [NTOS]: Take over MmInitializeProcessAddressSpace, MmInitializeHandBuiltProcess, MmInitializeHandBuiltProcess2 into ARM3, and cleanup the code.
[NTOS]: Prepare to take over MmCreateProcessAddressSpace.

svn path=/trunk/; revision=48231
2010-07-24 15:01:05 +00:00
Amine Khaldi 3bb2ea0d09 [KMIXER]
- Remove memset and memcpy implementations from pin.c

svn path=/trunk/; revision=48230
2010-07-24 14:49:46 +00:00
Amine Khaldi e297cfa306 [NDIS]
- Move NDIS_HARDWARE_STATUS, GEN_GET_TIME_CAPS, GEN_GET_NETCARD_TIME, NDIS_MEDIA_STATE, NDIS_GUID, NDIS_PM_PACKET_PATTERN, NETWORK_ADDRESS, NETWORK_ADDRESS_LIST, TRANSPORT_HEADER_OFFSET and NDIS_CO_LINK_SPEED from ndis.h to ntddndis.h (where they should belong).
- typedef NDIS_STATUS for ntddndis.h
- Group some related definitions in ndis.h
- Some _ANONYMOUS_* -> __MINGW_EXTENSION conversions.
- Guard some definitions against NDIS_LEGACY_DRIVER.
- Add some missing definitions.
- NDIS_MINIPORT_BLOCK : PVOID  Signature; -> NDIS_OBJECT_HEADER Header;
- Add missing xfilter.h inclusion.
- Add some missing function declarations.
- Convert some function declarations into macros.
- Guard some definitions against NDIS_LEGACY_MINIPORT.

svn path=/trunk/; revision=48229
2010-07-24 13:47:41 +00:00
Amine Khaldi 39cec38832 [XDK]
- Missed this one (FORCEINLINE)
[DDK]
- Update DDK to reflect the XDK changes.

svn path=/trunk/; revision=48228
2010-07-24 10:51:22 +00:00
Amine Khaldi e1e0ed63e2 [[MINGW-W64]
- Tighten up reactos.diff now that we have all those diffs (except one) committed upstream.

svn path=/trunk/; revision=48227
2010-07-24 10:10:15 +00:00
Amine Khaldi 0e192aab81 [MINGW-W64]
- Sync gs_support.c now that our patches are committed upstream.

svn path=/trunk/; revision=48226
2010-07-24 09:59:34 +00:00
Amine Khaldi e7cebee706 [CRT]
- Add __MINGW_ATTRIB_UNUSED macro.

svn path=/trunk/; revision=48225
2010-07-24 09:52:46 +00:00
Amine Khaldi 74f12eeaf7 [XDK]
- Make sure FORCEINLINE comes as first in declarations.
[DDK]
- Update DDK to reflect the XDK changes.

svn path=/trunk/; revision=48224
2010-07-24 09:20:56 +00:00
Sir Richard be9e04b5cb [NTOS]: Implement an AVL node deletion algorithm (RtlpDeleteAvlTreeNode). Use it in MiRemoveNode, now implemeneted, and RtlDeleteElementGenericTableAvl, also now implemented. It hopefully works.
svn path=/trunk/; revision=48223
2010-07-24 04:00:22 +00:00
Timo Kreuzer bfc2638590 [NTOSKRNL]
Bring over all current amd64 specific code from the amd64 branch

svn path=/trunk/; revision=48222
2010-07-24 01:12:13 +00:00
Cameron Gutman 869cdbce37 - Fix epic naming fail (DhcpEnabled -> EnableDHCP
[DHCPCSVC]: Verify that the length is correct
[TCPIP]: Make sure DHCP is enabled before reading IP information

svn path=/trunk/; revision=48221
2010-07-24 00:25:59 +00:00
Timo Kreuzer 66b4c2ff3e [NTOSKRNL]
Add missing declarations

svn path=/trunk/; revision=48220
2010-07-23 23:50:26 +00:00
Timo Kreuzer 19540dcad5 [NTOSKRNL]
- Add KiGetLinkedTrapFrame for amd64
- Add MiAddressToPti
- Fix MmCreateProcessAddressSpace, MmInitializeHandBuiltProcess prototype (ULONG -> ULONG_PTR)
- #if out some C_ASSERTs for other architectures than x86
- #define InitializeSListHead to RtlInitializeSListHead on amd64
- Don't implement MiSyncARM3WithROS on amd64
- Implement RtlPcToFileHeader, RtlpGetStackLimits

svn path=/trunk/; revision=48219
2010-07-23 23:30:00 +00:00
Timo Kreuzer c168961990 [NDK]
Update amd64/asm.h to MSVC compatible format

svn path=/trunk/; revision=48218
2010-07-23 23:23:51 +00:00