Commit graph

63555 commits

Author SHA1 Message Date
Amine Khaldi c4cd6e2035 [CONFIGURE] First step towards introducing a way to compile ReactOS without invoking CMake twice. NFC. CORE-10121
svn path=/trunk/; revision=69058
2015-09-06 16:17:26 +00:00
Alex Ionescu 7bc39e5dae [BOOTMGFW]
- Start implementing MmMdRemoveRegionFromMdlEx. The 3 cases are detected and print right now.

svn path=/trunk/; revision=69057
2015-09-06 15:44:56 +00:00
Alex Ionescu cdd381d869 [BOOTMGFW]:
- Implement algorithm to detect if truncation is needed, which should only happen on IA64 systems I believe (otherwise, the OS and firmware should have the same alignment/page size requirements)
- Implement algorithm to detect if coalescing is needed. This shouldn't happen with firmware memory yet, but might happen once we start carving out stuff.

svn path=/trunk/; revision=69056
2015-09-06 15:02:49 +00:00
Thomas Faber a97581c62d [NDIS]
- Better stub power IRP handling. Failing IRP_MN_SET_POWER is illegal!
CORE-10117

svn path=/trunk/; revision=69055
2015-09-06 14:35:20 +00:00
Thomas Faber 17301d5353 [KBDCLASS][MOUCLASS]
- Forward power IRPs to lower devices. Failing IRP_MN_SET_POWER is illegal!
CORE-10117

svn path=/trunk/; revision=69054
2015-09-06 14:32:22 +00:00
Thomas Faber 9eaf6957f5 [VIDEOPRT]
- Correctly stub power IRP handling. Fixes IRP leaks on shutdown.
- Correctly stub IntVideoPortDispatchSystemControl to avoid IRP leak.
CORE-10117 CORE-10105

svn path=/trunk/; revision=69053
2015-09-06 10:45:37 +00:00
Pierre Schweitzer 3363077e26 [NTOSKRNL]
Define & use a tag for FsRtlNotify* memory allocations

svn path=/trunk/; revision=69052
2015-09-06 10:06:59 +00:00
Thomas Faber 7eade447fe [FMIFS]
- Remove useless export of InitializeFmIfs. Fixes MSVC warning (LNK4216: Exported entry point _InitializeFmIfs@12)

svn path=/trunk/; revision=69051
2015-09-06 09:55:10 +00:00
Thomas Faber 254e6c2c6e [PCI]
- Better stub IRP_MJ_POWER handlers. Failing IRP_MN_SET_POWER is illegal!
CORE-10117

svn path=/trunk/; revision=69050
2015-09-06 08:54:20 +00:00
Thomas Faber 813a68a73c [DISPLAYS]
- DrvEnableDriver does not need to be exported. Fixes MSVC warnings (LNK4216: Exported entry point _DrvEnableDriver@12)

svn path=/trunk/; revision=69049
2015-09-06 08:35:01 +00:00
Thomas Faber 68f6155242 [SHELL32]
- Initialize CNewMenu::m_pidlFolder. Fixes crash in com_apitest:shell32
CORE-10115 #resolve

svn path=/trunk/; revision=69048
2015-09-06 08:16:57 +00:00
Alex Ionescu 4ea30042a6 [BOOTMGFW]:
- Cleanup some bugs/issues in the memory map parsing code.
- Implement creation of BL/NT-compatible memory descriptors based on UEFI descriptors.
- Implement other remaining parts of the page allocator initialization routine.
- Last part missing is to implement routines for removing from a memory list, and for handling the boot manager's own descriptor.

svn path=/trunk/; revision=69047
2015-09-06 06:15:08 +00:00
Thomas Faber e25a440db4 [MSVCRT]
- Properly ignore LNK4102 for libmsvcrt

svn path=/trunk/; revision=69046
2015-09-06 05:20:26 +00:00
Alex Ionescu 6713972af8 [BOOTMGFW]:
- Start implementing the page allocator. Right now, we are able to obtain & dump the UEFI memory map.

svn path=/trunk/; revision=69045
2015-09-06 04:53:49 +00:00
Alex Ionescu 110b26a50d [BOOTMGFW]
- Begin carving out the rough edges of the memory manager. This will be the hardest part.

svn path=/trunk/; revision=69044
2015-09-06 03:24:30 +00:00
Alex Ionescu 6073e89f6b [BOOTMGFW]:
- Use the right settings to make our CD UEFI compatible. The Internet says this is supposed to be 10000x harder, but it seems to work fine, at least in Virtual Box.
- Implement an EarlyPrint routine for early debugging/testing.
- Using the above, fix a bunch of stupid bugs. The previously committed code now seems to work (so far).

svn path=/trunk/; revision=69043
2015-09-06 03:02:56 +00:00
Stefan Ginsberg d3d3e85c9a - Silence some C4028 warnings in our code by fixing some mismatched const.
- Also remove a misplaced INIT_FUNCTION and straggler RtlPrefetchMemoryNonTemporal.

svn path=/trunk/; revision=69042
2015-09-05 20:50:51 +00:00
Alex Ionescu c378dbf128 [BOOTMGFW]:
- Add very early EFI Firmware and x86 Context Management Support.

svn path=/trunk/; revision=69041
2015-09-05 20:31:14 +00:00
Stefan Ginsberg 38f02bb9e7 Nothing to see here move along
svn path=/trunk/; revision=69040
2015-09-05 19:50:14 +00:00
Alex Ionescu ac33cabb74 [BOOTMGFW]:
Add support for converting the EFI file path as well. The first 1000 lines of many have been written. Time to test on Virtual Box.

svn path=/trunk/; revision=69039
2015-09-05 19:38:20 +00:00
Alex Ionescu c4d544b3ad [BOOTMGFW]
- Implement EFI device path conversion

svn path=/trunk/; revision=69038
2015-09-05 19:18:54 +00:00
Stefan Ginsberg 4a3db0a6c3 - Add in MSVC support for HAL .init sections by using alloc_text. MSVC support for putting the HAL pci class and vendor tables into .init is still lacking. Put into a _MINIHAL_ guard or freeldr gets REALLY sad.
- Rename INIT_FUNCTION to INIT_SECTION and put it at the top of functions for consistency with __declspec declarations (it is actually possible to do this via __declspec in newer MSVC versions).

svn path=/trunk/; revision=69037
2015-09-05 18:33:38 +00:00
Amine Khaldi 141f412d0f [CMAKE/MSVC] C4200 doesn't look useful to us.
svn path=/trunk/; revision=69036
2015-09-05 17:46:04 +00:00
Amine Khaldi af74325ed0 [SOFTPUB] Don't assign ordinals to Dll{Register,Unregister}Server(). CORE-10113
svn path=/trunk/; revision=69035
2015-09-05 17:42:27 +00:00
Amine Khaldi fa77c8bd71 [CMAKE/MSVC] Temporarily disable C4018 until we fix more of the others. CORE-10113
svn path=/trunk/; revision=69034
2015-09-05 17:31:51 +00:00
Alex Ionescu 66cb7118b2 [BOOTMGFW]
- Define some core boot library structures -- reverse engineered to be compatible with MS. This is important if we want to load MS' own binaries for testing (such as MemTest.Efi)
- Define basic BCD structures
- Start implementing EFI->Windows Boot Library conversion routines. Last part remaining is EFI path conversion.
- Fix linking with RTL, by providing some stubs for now.

svn path=/trunk/; revision=69033
2015-09-05 16:05:20 +00:00
Stefan Ginsberg 4365775be6 - Don't have two different implementation of KiConvertToGuiThread, first as inlined assembly gcc and second as a function call (for msvc). Always use the function call to be consistent with both compilers.
svn path=/trunk/; revision=69032
2015-09-05 15:20:27 +00:00
Thomas Faber 57bd950d25 [NTOS:MM]
- Use MmExpansionLock to synchronize changes to MmProcessList. Should fix random crashes in MmDeleteProcessAddressSpace.
CORE-10111 #resolve

svn path=/trunk/; revision=69031
2015-09-05 14:39:40 +00:00
Amine Khaldi 007c3df2e3 [GDI32] Get back the condition we had before.
svn path=/trunk/; revision=69030
2015-09-05 14:39:27 +00:00
Amine Khaldi abfb19af87 [CMAKE] Set Debug as the default build type for MSVC builds.
svn path=/trunk/; revision=69029
2015-09-05 14:38:50 +00:00
Amine Khaldi d60b5b3bab [MESA] Fix mesa_swrast VS 2015 build.
svn path=/trunk/; revision=69028
2015-09-05 14:32:44 +00:00
Amine Khaldi a0673404ef [LIBXML2] Actually, the VS build has the /wd4189 flag before /we4189 rendering it useless. Use another approach to silencing it.
svn path=/trunk/; revision=69027
2015-09-05 14:29:27 +00:00
Amine Khaldi 739486b5a0 [LIBXML2] Fix VS 2015 build.
svn path=/trunk/; revision=69026
2015-09-05 14:14:35 +00:00
Thomas Faber ded6dc385c [ACPI]
- Arch, don't shut down the system on IRP_MN_QUERY_POWER!
CORE-10110

svn path=/trunk/; revision=69025
2015-09-05 13:24:30 +00:00
Hermès Bélusca-Maïto c1228347b5 [MSCONFIG_NEW]
- Associate a temporary VS project (will be removed later on); change the name of the target for now...
- Allow only one instance of MSConfig running on the system (we use a semaphore, compatible with MS' msconfig, so that if you try to run ROS msconfig on windows, you cannot run also windows' msconfig, and vice versa).
- Introduce some utility functions (for strings and other stuff), will be used later on.
CORE-9333

svn path=/trunk/; revision=69024
2015-09-05 13:03:04 +00:00
Thomas Faber 83400d8fc7 [NTOS]
- Addendum to r69022

svn path=/trunk/; revision=69023
2015-09-05 11:53:04 +00:00
Thomas Faber 2565dcba26 [NTOS:PS]
- Implement NtApphelpCacheControl. Patch by Mark Jansen
CORE-9914 #resolve

svn path=/trunk/; revision=69022
2015-09-05 11:49:54 +00:00
Thomas Faber f0988cafd6 [NTOS]
- Fix build
CORE-9914

svn path=/trunk/; revision=69021
2015-09-05 11:32:02 +00:00
Thomas Faber 5f77d25a52 [SHIMDBG]
- Add a test tool for SHIM engine caching to rosapps. Patch by Mark Jansen
CORE-9914

svn path=/trunk/; revision=69020
2015-09-05 11:27:20 +00:00
Thomas Faber 86455f3ced [NDK]
- Update NtApphelpCacheControl declaration and add appropriate types. Patch by Mark Jansen
CORE-9914

svn path=/trunk/; revision=69019
2015-09-05 11:20:05 +00:00
Hermès Bélusca-Maïto c468cf76b0 [MSCONFIG_NEW]: Start improved MSConfig. It's time to commit stuff I've done in it since 2011!
svn path=/trunk/; revision=69018
2015-09-05 10:37:36 +00:00
Thomas Faber fe9978df72 [ESENT]
- Add stub dll. Fixes CCleaner startup. Patch by Mark Jansen
CORE-8758 #resolve

svn path=/trunk/; revision=69017
2015-09-05 10:00:31 +00:00
Amine Khaldi 02b26e04a7 [GDI32] Fix build with VS 2015.
svn path=/trunk/; revision=69016
2015-09-05 08:39:14 +00:00
Hermès Bélusca-Maïto 090f1203a2 [CRT]: Add a missing header inclusion.
svn path=/trunk/; revision=69015
2015-09-05 00:41:56 +00:00
Thomas Faber cba5662485 [NTOS:WMI]
- Actually fix WmipShutdown. Spotted by Hermès
CORE-10105

svn path=/trunk/; revision=69014
2015-09-04 22:11:51 +00:00
Thomas Faber 8751ae5a8b [NTOS:WMI][HAL]
- Properly stub WmipShutdown and HalpDispatchPower to avoid IRP leaks
CORE-10105

svn path=/trunk/; revision=69013
2015-09-04 21:30:16 +00:00
Thomas Faber 8701931bfa [NTOS:KE]
- Fix KiGetCacheInformation for Intel processors according to the latest Intel Instruction Set Reference

svn path=/trunk/; revision=69012
2015-09-04 20:33:37 +00:00
Christoph von Wittich c80d062582 [WHOAMI] fix a memory leak CID 1322119
svn path=/trunk/; revision=69011
2015-09-04 20:15:01 +00:00
Christoph von Wittich 5866c92e8d [CHARMAP] assign the DC to the correct variable CID 1322245
svn path=/trunk/; revision=69010
2015-09-04 20:02:25 +00:00
Christoph von Wittich 796ff3eae8 [IPCONFIG] fix format string issues and double free
CID 502632
CID 502633
CID 502634
CID 1322301

svn path=/trunk/; revision=69009
2015-09-04 19:03:41 +00:00