Commit graph

63345 commits

Author SHA1 Message Date
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
Thomas Faber
a7eeecdfdb [HIDCLASS][USBHUB]
- Fix IRP leaks in success case of hidclass!HidClassFDO_GetDescriptors and usbhub!FowardUrbToRootHub

svn path=/trunk/; revision=69008
2015-09-04 17:31:58 +00:00
Amine Khaldi
cf0892e19e [SETUPAPI] Partially sync query.c with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=69007
2015-09-04 17:29:32 +00:00
Pierre Schweitzer
1aecd02787 [CRT]
Fix memory allocation in __dllonexit

CID 514138

svn path=/trunk/; revision=69006
2015-09-04 16:49:51 +00:00
Pierre Schweitzer
975826e064 [CRT]
Fix rand_s implementation so that it doesn't leak resources, so that it doesn't dereference null pointer, so that it matches MSDN documentation (https://msdn.microsoft.com/fr-fr/library/sxtz2fa8.aspx)

CID 716561
CID 716668

svn path=/trunk/; revision=69005
2015-09-04 16:41:51 +00:00
Thomas Faber
3d95d5dd14 [NTOS]
- Fix TAG_IRP

svn path=/trunk/; revision=69004
2015-09-04 16:16:48 +00:00
Thomas Faber
2793ff5f85 [CDROM]
- Avoid IRP leaks

svn path=/trunk/; revision=69003
2015-09-04 16:01:46 +00:00
Pierre Schweitzer
ddac0cda92 [MOUNTMGR]
Fix a nasty typo in QueryPointsFromMemory() which was like breaking the behavior of IOCTL_MOUNTMGR_QUERY_POINTS, IOCTL_MOUNTMGR_DELETE_POINTS

CID 1321853

svn path=/trunk/; revision=69002
2015-09-04 15:58:44 +00:00
Pierre Schweitzer
bff1ce32bc [NTFS]
Don't bother comparing names if they have null length

svn path=/trunk/; revision=69001
2015-09-04 15:52:19 +00:00
Pierre Schweitzer
02a238acf4 [NTFS]
Don't attempt to dereference a null pointer
CID 1321987

svn path=/trunk/; revision=69000
2015-09-04 15:37:15 +00:00
Thomas Faber
9c35e7b817 [BOOTMGFW]
- Fix build with RUNTIME_CHECKS (and hopefully STACK_PROTECTOR)

svn path=/trunk/; revision=68999
2015-09-04 15:33:12 +00:00