Amine Khaldi [Mon, 22 Jun 2015 18:39:14 +0000 (18:39 +0000)]
[CMD][EXPLORER] Properly track resource file dependencies. CORE-9806
svn path=/trunk/; revision=68241
Amine Khaldi [Mon, 22 Jun 2015 18:33:49 +0000 (18:33 +0000)]
[LIVECD] Add the required folder for the favorites menu to work. By Barrett Karish. CORE-9780
svn path=/trunk/; revision=68240
Pierre Schweitzer [Mon, 22 Jun 2015 17:27:47 +0000 (17:27 +0000)]
[CDFS]
Revamp r68233:
- Don't duplicate code, implement checks in a helper function
- When checking name content, do it earlier for better performances
- Add extra checks to prevent a potential buffer overflow in case of Joliet names with illformed entries
CORE-9254
svn path=/trunk/; revision=68239
Amine Khaldi [Mon, 22 Jun 2015 16:01:43 +0000 (16:01 +0000)]
[EXPLORER] Explicitly request applications to re-register their systray icons as soon as explorer is started. By Joachim Henze. CORE-9824
svn path=/trunk/; revision=68238
Christoph von Wittich [Mon, 22 Jun 2015 10:00:00 +0000 (10:00 +0000)]
[USBEHCI]
fix some typos
svn path=/trunk/; revision=68236
Eric Kohl [Sun, 21 Jun 2015 20:18:23 +0000 (20:18 +0000)]
[USETUP]
UpdateDiskLayout:
- Resize the layout buffer if necessary.
- Start writing logical partitions to the disk.
- Disable the code that wipes unused table entries. May be enabled later.
Right now, you can only create one logical partition because the link entries are not created yet.
svn path=/trunk/; revision=68235
Thomas Faber [Sun, 21 Jun 2015 19:15:01 +0000 (19:15 +0000)]
[RTL][NDK][NTDLL_APITEST]
- Properly implement/declare/test RtlCopyMappedMemory... it's not that hard
CORE-9857
svn path=/trunk/; revision=68234
Pierre Schweitzer [Sun, 21 Jun 2015 16:47:23 +0000 (16:47 +0000)]
[CDFS]
Add a few sanity checks to our handling of ISO 9660 / Joliet:
- Null name entries are forbidden
- Degenerated entries (mistmaching sizes) reveal broken layout
In both cases, the lookup for a file is aborted and the CD considered as corrupted by the FSD.
explorer displays empty CDs then.
CORE-9254 #resolve #comment Fixed with r68233
svn path=/trunk/; revision=68233
Thomas Faber [Sun, 21 Jun 2015 16:38:44 +0000 (16:38 +0000)]
[RTL][NTDLL]
- Add basic implementations of RtlApplicationVerifierStop and RtlCopyMappedMemory for the benefit of some Windows dlls
CORE-9857 CORE-9858 #resolve
svn path=/trunk/; revision=68232
Pierre Schweitzer [Sun, 21 Jun 2015 14:02:35 +0000 (14:02 +0000)]
[CDFS]
Remove redundant code now we have IRP context dispatch
svn path=/trunk/; revision=68231
Daniel Reimer [Sun, 21 Jun 2015 11:20:39 +0000 (11:20 +0000)]
[TRANSLATION]
Updating Turkish Translation by Erdem Ersoy
CORE-9755 #resolve #comment Committed, thx ^^
svn path=/trunk/; revision=68230
Eric Kohl [Sun, 21 Jun 2015 09:39:06 +0000 (09:39 +0000)]
[FSLIB]
Remove the HiddenSectors hack because usetup initializes the HiddenSectors value properly.
svn path=/trunk/; revision=68229
Pierre Schweitzer [Sun, 21 Jun 2015 09:26:15 +0000 (09:26 +0000)]
[NTFS]
CcInitializeCacheMap can raise exceptions, wrap it into a SEH block
svn path=/trunk/; revision=68228
Thomas Faber [Sun, 21 Jun 2015 09:20:01 +0000 (09:20 +0000)]
[NTOS:CC]
- Raise an exception in case of failure in CcInitializeCacheMap
CORE-9848
svn path=/trunk/; revision=68227
Eric Kohl [Sun, 21 Jun 2015 08:55:43 +0000 (08:55 +0000)]
[USETUP]
UpdateDiskLayout:
- Set the proper HiddenSectors value.
- Fix counting the PartitonaNumber.
UpdatePartitionNumbers() has become obsolete. Remove it.
svn path=/trunk/; revision=68226
Thomas Faber [Sun, 21 Jun 2015 08:50:10 +0000 (08:50 +0000)]
[NTDLL_APITEST]
- Add a test for SystemFlagsInformation that demonstrates the parameter checks performed by NtQuerySystemInformation/NtSetSystemInformation
CORE-9849
svn path=/trunk/; revision=68225
Pierre Schweitzer [Sun, 21 Jun 2015 08:07:11 +0000 (08:07 +0000)]
[NTOSKNRL]
As shown by the non commited yet tests from Thomas, we have to check for privilege in NtSetSystemInformation - SystemFlagsInformation
svn path=/trunk/; revision=68224
Pierre Schweitzer [Sun, 21 Jun 2015 08:06:25 +0000 (08:06 +0000)]
[NTOSKRNL]
- Probe input buffer for read in NtSetSystemInformation() and call the helpers function in a PSEH block
- For the NtSetSytemInformation - SystemSessionCreate specific case, as we return session ID, probe for write directly there.
svn path=/trunk/; revision=68223
Pierre Schweitzer [Sun, 21 Jun 2015 05:46:38 +0000 (05:46 +0000)]
[NTOSKRNL]
Revert r68221: probing *should* be done in NtSetSystemInformation()
Let's check there why it's not done instead...
svn path=/trunk/; revision=68222
Pierre Schweitzer [Sun, 21 Jun 2015 05:40:15 +0000 (05:40 +0000)]
[NTOSKRNL]
Don't trust the user!
Probe buffers in NtSetSystemInformation - SystemSessionCreate and in NtSetSystemInformation - SystemSessionDetach
svn path=/trunk/; revision=68221
Pierre Schweitzer [Sun, 21 Jun 2015 05:33:53 +0000 (05:33 +0000)]
[NTOSKRNL]
Don't use SYSTEM_INFORMATION_CLASS definition from Wine but from NDK.
Fix naming accordingly
svn path=/trunk/; revision=68220
Thomas Faber [Sun, 21 Jun 2015 05:30:20 +0000 (05:30 +0000)]
[SHELL32]
- Use CreateViewObject instead of QueryInterface to get a drop target from a shell folder.
CORE-9846
svn path=/trunk/; revision=68219
Thomas Faber [Sun, 21 Jun 2015 05:21:30 +0000 (05:21 +0000)]
[SHELL32]
- Finally give up on that assert. It's not easily fixable
CORE-9839 or CORE-9844 or CORE-9845 or whatever
svn path=/trunk/; revision=68218
Thomas Faber [Sun, 21 Jun 2015 04:56:38 +0000 (04:56 +0000)]
[SHELL32]
- Test your code, Arch! Fix another assertion failure.
CORE-9845 #resolve
svn path=/trunk/; revision=68217
Aleksandar Andrejevic [Sun, 21 Jun 2015 02:36:20 +0000 (02:36 +0000)]
[NTVDM]
Begin upgrading the VGA emulation to SuperVGA emulation
(Cirrus Logic CL-GD5343 compatible).
This is still a WIP. So far only the VCLK and MCLK have been implemented.
svn path=/trunk/; revision=68216
Thomas Faber [Sat, 20 Jun 2015 21:46:16 +0000 (21:46 +0000)]
[SHELL32]
- Fix assertion failure in 2nd stage by setting s_IsTerminated when an instance does not yet exist.
- Rename CComCreatorSingleton to CComCreatorCentralInstance since it's not /technically/ a singleton
svn path=/trunk/; revision=68215
Eric Kohl [Sat, 20 Jun 2015 18:17:03 +0000 (18:17 +0000)]
[USETUP]
DumpPartitionTable: Improve the output and print the partition start and length in sectors instead of bytes.
svn path=/trunk/; revision=68214
Eric Kohl [Sat, 20 Jun 2015 17:59:14 +0000 (17:59 +0000)]
[USETUP]
AddDiskToList: Fix the allocation of the disk layout buffer.
CORE-9821 #resolve #comment Please retest.
svn path=/trunk/; revision=68213
Thomas Faber [Sat, 20 Jun 2015 17:52:28 +0000 (17:52 +0000)]
[SHELL32]
- Also make My Computer a singleton, as shown by the CMyComputer test. With r68210 and this commit, SHFileOperation on a large number of files is approximately 3 times as fast.
CORE-9839 #resolve
svn path=/trunk/; revision=68212
Thomas Faber [Sat, 20 Jun 2015 17:04:27 +0000 (17:04 +0000)]
[GRML]
- Fix build
svn path=/trunk/; revision=68211
Thomas Faber [Sat, 20 Jun 2015 16:54:52 +0000 (16:54 +0000)]
[SHELL32]
- Introduce a CComCreatorSingleton class and use it for CDesktopFolder. Multiple calls to SHGetDesktopFolder will now return the same instance, which provides a massive speedup in many shell operations.
CORE-9839
svn path=/trunk/; revision=68210
Thomas Faber [Sat, 20 Jun 2015 16:28:38 +0000 (16:28 +0000)]
[SHELL32_APITEST]
- Add a test for CLSID_MyComputer that shows this folder object is also cached.
CORE-9839
svn path=/trunk/; revision=68209
Thomas Faber [Sat, 20 Jun 2015 15:23:25 +0000 (15:23 +0000)]
[SHELL32]
- Addendum to r68202
CORE-9839
svn path=/trunk/; revision=68208
Eric Kohl [Sat, 20 Jun 2015 13:42:39 +0000 (13:42 +0000)]
[USETUP]
Add support for logical partitions to the partition deletion code.
svn path=/trunk/; revision=68207
Amine Khaldi [Sat, 20 Jun 2015 13:03:46 +0000 (13:03 +0000)]
[REACTOS][VMWINST][WELCOME] Properly track resource file dependencies. CORE-9806
svn path=/trunk/; revision=68206
Amine Khaldi [Sat, 20 Jun 2015 13:02:14 +0000 (13:02 +0000)]
[MMSYS] Move the speaker bitmap up 5 pixels. By Jared Smudde. CORE-9790
svn path=/trunk/; revision=68205
Amine Khaldi [Sat, 20 Jun 2015 12:59:55 +0000 (12:59 +0000)]
[BROWSEUI] Make the view->go to menu items reflect the toolbar buttons status. By Barrett Karish with some slight changes by me. CORE-9800
svn path=/trunk/; revision=68204
Thomas Faber [Sat, 20 Jun 2015 12:08:13 +0000 (12:08 +0000)]
[ATL]
- Implement CComClassFactorySingleton
svn path=/trunk/; revision=68203
Thomas Faber [Sat, 20 Jun 2015 10:26:22 +0000 (10:26 +0000)]
[SHELL32]
- Separate CDesktopFolder's IDropTarget out into its own class (since each caller needs its own instance)
CORE-9839
svn path=/trunk/; revision=68202
Thomas Faber [Sat, 20 Jun 2015 09:22:55 +0000 (09:22 +0000)]
[ATL]
- Fix compilation when UNICODE is not defined
CORE-9258 #resolve
svn path=/trunk/; revision=68201
Thomas Faber [Sat, 20 Jun 2015 09:07:29 +0000 (09:07 +0000)]
[SHELL32_APITEST]
- Add a test showing that repeated calls to SHGetDesktopFolder return pointers to the same object, and that its CreateViewObject method instead creates new objects.
CORE-9839
svn path=/trunk/; revision=68200
Thomas Faber [Sat, 20 Jun 2015 08:51:07 +0000 (08:51 +0000)]
[APITESTS]
- Make CUnknownBase constructor parameters optional
svn path=/trunk/; revision=68199
Hermès Bélusca-Maïto [Fri, 19 Jun 2015 22:38:34 +0000 (22:38 +0000)]
[ROSAPPS]: Merge the two existing CATs into one and improve it (see r66942, r66989 and r66990).
svn path=/trunk/; revision=68198
Eric Kohl [Fri, 19 Jun 2015 19:01:39 +0000 (19:01 +0000)]
[USETUP]
Implement CreateLogicalPartition. Now we can create logical partitons, but they will not be written to a disk yet.
svn path=/trunk/; revision=68197
Thomas Faber [Fri, 19 Jun 2015 18:16:27 +0000 (18:16 +0000)]
[ADVAPI32]
- Use a separate heap allocation for the thread parameters to ScServiceMainStub, since the thread can live longer than the ACTIVE_SERVICE structure
CORE-9235
svn path=/trunk/; revision=68196
Thomas Faber [Thu, 18 Jun 2015 15:45:32 +0000 (15:45 +0000)]
[WIN32K:NTUSER]
- Restructure co_UserProcessHotKeys to correctly process modifier-only hotkeys. Fixes start menu opening after Win+X shortcuts, and probably several other hotkey-related issues. Thanks to reactosfanboy.
CORE-9728 #resolve
svn path=/trunk/; revision=68190
Thomas Faber [Thu, 18 Jun 2015 14:02:55 +0000 (14:02 +0000)]
[USER32_APITEST]
- Arch, will you stop only testing your code with MSVC?!
svn path=/trunk/; revision=68189
Thomas Faber [Thu, 18 Jun 2015 13:59:51 +0000 (13:59 +0000)]
[USER32_APITEST]
- Fail if we get too many WM_HOTKEY messages
CORE-9728
svn path=/trunk/; revision=68188
Thomas Faber [Thu, 18 Jun 2015 13:45:17 +0000 (13:45 +0000)]
[INCLUDE]
- Fix undocshell.h build without UNICODE defined
svn path=/trunk/; revision=68187
Thomas Faber [Thu, 18 Jun 2015 13:41:52 +0000 (13:41 +0000)]
[USER32_APITEST]
- Add a simple test for RegisterHotKey with regular vs modifier-only hotkeys
CORE-9728
svn path=/trunk/; revision=68186
Ged Murphy [Thu, 18 Jun 2015 13:08:11 +0000 (13:08 +0000)]
[DEVMGR]
- Add tooltips for the toolbar
- Fix the 'disable' button not showing for devices that be disabled
- Some code cleanup / noise
svn path=/trunk/; revision=68185
Ged Murphy [Thu, 18 Jun 2015 11:02:52 +0000 (11:02 +0000)]
[DEVMGR]
- Add support for WM_ENTERMENULOOP/WM_EXITMENULOOP and update the status bar style to allow hints to be drawn
- Fixup the menu hints
svn path=/trunk/; revision=68184
Amine Khaldi [Thu, 18 Jun 2015 10:48:00 +0000 (10:48 +0000)]
[SHELL32] Add printer icons. By Lee Schroeder. CORE-9829
svn path=/trunk/; revision=68183
Ged Murphy [Thu, 18 Jun 2015 10:26:30 +0000 (10:26 +0000)]
[DEVMGR]
- In 'Devices by Connection, if a device has a problem, expand the treeview to to show that problem device.
- Add a missing break in WM_COMMAND to stop the app from closing
- Fix clearing the lists
svn path=/trunk/; revision=68182
Hermès Bélusca-Maïto [Wed, 17 Jun 2015 23:21:12 +0000 (23:21 +0000)]
[NTVDM]: Implement INT 10h, AX=1018/1019 "Set/Get PEL Mask".
svn path=/trunk/; revision=68181
Ged Murphy [Wed, 17 Jun 2015 21:26:42 +0000 (21:26 +0000)]
[DEVMGR]
- Make class and device nodes polymorphic and move the code into separate files
- Add an abstract base class which we attach to the listview nodes
- Add double clicking of nodes
svn path=/trunk/; revision=68180
Pierre Schweitzer [Wed, 17 Jun 2015 20:33:08 +0000 (20:33 +0000)]
[CDFS]
Don't attempt to complete an IRP that was took over by FsRtl.
CORE-9777 #resolve #comment Fixed in r68179
svn path=/trunk/; revision=68179
Amine Khaldi [Wed, 17 Jun 2015 20:27:52 +0000 (20:27 +0000)]
[CDFS] Update the file paths in the header blocks. NFC
svn path=/trunk/; revision=68178
Pierre Schweitzer [Wed, 17 Jun 2015 20:07:44 +0000 (20:07 +0000)]
[NDK]
Fix KNODE definition, to be compatible with w2k3.
Thanks to Thomas for his help.
svn path=/trunk/; revision=68177
Amine Khaldi [Wed, 17 Jun 2015 19:55:43 +0000 (19:55 +0000)]
[SHELL32] Report file system changes in SHChangeNotifyRegister. Brought to you by Huw Campbell. CORE-1171
svn path=/trunk/; revision=68176
Thomas Faber [Wed, 17 Jun 2015 19:19:39 +0000 (19:19 +0000)]
[FASTFAT]
- Set the correct length in FsdGetFsVolumeInformation/FsdGetFsAttributeInformation, and write back partial data when returning STATUS_BUFFER_OVERFLOW
- Replace unnecessary checks with ASSERTs
CORE-9820 #resolve
svn path=/trunk/; revision=68175
Amine Khaldi [Wed, 17 Jun 2015 18:30:14 +0000 (18:30 +0000)]
[SHELL32] Fix IDI_SHELL_EXTENDED_PROPERTIES, use the icons 6 and 7 for floppy drive and remove floppy.ico. By Jared Smudde. CORE-9804
svn path=/trunk/; revision=68174
Pierre Schweitzer [Wed, 17 Jun 2015 18:23:39 +0000 (18:23 +0000)]
[NTOSKRNL]
Implement NtQuerySystemInformation - SystemNumaAvailableMemory
Stub out NtQuerySystemInformation - SystemPrefetcherInformation
Stub out NtQuerySystemInformation - SystemExtendedProcessInformation
Stub out NtQuerySystemInformation - SystemRecommendedSharedDataAlignment
svn path=/trunk/; revision=68173
Amine Khaldi [Wed, 17 Jun 2015 17:32:48 +0000 (17:32 +0000)]
[CRYPTUI][NETSHELL] Add some missing DS_MODALFRAME. By Jared Smudde. CORE-9822
svn path=/trunk/; revision=68172
Pierre Schweitzer [Wed, 17 Jun 2015 17:28:19 +0000 (17:28 +0000)]
[NTOSKRNL]
Completely implement Complete NtQuerySystemInformation - SystemNumaProcessorMap
CORE-9680
svn path=/trunk/; revision=68171
Amine Khaldi [Wed, 17 Jun 2015 17:20:29 +0000 (17:20 +0000)]
[APPLICATIONS] Properly track resource file dependencies. CORE-9806
svn path=/trunk/; revision=68170
Ged Murphy [Wed, 17 Jun 2015 08:38:34 +0000 (08:38 +0000)]
[DEVMGR]
- Make sure the device nodes use the latest device status'
svn path=/trunk/; revision=68169
Christoph von Wittich [Wed, 17 Jun 2015 08:24:05 +0000 (08:24 +0000)]
[DEVMGMT]
fix a typo
svn path=/trunk/; revision=68168
Ged Murphy [Wed, 17 Jun 2015 08:15:08 +0000 (08:15 +0000)]
[DEVMGR]
- Add the (not yet dynamic) context menu
- Implement right click node select
svn path=/trunk/; revision=68167
Thomas Faber [Wed, 17 Jun 2015 06:54:17 +0000 (06:54 +0000)]
[NTDLL_APITEST]
- Also test FileFsAttributeInformation in NtQueryVolumeInformationFile
svn path=/trunk/; revision=68166
Ged Murphy [Tue, 16 Jun 2015 21:13:28 +0000 (21:13 +0000)]
[DEVMGR]
- Move the devmgmt code to devmgr where it belongs and start to rewrite it (devmgmt_new wasn't a good design). It's not part of devmgr yet, I'll merge it and add it to the build when it's more complete.
- Add support for caching devices to speed up switching device views
- start to add dynamic context support so we can enable/disable, update and uninstall devices depending on its state.
- WIP
svn path=/trunk/; revision=68165
Ged Murphy [Tue, 16 Jun 2015 12:45:24 +0000 (12:45 +0000)]
[DEVMGMT]
Add the icon back
svn path=/trunk/; revision=68164
Ged Murphy [Tue, 16 Jun 2015 12:22:14 +0000 (12:22 +0000)]
[DEVMGMT]
The new device manager will be located in devmgr.dll
svn path=/trunk/; revision=68163
Ged Murphy [Tue, 16 Jun 2015 12:18:01 +0000 (12:18 +0000)]
[DEVMGR]
Make the header c++ friendly
svn path=/trunk/; revision=68162
Thomas Faber [Tue, 16 Jun 2015 11:40:51 +0000 (11:40 +0000)]
[NTDLL_APITEST]
- Fix GCC build
svn path=/trunk/; revision=68161
Thomas Faber [Tue, 16 Jun 2015 11:33:35 +0000 (11:33 +0000)]
[NTDLL_APITEST]
- Test FileFsVolumeInformation in NtQueryVolumeInformationFile test
CORE-9820
svn path=/trunk/; revision=68160
Hermès Bélusca-Maïto [Mon, 15 Jun 2015 23:43:16 +0000 (23:43 +0000)]
[NTVDM]: Commit what I have in my local wc so far (and which is commitable & works):
- Simplify PicIRQComplete helper function.
- Set up temporary stack for the BIOS.
- Initialize the "User Data Area" that is found at 0050:xxxx (see http://helppc.netcore2k.net/table/memory-map for more details).
- Some INT --> UINT
- Simplify few macros.
- Simplify DOS initialization; add few functions that will be useful later on.
- Remove trailing whitespace.
svn path=/trunk/; revision=68159
Eric Kohl [Mon, 15 Jun 2015 22:44:12 +0000 (22:44 +0000)]
[USETUP]
Improve the recovery console:
- Add help texts.
- Implement the partinfo command which displays the partition table of the chosen drive.
svn path=/trunk/; revision=68158
Amine Khaldi [Mon, 15 Jun 2015 21:19:04 +0000 (21:19 +0000)]
[UDFS] Remove definitions that exist in platform headers and use those instead.
svn path=/trunk/; revision=68157
Eric Kohl [Mon, 15 Jun 2015 20:47:30 +0000 (20:47 +0000)]
[USETUP]
Fix broken filesystem detection.
- Treat FAT32 filesystems like FAT filesystems because we do not provide a FAT32 entry in the filesystemlist.
- HACK: Do not try to check an unidentified filesystem.
CORE-9815 #resolve
svn path=/trunk/; revision=68156
Amine Khaldi [Mon, 15 Jun 2015 20:42:08 +0000 (20:42 +0000)]
[THEMEUI] Revert r67304 (Leverage add_registry_inf() as suggested by Timo). Figuring out why that doesn't work is left as an exercise for the reader. See CORE-5984 for details.
svn path=/trunk/; revision=68155
Amine Khaldi [Mon, 15 Jun 2015 18:59:46 +0000 (18:59 +0000)]
[CMAKE] Use a separate set for the optimization level in GCC release builds. We should revisit this to see if we need this rbuild era block nowadays.
svn path=/trunk/; revision=68154
Amine Khaldi [Mon, 15 Jun 2015 18:48:38 +0000 (18:48 +0000)]
[CMAKE] Disable treating warnings as errors in GCC release builds, at least until we get everything under control, for example CORE-7885.
svn path=/trunk/; revision=68153
Thomas Faber [Mon, 15 Jun 2015 18:44:08 +0000 (18:44 +0000)]
[NTOS:CC]
- Properly stub CcCanIWrite, CcDeferWrite, CcFastCopyRead, CcFastCopyWrite
CORE-9624
svn path=/trunk/; revision=68152
Amine Khaldi [Mon, 15 Jun 2015 18:38:57 +0000 (18:38 +0000)]
[NDK][NTDLL][PSAPI] Correct the the names of two LDR_DATA_TABLE_ENTRY fields. Brought to you by Mike Nordell aka tamlin. CORE-9817
svn path=/trunk/; revision=68151
Amine Khaldi [Mon, 15 Jun 2015 17:45:24 +0000 (17:45 +0000)]
[CMAKE] Add some FIXMEs so these won't be forgotten.
svn path=/trunk/; revision=68150
Amine Khaldi [Mon, 15 Jun 2015 17:35:29 +0000 (17:35 +0000)]
[CMAKE] Disable debug sections compression in GCC release builds.
svn path=/trunk/; revision=68149
Amine Khaldi [Mon, 15 Jun 2015 17:26:04 +0000 (17:26 +0000)]
[CMAKE] Disable debugging related GCC flags in release mode.
svn path=/trunk/; revision=68148
Amine Khaldi [Mon, 15 Jun 2015 16:43:11 +0000 (16:43 +0000)]
[CMAKE] Disable rossym for GCC release builds.
svn path=/trunk/; revision=68147
Daniel Reimer [Mon, 15 Jun 2015 11:59:49 +0000 (11:59 +0000)]
[UDFS]
Use the same fix for the PIMAGE_NT_HEADERS32 redefinition which is bein used in uniata. Spotted by Thomas Faber
svn path=/trunk/; revision=68146
Daniel Reimer [Mon, 15 Jun 2015 11:40:33 +0000 (11:40 +0000)]
[ARM arch]
PATCH: Get configure and host-tools building on arm again by Steven Edwards from dev-ml
+ adding Timo's portable sqrt variant to where it's needed to fix win32k build.
+ disabled the assert in sqrt.c for now.
svn path=/trunk/; revision=68145
Daniel Reimer [Mon, 15 Jun 2015 11:35:30 +0000 (11:35 +0000)]
[UDFS]
Fix compilation for AMD64 and ARM.
- It's no good idea to use the x86 ASM optimizations on any architecture. Luckily Alter made plain C++ ones for that case, too. Thus modify the #ifdefs a bit to use em.
- Fix a few directly used functions instead of the defined architecture fixed ones of em.
- After some discussion with Thomas Faber the ULONG vs UINT32 problems were resolved by using the same platform defines for all three architectures.
BUILDS? yes WORKS? Trololololo ^^
svn path=/trunk/; revision=68144
Daniel Reimer [Mon, 15 Jun 2015 01:35:25 +0000 (01:35 +0000)]
[UDFS]
VC makefiles and their deps are not needed for us.
svn path=/trunk/; revision=68143
Pierre Schweitzer [Sun, 14 Jun 2015 19:58:45 +0000 (19:58 +0000)]
[NTOSKRNL]
Complete NtQuerySystemInformation - SystemNumaProcessorMap stub so that it is possible to query the highest node number (and only that!)
CORE-9680
svn path=/trunk/; revision=68142
Pierre Schweitzer [Sun, 14 Jun 2015 19:27:19 +0000 (19:27 +0000)]
[NTOSKRNL]
Stub out NtSetSystemInformation - SystemLoadGdiDriverInSystemSpaceInformation
Stub out NtQuerySystemInformation - SystemNumaProcessorMap
svn path=/trunk/; revision=68141
Pierre Schweitzer [Sun, 14 Jun 2015 18:54:57 +0000 (18:54 +0000)]
[KERNEL32]
Fix stupidness, spotted by Thomas
svn path=/trunk/; revision=68140
Hermès Bélusca-Maïto [Sun, 14 Jun 2015 18:13:50 +0000 (18:13 +0000)]
[TOOLS]
Improve bin2c by saving in a #define the size of the generated array, and specify this size in the declaration of the array so that doing sizeof(...) becomes possible. Use "unsigned char" as the (portable) type of the contents of the array.
[HAL]
Add PCHAR casts where needed to take into account the previous modifications.
svn path=/trunk/; revision=68139
Hermès Bélusca-Maïto [Sun, 14 Jun 2015 16:40:45 +0000 (16:40 +0000)]
[NTVDM]: Allocate a dedicated block of memory for the mouse driver, in which we write all the needed info (instead of putting them in the BIOS space). The INT32 stubs go in this region, too.
svn path=/trunk/; revision=68138
Pierre Schweitzer [Sun, 14 Jun 2015 16:00:27 +0000 (16:00 +0000)]
[KERNEL32]
Addendum to r68136: use appropriate define.
Spotted by Thomas
svn path=/trunk/; revision=68137
Pierre Schweitzer [Sun, 14 Jun 2015 15:52:28 +0000 (15:52 +0000)]
[KERNEL32]
Implement GetNumaHighestNodeNumber()
Implement GetNumaNodeProcessorMask()
Implement GetNumaProcessorNode()
Implement GetNumaAvailableMemoryNode()
They won't work yet though, given that the kernel mode counterpart is still unimplemented.
CORE-9680
svn path=/trunk/; revision=68136