reactos.git
11 years ago[CMAKE]
Amine Khaldi [Thu, 29 Jul 2010 15:52:00 +0000 (15:52 +0000)]
[CMAKE]
- mingw_common : set_property -> set_target_properties.
- crt : fix target properties.

svn path=/branches/cmake-bringup/; revision=48357

11 years ago[CMAKE]
Amine Khaldi [Thu, 29 Jul 2010 15:34:21 +0000 (15:34 +0000)]
[CMAKE]
- Export more native tools.
- Fix ntdllsys dependency.

svn path=/branches/cmake-bringup/; revision=48356

11 years ago[CMAKE]
Amine Khaldi [Thu, 29 Jul 2010 01:53:31 +0000 (01:53 +0000)]
[CMAKE]
- Add debugsup lib to build.

svn path=/branches/cmake-bringup/; revision=48348

11 years ago[CMAKE]
Amine Khaldi [Thu, 29 Jul 2010 01:37:53 +0000 (01:37 +0000)]
[CMAKE]
- Add libcntpr lib to build.

svn path=/branches/cmake-bringup/; revision=48347

11 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 23:21:13 +0000 (23:21 +0000)]
[CMAKE]
- Add ntsys to build.

svn path=/branches/cmake-bringup/; revision=48342

11 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 22:01:07 +0000 (22:01 +0000)]
[CMAKE]
- We do have oldnames lib now.
- Add proper psdk dependency for libxml2.

svn path=/branches/cmake-bringup/; revision=48336

11 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 21:52:04 +0000 (21:52 +0000)]
[CMAKE]
- Add mingw libs to build.

svn path=/branches/cmake-bringup/; revision=48335

11 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 17:00:50 +0000 (17:00 +0000)]
[CMAKE]
- Fix stdole2.

svn path=/branches/cmake-bringup/; revision=48333

11 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 16:24:00 +0000 (16:24 +0000)]
[CMAKE]
- Add sound drivers libs to build.

svn path=/branches/cmake-bringup/; revision=48332

11 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 14:59:02 +0000 (14:59 +0000)]
[CMAKE]
- Add ip and oskittcp to build.

svn path=/branches/cmake-bringup/; revision=48331

11 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 12:58:37 +0000 (12:58 +0000)]
[CMAKE]
- We won't be using mkdir to create folders since cmake has a command for it.
- Split nci generated files into separate targets, so that modules can depend on each one of them separately if needed.
- Add win32ksys to build.

svn path=/branches/cmake-bringup/; revision=48329

11 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 10:35:37 +0000 (10:35 +0000)]
[CMAKE]
- Add ntdllsys to build.

svn path=/branches/cmake-bringup/; revision=48326

11 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 10:13:27 +0000 (10:13 +0000)]
[CMAKE]
- Rename ncitool to nci and mark it as an exported native tool.
- Add nci generated intermediate files to build.

svn path=/branches/cmake-bringup/; revision=48325

11 years ago[CMAKE]
Amine Khaldi [Wed, 28 Jul 2010 00:08:02 +0000 (00:08 +0000)]
[CMAKE]
- Add pseh to build.

svn path=/branches/cmake-bringup/; revision=48320

11 years ago[CMAKE]
Amine Khaldi [Tue, 27 Jul 2010 23:55:52 +0000 (23:55 +0000)]
[CMAKE]
- Add rtl to build.

svn path=/branches/cmake-bringup/; revision=48319

11 years ago[CMAKE]: Fix compiler detection, we should check for CMAKE_HOST_SYSTEM_NAME, not...
Sir Richard [Tue, 27 Jul 2010 17:36:25 +0000 (17:36 +0000)]
[CMAKE]: Fix compiler detection, we should check for CMAKE_HOST_SYSTEM_NAME, not CMAKE_SYSTEM_NAME, which is always Windows on a cross-build.
[CMAKE]: PROCESSIR->PROCESSOR

svn path=/branches/cmake-bringup/; revision=48316

11 years ago[CMAKE]: Watch and learn, Amine...
Sir Richard [Tue, 27 Jul 2010 16:07:39 +0000 (16:07 +0000)]
[CMAKE]: Watch and learn, Amine...

svn path=/branches/cmake-bringup/; revision=48311

11 years ago[CMAKE]: Too much of bzip2 was being built.
Sir Richard [Tue, 27 Jul 2010 16:03:05 +0000 (16:03 +0000)]
[CMAKE]: Too much of bzip2 was being built.

svn path=/branches/cmake-bringup/; revision=48310

11 years ago[CMAKE]: Detect correct MinGW compiler on Windows vs Linux/Darwin.
Sir Richard [Tue, 27 Jul 2010 16:00:40 +0000 (16:00 +0000)]
[CMAKE]: Detect correct MinGW compiler on Windows vs Linux/Darwin.

svn path=/branches/cmake-bringup/; revision=48309

11 years ago[CMAKE]
Amine Khaldi [Tue, 27 Jul 2010 13:09:55 +0000 (13:09 +0000)]
[CMAKE]
- Add ext2lib, ntfslib, vfatlib and vfatxlib to build.

svn path=/branches/cmake-bringup/; revision=48304

11 years ago[CMAKE]
Amine Khaldi [Tue, 27 Jul 2010 12:53:24 +0000 (12:53 +0000)]
[CMAKE]
- Add proper dependencies on psdk.
- Parallel build works now.

svn path=/branches/cmake-bringup/; revision=48303

11 years ago[CMAKE]
Amine Khaldi [Tue, 27 Jul 2010 11:12:09 +0000 (11:12 +0000)]
[CMAKE]
- cmlib depends on bugcodes.

svn path=/branches/cmake-bringup/; revision=48302

11 years ago[CMAKE]
Amine Khaldi [Tue, 27 Jul 2010 11:01:39 +0000 (11:01 +0000)]
[CMAKE]
- Add idna, normalize and scripts to build.

svn path=/branches/cmake-bringup/; revision=48301

11 years ago[CMAKE]
Amine Khaldi [Tue, 27 Jul 2010 01:36:55 +0000 (01:36 +0000)]
[CMAKE]
- Separate the resources creation into several targets. With this we're able to set proper dependencies on them selectively, and not as a whole.
- Make chew and csq, as a result, depend only on bugcodes.

svn path=/branches/cmake-bringup/; revision=48297

11 years ago[CMAKE]
Amine Khaldi [Tue, 27 Jul 2010 01:32:49 +0000 (01:32 +0000)]
[CMAKE]
- Add rsym to build.
- Add fslib, nls and pseh placeholders.
- Make crt depend on psdk interfaces.

svn path=/branches/cmake-bringup/; revision=48296

11 years ago[CMAKE]
Amine Khaldi [Tue, 27 Jul 2010 00:51:21 +0000 (00:51 +0000)]
[CMAKE]
- No need to check these drivers for CMAKE_CROSSCOMPILING.

svn path=/branches/cmake-bringup/; revision=48295

11 years ago[CMAKE]
Amine Khaldi [Tue, 27 Jul 2010 00:49:52 +0000 (00:49 +0000)]
[CMAKE]
- Rename MACRO_ADD_INTERFACES to MACRO_ADD_PSDK_INTERFACES, HEADERS to PSDK_HEADERS.
- Change the psdk target name from build_headers to psdk.

svn path=/branches/cmake-bringup/; revision=48294

11 years ago[CMAKE]
Amine Khaldi [Tue, 27 Jul 2010 00:48:07 +0000 (00:48 +0000)]
[CMAKE]
- Add dxsdk interfaces to build.

svn path=/branches/cmake-bringup/; revision=48293

11 years ago[CMAKE]
Amine Khaldi [Mon, 26 Jul 2010 18:49:24 +0000 (18:49 +0000)]
[CMAKE]
- Add chew and csq to build.

svn path=/branches/cmake-bringup/; revision=48285

11 years ago[CMAKE]
Ziliang Guo [Mon, 26 Jul 2010 18:21:09 +0000 (18:21 +0000)]
[CMAKE]
-Use hinting in freetype now that patent has expired.

svn path=/branches/cmake-bringup/; revision=48284

11 years ago- Fix freetype.
Amine Khaldi [Mon, 26 Jul 2010 18:09:20 +0000 (18:09 +0000)]
- Fix freetype.

svn path=/branches/cmake-bringup/; revision=48283

11 years ago[CMAKE]
Ziliang Guo [Mon, 26 Jul 2010 17:59:46 +0000 (17:59 +0000)]
[CMAKE]
-Add freetype to build.

svn path=/branches/cmake-bringup/; revision=48282

11 years ago[CMAKE]
Amine Khaldi [Mon, 26 Jul 2010 16:39:47 +0000 (16:39 +0000)]
[CMAKE]
- Add icu4ros to build.

svn path=/branches/cmake-bringup/; revision=48281

11 years ago[CMAKE]: Add almost all the 3rdparty libs. The remaining ones are more annoying and...
Sir Richard [Mon, 26 Jul 2010 00:38:25 +0000 (00:38 +0000)]
[CMAKE]: Add almost all the 3rdparty libs. The remaining ones are more annoying and will require more handwriting. I'm letting someone else write those out.

svn path=/branches/cmake-bringup/; revision=48270

11 years ago[CMAKE]: Build all the remaining host tools/libraries (I think).
Sir Richard [Sun, 25 Jul 2010 23:54:32 +0000 (23:54 +0000)]
[CMAKE]: Build all the remaining host tools/libraries (I think).
[CMAKE]: Fix definitions for some libraries.
[CMAKE]: Build host tools with appropriate flags.

svn path=/branches/cmake-bringup/; revision=48268

11 years ago[CMAKE]: Add wmc to host tools, and export it as native-wmc.
Sir Richard [Sun, 25 Jul 2010 23:05:32 +0000 (23:05 +0000)]
[CMAKE]: Add wmc to host tools, and export it as native-wmc.
[CMAKE]: Add a makelist to build the mc->headers as one target.
[CMAKE]: Fix the IDL rule to build all IDLs as one target.
[CMAKE]: Build a whole lot more libraries.

svn path=/branches/cmake-bringup/; revision=48267

11 years ago[CMAKE]: Add standard ReactOS compiler flags, and organize defines nicely too.
Sir Richard [Sun, 25 Jul 2010 22:16:45 +0000 (22:16 +0000)]
[CMAKE]: Add standard ReactOS compiler flags, and organize defines nicely too.

svn path=/branches/cmake-bringup/; revision=48266

11 years ago[CMAKE]: Build more stuff.
Sir Richard [Sun, 25 Jul 2010 21:24:00 +0000 (21:24 +0000)]
[CMAKE]: Build more stuff.

svn path=/branches/cmake-bringup/; revision=48264

11 years ago[CMAKE]: CRT can now be built! Our first cross-compile target.
Sir Richard [Sun, 25 Jul 2010 20:28:17 +0000 (20:28 +0000)]
[CMAKE]: CRT can now be built! Our first cross-compile target.
[CMAKE]: Next steps should be to bring all the compiler settings/defines that aren't yet being used, to add per-architecture file tracking, and to enable precompiled header support.

svn path=/branches/cmake-bringup/; revision=48262

11 years ago[CMAKE]: Make cross-build work on all systems. RosBE Already is nice and adds itself...
Sir Richard [Sun, 25 Jul 2010 20:07:19 +0000 (20:07 +0000)]
[CMAKE]: Make cross-build work on all systems. RosBE Already is nice and adds itself to the path. CMAKE is magical and finds the RosBE compilers.

svn path=/branches/cmake-bringup/; revision=48261

11 years ago[CMAKE]: Use some CMAKE magic to have widl defined as a "host tool", and make the...
Sir Richard [Sun, 25 Jul 2010 20:04:16 +0000 (20:04 +0000)]
[CMAKE]: Use some CMAKE magic to have widl defined as a "host tool", and make the cross build CMAKE import it (as native-widl). Cross-build CMAKE will then use "native-widl" to build the header/IDL files in the cross-output-directory, instead of the host-output-directory.
[CMAKE]: Add generated headers to the include path.

svn path=/branches/cmake-bringup/; revision=48260

11 years ago[CMAKE]: Ignore "build" directory.
Sir Richard [Sun, 25 Jul 2010 19:27:03 +0000 (19:27 +0000)]
[CMAKE]: Ignore "build" directory.
[CMAKE]: Fix build.
[CMAKE]: Generate headers outside the source tree, into intermediate directories.

svn path=/branches/cmake-bringup/; revision=48259

11 years ago[CMAKE]: Start supporting building the CRT.
Sir Richard [Sun, 25 Jul 2010 19:18:15 +0000 (19:18 +0000)]
[CMAKE]: Start supporting building the CRT.

svn path=/branches/cmake-bringup/; revision=48258

11 years ago[CMAKE]: Add a makefile to build the IDL files. Not perfect, but gets the job done.
Sir Richard [Sun, 25 Jul 2010 17:03:07 +0000 (17:03 +0000)]
[CMAKE]: Add a makefile to build the IDL files. Not perfect, but gets the job done.
[CMAKE]: Add a mignw32 toolchain file, right now it's pretty hacked for my system only, but it works.

svn path=/branches/cmake-bringup/; revision=48256

11 years ago[CMAKE]: Add make lists for the core host tools/libraries, and add a command to gener...
Sir Richard [Sun, 25 Jul 2010 05:53:51 +0000 (05:53 +0000)]
[CMAKE]: Add make lists for the core host tools/libraries, and add a command to generate the build.h header. There's little fixes needed here and there, but this should be a good template for people to see how easy CMake is. This will build all the wine tools/libraries, nci, gendib, rsym, etc...

svn path=/branches/cmake-bringup/; revision=48244

11 years ago[CMAKE]: Remove legacy makefiles.
Sir Richard [Sun, 25 Jul 2010 05:23:30 +0000 (05:23 +0000)]
[CMAKE]: Remove legacy makefiles.

svn path=/branches/cmake-bringup/; revision=48242

11 years ago- Delete rbuild and the rbuild files.
Amine Khaldi [Sat, 24 Jul 2010 19:21:04 +0000 (19:21 +0000)]
- Delete rbuild and the rbuild files.

svn path=/branches/cmake-bringup/; revision=48237

11 years agoCreate a branch for cmake bringup.
Amine Khaldi [Sat, 24 Jul 2010 18:52:44 +0000 (18:52 +0000)]
Create a branch for cmake bringup.

svn path=/branches/cmake-bringup/; revision=48236

11 years ago[NTOS]: Implement MmDeleteTeb, VADs are now deleted/freed on thread exit as well...
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

11 years ago[NTOS]: Implement MmCleanProcessAddressSpace in ARM3, now the PEB/TEB VADs are remove...
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

11 years ago[NTOS]: Reimplement MmCreateProcessAddressSpace in ARM3. Basically the same as before...
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

11 years ago[DHCPCSVC]
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

11 years ago[NTOS]: Take over MmInitializeProcessAddressSpace, MmInitializeHandBuiltProcess,...
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

11 years ago[KMIXER]
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

11 years ago[NDIS]
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

11 years ago[XDK]
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

11 years ago[[MINGW-W64]
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

11 years ago[MINGW-W64]
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

11 years ago[CRT]
Amine Khaldi [Sat, 24 Jul 2010 09:52:46 +0000 (09:52 +0000)]
[CRT]
- Add __MINGW_ATTRIB_UNUSED macro.

svn path=/trunk/; revision=48225

11 years ago[XDK]
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

11 years ago[NTOS]: Implement an AVL node deletion algorithm (RtlpDeleteAvlTreeNode). Use it...
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

11 years ago[NTOSKRNL]
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

11 years ago- Fix epic naming fail (DhcpEnabled -> EnableDHCP
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

11 years ago[NTOSKRNL]
Timo Kreuzer [Fri, 23 Jul 2010 23:50:26 +0000 (23:50 +0000)]
[NTOSKRNL]
Add missing declarations

svn path=/trunk/; revision=48220

11 years ago[NTOSKRNL]
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

11 years ago[NDK]
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

11 years ago[NTOSKRNL]
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

11 years ago- Remove some debug info that I forgot about
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

11 years ago[NETCFGX]
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

11 years ago[DHCPCSVC]
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

11 years ago[NDIS]
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

11 years ago[NDIS]
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

11 years agoSync reg, xcopy, winhlp32, wordpad with Wine 1.2
Daniel Reimer [Fri, 23 Jul 2010 08:36:51 +0000 (08:36 +0000)]
Sync reg, xcopy, winhlp32, wordpad with Wine 1.2

svn path=/trunk/; revision=48210

11 years agoSync Winefile with Wine 1.2
Daniel Reimer [Fri, 23 Jul 2010 08:34:57 +0000 (08:34 +0000)]
Sync Winefile with Wine 1.2

svn path=/trunk/; revision=48209

11 years ago[PSEH]
Timo Kreuzer [Fri, 23 Jul 2010 02:18:30 +0000 (02:18 +0000)]
[PSEH]
Stub amd64 functions and remove leading underscores from symbols

svn path=/trunk/; revision=48207

11 years ago[PSEH]
Timo Kreuzer [Fri, 23 Jul 2010 01:36:44 +0000 (01:36 +0000)]
[PSEH]
Add (non working) 64bit code

svn path=/trunk/; revision=48206

11 years ago[NDIS]
Amine Khaldi [Fri, 23 Jul 2010 00:20:13 +0000 (00:20 +0000)]
[NDIS]
- Convert NDIS_ERROR_CODE from a typedef to a define.
- Add some missing NDIS_STATUS_* definitions.
- Some _ANONYMOUS_UNION/_ANONYMOUS_STRUCT/__GNU_EXTENSION -> __MINGW_EXTENSION conversions.
- Update NDIS_REQUEST_TYPE and NDIS_PER_PACKET_INFO.
- Guard several definitions against NDIS_LEGACY_DRIVER.
- Improve NDIS_REQUEST.
- Add missing CO_ADDRESS_FAMILY_INFINIBAND, Ndis{Set,Get}PacketCancelId, NDIS_PACKET_{FIRST,LAST}_NDIS_BUFFER and NDIS_PACKET_VALID_COUNTS.
- Group related definitions.
- Update several Ndis* function declarations.
- Add missing NdisInterlocked{Push,Pop}EntryList and NdisGetCurrentSystemTime macros.

svn path=/trunk/; revision=48205

11 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 22 Jul 2010 23:22:57 +0000 (23:22 +0000)]
[NTOSKRNL]
- Add some missing constants for amd64
- Fix compilation of kd64
- Make MmAllocationFragment a SIZE_T

svn path=/trunk/; revision=48204

11 years agoUpdate FireFox, KDE, MirandaIM, Mono, Opera, RosBE64, SeaMonkey, ThunderBird, uTorren...
Daniel Reimer [Thu, 22 Jul 2010 22:01:58 +0000 (22:01 +0000)]
Update FireFox, KDE, MirandaIM, Mono, Opera, RosBE64, SeaMonkey, ThunderBird, uTorrent, VLC in rapps.

svn path=/trunk/; revision=48203

11 years ago[NTOS]: Stop creating a memory area for the shared user data page.
Sir Richard [Thu, 22 Jul 2010 20:54:37 +0000 (20:54 +0000)]
[NTOS]: Stop creating a memory area for the shared user data page.
[NTOS]: Also stop creating a memory area for the illegal user-mode parts of address space.
[NTOS]: Instead, mark the area between MM_HIGHEST_VAD_ADDRESS and MM_HIGHEST_USER_ADDRESS as being ARM3 as well: this way, ARM3 will get the illegal access (and fault), and it will also get the shared user data page access.
[NTOS]: With the previous commit, ARM3 knows how to handle the shared user data page access, and does so succesfully. End result: two more MAREA types have been removed, and the address space setup code is now much simpler.

svn path=/trunk/; revision=48202

11 years agoNote: this patch only implements the code paths, they are not excercised yet.
Sir Richard [Thu, 22 Jul 2010 20:52:23 +0000 (20:52 +0000)]
Note: this patch only implements the code paths, they are not excercised yet.
[NTOS]: Implement handling a very special case of "prototype PTE", the one used to map the shared user data for user-mode applications.
[NTOS]: MiCheckVirtualAddress detects this (Windows behavior) and returns a prototype PTE that's marked MM_READONLY. This is our MmSharedUserDataPte from before. This gets sent to MiDispatchFault which calls MiResolveProtoPteFault to handle it. In turn, this calls MiCompleteProtoPteFault. All these code paths have heavy ASSERTions to only allow them to be hit for the shared user data page, however, in the far distant future when prototype PTEs are used for section objects, we'll at least have the right checks and code flow (many of these ASSERTions will then have to be removed).
[NTOS]: The end result is that we also now have STATUS_PAGE_FAULT_TRANSITION, not just STATUS_PAGE_FAULT_DEMAND_ZERO, and that prototype PTEs are somewhat understood and some assumptions have been removed.

svn path=/trunk/; revision=48201

11 years ago[NTOS]: Stop handling PEB/TEB MAREAs since they're not used anymore.
Sir Richard [Thu, 22 Jul 2010 20:48:04 +0000 (20:48 +0000)]
[NTOS]: Stop handling PEB/TEB MAREAs since they're not used anymore.

svn path=/trunk/; revision=48200

11 years ago[NTOS]: Define the template prototype PTE.
Sir Richard [Thu, 22 Jul 2010 20:47:28 +0000 (20:47 +0000)]
[NTOS]: Define the template prototype PTE.

svn path=/trunk/; revision=48199

11 years ago[NTOS]: Stop handling a bunch of MEMORY_AREA_TYPEs that aren't used anymore.
Sir Richard [Thu, 22 Jul 2010 20:46:49 +0000 (20:46 +0000)]
[NTOS]: Stop handling a bunch of MEMORY_AREA_TYPEs that aren't used anymore.

svn path=/trunk/; revision=48198

11 years ago[NTOS]: Antique leftover, initialize the shared user data page with MI_MAKE_HARDWARE_...
Sir Richard [Thu, 22 Jul 2010 20:46:19 +0000 (20:46 +0000)]
[NTOS]: Antique leftover, initialize the shared user data page with MI_MAKE_HARDWARE_PTE_KERNEL

svn path=/trunk/; revision=48197

11 years ago[DHCPCSVC]
Cameron Gutman [Thu, 22 Jul 2010 19:37:33 +0000 (19:37 +0000)]
[DHCPCSVC]
- Add a hack so we wait for TCP/IP to get ready and bind to adapters instead of failing immediately after the first probe
- Live CD and 2nd stage setup now have fully functional networking :)

svn path=/trunk/; revision=48195

11 years ago[NTOS]: Allocate the PEB at a pseudo-random address just like Windows XP SP2 and...
Sir Richard [Thu, 22 Jul 2010 19:08:45 +0000 (19:08 +0000)]
[NTOS]: Allocate the PEB at a pseudo-random address just like Windows XP SP2 and later, to prevent certain kinds of exploits.
[NTOS]: Allocate PEB and TEB using VADs! The user-mode fault handler seems to work fine, and I could find no regressions. This is the beginning of the end for MAREAs for VM allocations (they will remain for sections).

svn path=/trunk/; revision=48194

11 years ago[NDIS]
Cameron Gutman [Thu, 22 Jul 2010 19:01:49 +0000 (19:01 +0000)]
[NDIS]
- Refresh the protocol bindings after a new miniport is added
- Adapters added after boot work now
- One step closer to Live CD networking

svn path=/trunk/; revision=48193

11 years ago[NTOS]: To Timo, with Love (make System PTEs work on x64).
Sir Richard [Thu, 22 Jul 2010 18:55:36 +0000 (18:55 +0000)]
[NTOS]: To Timo, with Love (make System PTEs work on x64).

svn path=/trunk/; revision=48192

11 years ago[NTOS]: Add support for handling a very specific type of user-fault on ARM3 memory...
Sir Richard [Thu, 22 Jul 2010 18:37:27 +0000 (18:37 +0000)]
[NTOS]: Add support for handling a very specific type of user-fault on ARM3 memory: memory belonging to a VAD allocation made for a PEB/TEB (read-write) that hasn't yet been allocated.
[NTOS]: Define the demand-zero PDE template.

svn path=/trunk/; revision=48190

11 years ago[NETCFGX]
Cameron Gutman [Thu, 22 Jul 2010 18:29:35 +0000 (18:29 +0000)]
[NETCFGX]
- Start the TCP/IP driver after we install a network adapter
- This fixes the major bug that blocks Live CD networking but we still have some DHCP issues (DHCP starts and fails before the NIC and TCP/IP has been installed) and some other adapter detection issues that I need to look into but this is a good first step

svn path=/trunk/; revision=48188

11 years ago[NTOS]: Fix a very stupid bug which made any machine with less than 52GB of RAM appea...
Sir Richard [Thu, 22 Jul 2010 18:26:04 +0000 (18:26 +0000)]
[NTOS]: Fix a very stupid bug which made any machine with less than 52GB of RAM appear as a "Small memory machine" (instead of 13MB).
[NTOS]: Initialize MmTotalCommitLimit, MmTotalCommitLimitMaximum for consistency.
[NTOS]: Initialize and honor MmAllocationFragment value from registry, or from defaults.
[NTOS]: Initialize the system cache working set pushlock.
[NTOS]: Implement Mi(Un)Lock(Process)WorkingSet inlines to handle the various scenarios. Replace broken/hacky code that was in the system loader, fault handler, and VM deletion paths with the correct macros. No locking is done yet as ReactOS' MAREA implementation overloads the Vm field in EPROCESS, but the correct APC blockings and state transitions are done.
[NTOS]: Add another helper from symbols, MI_IS_PAGE_TABLE_OR_HYPER_ADDRESS, and use it instead of the math-by-hand.
[NTOS]: Add MM_IS_ANY_LOCK_HELD and MI_WS_OWNER to help out the new working let locking inlines (names taken from symbols).
[NTOS]: Add _1GB helper for large-memory checks. Also define _1KB as "1024u". The "u" makes GCC not complain when sizes reach >= 2GB, because GCC will interpret the integer literals as "signed", even if the final calculated value is in an unsigned variable.

svn path=/trunk/; revision=48187

11 years ago[NDK]
Timo Kreuzer [Thu, 22 Jul 2010 15:18:55 +0000 (15:18 +0000)]
[NDK]
Include the correct mmtypes.h for amd64

svn path=/trunk/; revision=48186

11 years ago[NTDLL]
Timo Kreuzer [Thu, 22 Jul 2010 14:49:42 +0000 (14:49 +0000)]
[NTDLL]
- Add amd64 stubs for LdrInitializeThunk and KiUserApcDispatcher

svn path=/trunk/; revision=48185

11 years ago[NTDLL]
Timo Kreuzer [Thu, 22 Jul 2010 14:44:27 +0000 (14:44 +0000)]
[NTDLL]
- Comment out RtlWalkFrameChain for amd64

svn path=/trunk/; revision=48184

11 years ago[MSVCRT]
Timo Kreuzer [Thu, 22 Jul 2010 10:23:52 +0000 (10:23 +0000)]
[MSVCRT]
- export _ftol only on i386
- fix _setjmp (2nd argument) and redirect setjmp

svn path=/trunk/; revision=48183

11 years ago[TLIST]
Timo Kreuzer [Thu, 22 Jul 2010 09:20:35 +0000 (09:20 +0000)]
[TLIST]
link to getopt library

svn path=/trunk/; revision=48182

11 years ago[MINGW]
Timo Kreuzer [Thu, 22 Jul 2010 09:20:03 +0000 (09:20 +0000)]
[MINGW]
- Remove getopt from mingw lib and put it into it's own static library
- change crt="dll" to crt="static" for the mingw startup libs, to avoid things like importing from itself.

svn path=/trunk/; revision=48181

11 years ago[NTOS]: Fix "fail". Dedicated to Timo.
Sir Richard [Thu, 22 Jul 2010 05:22:26 +0000 (05:22 +0000)]
[NTOS]: Fix "fail". Dedicated to Timo.

svn path=/trunk/; revision=48180

11 years ago[NTOSKRL]
Timo Kreuzer [Thu, 22 Jul 2010 04:19:27 +0000 (04:19 +0000)]
[NTOSKRL]
Add missing MI_LOWEST_VAD_ADDRESS for amd64

svn path=/trunk/; revision=48179