Cameron Gutman [Mon, 2 Aug 2010 21:22:34 +0000 (21:22 +0000)]
[NTOS]: Fix kernel memory corruption when dequeuing a PnP event
svn path=/trunk/; revision=48422
Timo Kreuzer [Mon, 2 Aug 2010 14:29:09 +0000 (14:29 +0000)]
[PSDK]
add missing LPCOLORREF to windef.h
svn path=/trunk/; revision=48414
Cameron Gutman [Mon, 2 Aug 2010 03:52:52 +0000 (03:52 +0000)]
There is nothing to say about this...
svn path=/trunk/; revision=48410
Cameron Gutman [Sun, 1 Aug 2010 23:52:23 +0000 (23:52 +0000)]
[AFD]: BytesAvailable needs to be updated even when peeking so we don't run off the end of our buffer
svn path=/trunk/; revision=48405
Cameron Gutman [Sun, 1 Aug 2010 23:46:57 +0000 (23:46 +0000)]
Forgetting to save really sucks. Sorry again for the wasted commit.
svn path=/trunk/; revision=48404
Cameron Gutman [Sun, 1 Aug 2010 23:42:33 +0000 (23:42 +0000)]
[AFD]: Fix read data corruption when peeking at network data (TDI_RECEIVE_PEEK is specified for a stream socket)
svn path=/trunk/; revision=48403
Cameron Gutman [Sun, 1 Aug 2010 23:20:31 +0000 (23:20 +0000)]
Fix a typo
svn path=/trunk/; revision=48402
Cameron Gutman [Sun, 1 Aug 2010 21:08:53 +0000 (21:08 +0000)]
Fix a copy-paste mistake and remove an unused variable
svn path=/trunk/; revision=48401
Cameron Gutman [Sun, 1 Aug 2010 21:00:40 +0000 (21:00 +0000)]
[AFD]: Revert r42674 and part of r47156
svn path=/trunk/; revision=48400
Cameron Gutman [Sun, 1 Aug 2010 20:34:10 +0000 (20:34 +0000)]
[DHCPCSVC]: Revert part of r48215
svn path=/trunk/; revision=48399
Giannis Adamopoulos [Sun, 1 Aug 2010 16:34:22 +0000 (16:34 +0000)]
[rtl]
- Use __inline instead of __inline__ to fix compilation with msvc
svn path=/trunk/; revision=48398
Giannis Adamopoulos [Sun, 1 Aug 2010 16:27:48 +0000 (16:27 +0000)]
[hal]
- define REGISTERCALL in order to replace __attribute__((regparm(3))) and fix compilation with msvc. It was used only as an optimization so it is safe to be defined as FASTCALL for msvc. For gcc it is still defined as __attribute__((regparm(3)))
svn path=/trunk/; revision=48397
Aleksey Bragin [Sat, 31 Jul 2010 22:39:22 +0000 (22:39 +0000)]
[INCLUDE/WINE]
- Update Wine-specific headers to Wine-1.3.
- Remove unneeded 16 bit header, and add a bit of stuff into another legacy header.
- Indicate in config.h that there is a freetype library present.
svn path=/trunk/; revision=48388
Aleksey Bragin [Sat, 31 Jul 2010 22:36:22 +0000 (22:36 +0000)]
[PSDK]
- Make some winuser.h functions conforming to MS PSDK.
svn path=/trunk/; revision=48387
Aleksey Bragin [Sat, 31 Jul 2010 22:20:34 +0000 (22:20 +0000)]
- Fix build, sorry.
svn path=/trunk/; revision=48386
Eric Kohl [Sat, 31 Jul 2010 22:02:13 +0000 (22:02 +0000)]
[LSASRV]
Add more well known sids to the lookup list.
svn path=/trunk/; revision=48385
Aleksey Bragin [Sat, 31 Jul 2010 21:40:40 +0000 (21:40 +0000)]
[PSDK]
- Get back to old/compatible way of declaring dummy unions and structs for IMAGE_RESOURCE_DIRECTORY_ENTRY. Also, second nameless structure is called DUMMYSTRUCTNAME3 to be compatible with Wine's code which, for some reason, expects WORD Id wrapped into yet another struct, depending on endiannes.
svn path=/trunk/; revision=48384
Gabriel Ilardi [Sat, 31 Jul 2010 21:00:40 +0000 (21:00 +0000)]
[freeldr]
- Patch by Carlo Bramini reviewed by lassy:
The CF must be tested when reading time because the legacy DS12x87
chip shows a condition where it's updating its time registers and if it's the
case then the call should be retried later. Now the time is valid when both CF flags for date and time are good at the same time.
It's better to send the correct value of CF with the proper field to the REGS structure instead of hoping that the flag won't be changed by compiled code.
In the Int386() function I did the fix for acquiring the status flags to send to the software interrupt.
I also think it is also a good idea to always clear the direction flag before
doing movsb/movsw/movsd in this function. Since we are working with DOS stuff,
the state of the direction register could be unknown, who knows what happens
after those INT opcodes. Afterall I don't think that adding these two "cld"
would be a big problem.
See issue #2786 for more details.
svn path=/trunk/; revision=48383
Giannis Adamopoulos [Sat, 31 Jul 2010 12:16:03 +0000 (12:16 +0000)]
[explorer]
- Using msvc doesn't mean using ms sdks
svn path=/trunk/; revision=48381
Aleksey Bragin [Sat, 31 Jul 2010 12:02:46 +0000 (12:02 +0000)]
[PSDK]
- Fix GetTextCharsetInfo prototype according to MS Platform SDK.
svn path=/trunk/; revision=48379
Eric Kohl [Sat, 31 Jul 2010 11:24:16 +0000 (11:24 +0000)]
[LSASRV]
- Move all includes into a common header file.
- Create a (still incomplete) well-known-sid lookup table and use it in LsarLookupSids.
- Add missing file headers.
svn path=/trunk/; revision=48378
Eric Kohl [Sat, 31 Jul 2010 09:06:42 +0000 (09:06 +0000)]
[LSASRV]
Replace hard-coded privilege names by privilege names from the PSDK.
svn path=/trunk/; revision=48377
Giannis Adamopoulos [Sat, 31 Jul 2010 07:53:06 +0000 (07:53 +0000)]
[browseui]
- keep the hacky declaration of SHANDLE_PTR and make it work with msvc as well
- Make BEGIN_MSG_MAP compatible with msvc
svn path=/trunk/; revision=48376
Eric Kohl [Sat, 31 Jul 2010 07:09:40 +0000 (07:09 +0000)]
[PSDK]
Add missing privilege names.
svn path=/trunk/; revision=48375
Giannis Adamopoulos [Fri, 30 Jul 2010 18:37:51 +0000 (18:37 +0000)]
[shell32]
- Fix a compilation error with msvc
svn path=/trunk/; revision=48371
Giannis Adamopoulos [Fri, 30 Jul 2010 17:05:17 +0000 (17:05 +0000)]
[ndis.h]
- Fix compilation with msvc
svn path=/trunk/; revision=48370
Gabriel Ilardi [Thu, 29 Jul 2010 20:17:09 +0000 (20:17 +0000)]
[TASKMGR]
- Make the caption the same as the app title so that bring to focus can work as expected in Slovak and other languages as well. Add a note for translators.
See issue #5533 for more details.
svn path=/trunk/; revision=48367
Amine Khaldi [Thu, 29 Jul 2010 16:42:00 +0000 (16:42 +0000)]
[DXSDK]
- Define STATIC_KSMETHODSETID_BdaChangeSync without braces.
[PSDK]
- _ANONYMOUS_UNION/_ANONYMOUS_STRUCT -> __MINGW_EXTENSION
- usbuser.h : Add missing #endif
svn path=/trunk/; revision=48361
Giannis Adamopoulos [Thu, 29 Jul 2010 16:05:54 +0000 (16:05 +0000)]
Revert 48355
svn path=/trunk/; revision=48358
Giannis Adamopoulos [Thu, 29 Jul 2010 14:40:21 +0000 (14:40 +0000)]
[basetsd.h]
-define SHANDLE_PTR
[browseui]
-do not define SHANDLE_PTR locally. Using ms psdk isn't the same with compiling with msvc
svn path=/trunk/; revision=48355
Giannis Adamopoulos [Thu, 29 Jul 2010 12:23:03 +0000 (12:23 +0000)]
- Fix setjmp for msvc
svn path=/trunk/; revision=48352
Giannis Adamopoulos [Thu, 29 Jul 2010 10:20:41 +0000 (10:20 +0000)]
[win32csr]
- Fix compilation with msvc
svn path=/trunk/; revision=48349
Daniel Reimer [Wed, 28 Jul 2010 19:13:24 +0000 (19:13 +0000)]
Bug 5531: [PATCH] regedit: cut, copy, paste, etc. on hexedit by Katayama Hirofumi
svn path=/trunk/; revision=48334
Amine Khaldi [Wed, 28 Jul 2010 13:59:28 +0000 (13:59 +0000)]
[DXSDK]
- atsmedia.h : Add proper header inclusion and apply a consistent formatting.
- bdamedia.h : Rename BDAMEDIA_H__ to _BDAMEDIA_, add some missing inclusions, add __MINGW_EXTENSION and apply a consistent formatting.
- bdatypes.h : Apply a consistent formatting.
svn path=/trunk/; revision=48330
Amine Khaldi [Wed, 28 Jul 2010 12:52:04 +0000 (12:52 +0000)]
[DXSDK]
- Add some headers to some headers.
svn path=/trunk/; revision=48328
Amine Khaldi [Wed, 28 Jul 2010 10:45:51 +0000 (10:45 +0000)]
- Delete ppcdevtree.
svn path=/trunk/; revision=48327
Timo Kreuzer [Wed, 28 Jul 2010 01:17:23 +0000 (01:17 +0000)]
[WIN32CSR]
- Fix array subscript out of bounds error
- Fix a cast
svn path=/trunk/; revision=48322
Timo Kreuzer [Wed, 28 Jul 2010 00:26:43 +0000 (00:26 +0000)]
[NDK]
Merge r41483 from amd64 branch:
- Fix definition of HARDERROR_MSG
svn path=/trunk/; revision=48321
Timo Kreuzer [Tue, 27 Jul 2010 17:02:06 +0000 (17:02 +0000)]
[DBGHELP]
Define UNW_FLAG_* in the rbuild file, since we don't have them in winnt.h where wine has them.
svn path=/trunk/; revision=48315
Timo Kreuzer [Tue, 27 Jul 2010 16:24:31 +0000 (16:24 +0000)]
[GDI32API]
- fix some 64 bit warnings
svn path=/trunk/; revision=48314
Timo Kreuzer [Tue, 27 Jul 2010 16:21:20 +0000 (16:21 +0000)]
[FREELDR]
Don't redefine _NTSYSTEM_
svn path=/trunk/; revision=48313
Timo Kreuzer [Tue, 27 Jul 2010 16:09:15 +0000 (16:09 +0000)]
[BATTC]
Fix a warning
svn path=/trunk/; revision=48312
Timo Kreuzer [Tue, 27 Jul 2010 15:58:53 +0000 (15:58 +0000)]
[winnt.h]
Remove definition of UNW_FLAG* constants. They don't belong here.
svn path=/trunk/; revision=48308
Timo Kreuzer [Tue, 27 Jul 2010 15:47:04 +0000 (15:47 +0000)]
[UNICODE]
include string.h, for memcpy
svn path=/trunk/; revision=48307
Timo Kreuzer [Tue, 27 Jul 2010 14:08:36 +0000 (14:08 +0000)]
[dbghelp.h] / [imagehlp.h]
- fix LOADED_IMAGE, UpdateDebugInfoFile, UpdateDebugInfoFileEx, ReBaseImage
svn path=/trunk/; revision=48306
Amine Khaldi [Tue, 27 Jul 2010 09:56:21 +0000 (09:56 +0000)]
[PSDK]
- Mark TraceMessageVa as WMIAPI.
svn path=/trunk/; revision=48300
Amine Khaldi [Tue, 27 Jul 2010 09:14:13 +0000 (09:14 +0000)]
[XDK]
- WmiTraceMessageVa is NTAPI, not __cdecl.
[DDK]
- Update wdm.h to reflect XDK changes.
svn path=/trunk/; revision=48299
evb [Tue, 27 Jul 2010 03:24:24 +0000 (03:24 +0000)]
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
Daniel Reimer [Mon, 26 Jul 2010 23:48:15 +0000 (23:48 +0000)]
Maybe fix dbghelp build on 64 bit.
svn path=/trunk/; revision=48292
Timo Kreuzer [Mon, 26 Jul 2010 23:09:17 +0000 (23:09 +0000)]
[NTOSKRNL]
◙ Fix MiInitializePageTable
◙ Comment out some more code for amd64
svn path=/trunk/; revision=48291
Daniel Reimer [Mon, 26 Jul 2010 22:33:59 +0000 (22:33 +0000)]
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
Giannis Adamopoulos [Mon, 26 Jul 2010 21:48:52 +0000 (21:48 +0000)]
Revert a part of my previous commit
svn path=/trunk/; revision=48289
Sir Richard [Mon, 26 Jul 2010 21:45:42 +0000 (21:45 +0000)]
[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
Giannis Adamopoulos [Mon, 26 Jul 2010 21:32:38 +0000 (21:32 +0000)]
[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
Daniel Reimer [Mon, 26 Jul 2010 15:04:32 +0000 (15:04 +0000)]
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
Timo Kreuzer [Mon, 26 Jul 2010 14:01:57 +0000 (14:01 +0000)]
[reactos.dff]
make explorer.exe and ntvdm optional
svn path=/trunk/; revision=48278
Amine Khaldi [Mon, 26 Jul 2010 13:49:12 +0000 (13:49 +0000)]
[PSDK]
- Rename _WINIOCTL_H to _WINIOCTL_
svn path=/trunk/; revision=48277
Timo Kreuzer [Mon, 26 Jul 2010 13:43:40 +0000 (13:43 +0000)]
Add hivecls_amd64.inf
svn path=/trunk/; revision=48276
Sylvain Petreolle [Mon, 26 Jul 2010 09:13:50 +0000 (09:13 +0000)]
Add diffs for msimtf and atl.
svn path=/trunk/; revision=48275
Pierre Schweitzer [Mon, 26 Jul 2010 08:54:26 +0000 (08:54 +0000)]
Get back r47063 & r47960 reverted by r48273
svn path=/trunk/; revision=48274
Daniel Reimer [Mon, 26 Jul 2010 02:26:04 +0000 (02:26 +0000)]
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
Timo Kreuzer [Mon, 26 Jul 2010 01:42:31 +0000 (01:42 +0000)]
Add amd64 inf files
svn path=/trunk/; revision=48272
Timo Kreuzer [Mon, 26 Jul 2010 01:10:20 +0000 (01:10 +0000)]
[CRT]
Add logf wrapper
svn path=/trunk/; revision=48271
Daniel Reimer [Mon, 26 Jul 2010 00:12:22 +0000 (00:12 +0000)]
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
Timo Kreuzer [Sun, 25 Jul 2010 21:58:08 +0000 (21:58 +0000)]
[MSVCRT]
Add exports for ceilf, cosf, logf
svn path=/trunk/; revision=48265
Sylvain Petreolle [Sun, 25 Jul 2010 20:57:38 +0000 (20:57 +0000)]
[TOUCH]
Remove ntdll library and link to getopt.
svn path=/trunk/; revision=48263
Amine Khaldi [Sun, 25 Jul 2010 16:15:27 +0000 (16:15 +0000)]
Ukrainian translation patch for taskmgr, explorer and shell32. By Igor Paliychuk.
svn path=/trunk/; revision=48254
Amine Khaldi [Sun, 25 Jul 2010 14:20:03 +0000 (14:20 +0000)]
Fix build.
svn path=/trunk/; revision=48253
Timo Kreuzer [Sun, 25 Jul 2010 14:09:08 +0000 (14:09 +0000)]
[NEWINFLIB]
PINT -> INT*
svn path=/trunk/; revision=48252
Timo Kreuzer [Sun, 25 Jul 2010 13:46:54 +0000 (13:46 +0000)]
[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
Timo Kreuzer [Sun, 25 Jul 2010 12:34:56 +0000 (12:34 +0000)]
[OSKITTCP]
Don't add leading underscores to symbols on amd64 builds
svn path=/trunk/; revision=48250
Timo Kreuzer [Sun, 25 Jul 2010 12:00:26 +0000 (12:00 +0000)]
[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
Timo Kreuzer [Sun, 25 Jul 2010 03:08:53 +0000 (03:08 +0000)]
[MINGW]
Add a temporary hack to fix amd64 compilation for some modules.
svn path=/trunk/; revision=48241
Cameron Gutman [Sun, 25 Jul 2010 03:02:01 +0000 (03:02 +0000)]
[IPCONFIG]
- Fix the media detection code in ipconfig
svn path=/trunk/; revision=48240
Amine Khaldi [Sun, 25 Jul 2010 01:22:15 +0000 (01:22 +0000)]
[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
Timo Kreuzer [Sun, 25 Jul 2010 00:50:03 +0000 (00:50 +0000)]
[NTOSKRNL]
Make MmIsAddressValid portable by using _MI_PAGING_LEVELS macro.
svn path=/trunk/; revision=48238
Sir Richard [Sat, 24 Jul 2010 16:28:51 +0000 (16:28 +0000)]
[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
Sir Richard [Sat, 24 Jul 2010 16:12:39 +0000 (16:12 +0000)]
[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
Sir Richard [Sat, 24 Jul 2010 15:30:24 +0000 (15:30 +0000)]
[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
Cameron Gutman [Sat, 24 Jul 2010 15:04:24 +0000 (15:04 +0000)]
[DHCPCSVC]
- Initialize length to prevent a possible buffer overflow
- Thanks to janderwald for finding my mistake
svn path=/trunk/; revision=48232
Sir Richard [Sat, 24 Jul 2010 15:01:05 +0000 (15:01 +0000)]
[NTOS]: Take over MmInitializeProcessAddressSpace, MmInitializeHandBuiltProcess, MmInitializeHandBuiltProcess2 into ARM3, and cleanup the code.
[NTOS]: Prepare to take over MmCreateProcessAddressSpace.
svn path=/trunk/; revision=48231
Amine Khaldi [Sat, 24 Jul 2010 14:49:46 +0000 (14:49 +0000)]
[KMIXER]
- Remove memset and memcpy implementations from pin.c
svn path=/trunk/; revision=48230
Amine Khaldi [Sat, 24 Jul 2010 13:47:41 +0000 (13:47 +0000)]
[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
Amine Khaldi [Sat, 24 Jul 2010 10:51:22 +0000 (10:51 +0000)]
[XDK]
- Missed this one (FORCEINLINE)
[DDK]
- Update DDK to reflect the XDK changes.
svn path=/trunk/; revision=48228
Amine Khaldi [Sat, 24 Jul 2010 10:10:15 +0000 (10:10 +0000)]
[[MINGW-W64]
- Tighten up reactos.diff now that we have all those diffs (except one) committed upstream.
svn path=/trunk/; revision=48227
Amine Khaldi [Sat, 24 Jul 2010 09:59:34 +0000 (09:59 +0000)]
[MINGW-W64]
- Sync gs_support.c now that our patches are committed upstream.
svn path=/trunk/; revision=48226
Amine Khaldi [Sat, 24 Jul 2010 09:52:46 +0000 (09:52 +0000)]
[CRT]
- Add __MINGW_ATTRIB_UNUSED macro.
svn path=/trunk/; revision=48225
Amine Khaldi [Sat, 24 Jul 2010 09:20:56 +0000 (09:20 +0000)]
[XDK]
- Make sure FORCEINLINE comes as first in declarations.
[DDK]
- Update DDK to reflect the XDK changes.
svn path=/trunk/; revision=48224
Sir Richard [Sat, 24 Jul 2010 04:00:22 +0000 (04:00 +0000)]
[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
Timo Kreuzer [Sat, 24 Jul 2010 01:12:13 +0000 (01:12 +0000)]
[NTOSKRNL]
Bring over all current amd64 specific code from the amd64 branch
svn path=/trunk/; revision=48222
Cameron Gutman [Sat, 24 Jul 2010 00:25:59 +0000 (00:25 +0000)]
- 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
Timo Kreuzer [Fri, 23 Jul 2010 23:50:26 +0000 (23:50 +0000)]
[NTOSKRNL]
Add missing declarations
svn path=/trunk/; revision=48220
Timo Kreuzer [Fri, 23 Jul 2010 23:30:00 +0000 (23:30 +0000)]
[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
Timo Kreuzer [Fri, 23 Jul 2010 23:23:51 +0000 (23:23 +0000)]
[NDK]
Update amd64/asm.h to MSVC compatible format
svn path=/trunk/; revision=48218
Timo Kreuzer [Fri, 23 Jul 2010 22:40:13 +0000 (22:40 +0000)]
[NTOSKRNL]
Don't use freeldrhack on amd64
svn path=/trunk/; revision=48217
Cameron Gutman [Fri, 23 Jul 2010 22:33:09 +0000 (22:33 +0000)]
- Remove some debug info that I forgot about
svn path=/trunk/; revision=48216
Cameron Gutman [Fri, 23 Jul 2010 22:30:27 +0000 (22:30 +0000)]
[NETCFGX]
- Create the DhcpEnabled value in the registry
[TCPIP]
- Apply the static IP address configuration data
[DHCPCSVC]
- Remove the static IP address code
svn path=/trunk/; revision=48215
Cameron Gutman [Fri, 23 Jul 2010 21:57:08 +0000 (21:57 +0000)]
[DHCPCSVC]
- Generate a link-local IP address if DHCP fails
- Don't destroy the IP addresses in the registry
svn path=/trunk/; revision=48213
Cameron Gutman [Fri, 23 Jul 2010 16:34:35 +0000 (16:34 +0000)]
[NDIS]
- Verify that each adapter has been initialized before passing it to the protocol's BindAdapter function
- Also verify that each adapter has not already been bound to the protocol
- Miniport drivers can now function without a reboot (needed to use 3rd-party NIC drivers on the live CD)
svn path=/trunk/; revision=48212
Amine Khaldi [Fri, 23 Jul 2010 15:51:54 +0000 (15:51 +0000)]
[NDIS]
- Guard several definitions against NDIS_SUPPORT_60_COMPATIBLE_API.
- __GNU_EXTENSION -> __MINGW_EXTENSION conversions.
- Group some related definitions.
- Update NDIS_RW_LOCK.
- Improve NDIS_TIMER_FUNCTION.
- Add several missing Ndis* function declarations.
- Guard several definitions against NDIS_LEGACY_DRIVER and NDIS_LEGACY_MINIPORT.
- Convert some function declarations into macros.
svn path=/trunk/; revision=48211