reactos.git
5 years ago[KMTESTS:MM]
Thomas Faber [Thu, 10 Sep 2015 11:16:53 +0000 (11:16 +0000)]
[KMTESTS:MM]
- Add some more reserved mapping tests for special pool tags and unaligned addresses
- Validate MDL pages in MmMdl test

svn path=/trunk/; revision=69169

5 years ago[KMTESTS:MM]
Thomas Faber [Thu, 10 Sep 2015 09:58:02 +0000 (09:58 +0000)]
[KMTESTS:MM]
- Add a test for MmAllocateMappingAddress/MmMapLockedPagesWithReservedMapping
CORE-10147

svn path=/trunk/; revision=69168

5 years ago[BOOTMGFW]
Alex Ionescu [Thu, 10 Sep 2015 05:24:50 +0000 (05:24 +0000)]
[BOOTMGFW]
- UNIX strikes again.

svn path=/trunk/; revision=69167

5 years ago[BOOTMGFW]:
Alex Ionescu [Thu, 10 Sep 2015 05:19:50 +0000 (05:19 +0000)]
[BOOTMGFW]:
- Implement read/offset-read frontend interface.

svn path=/trunk/; revision=69166

5 years ago[BOOTMGFW]
Alex Ionescu [Thu, 10 Sep 2015 04:01:41 +0000 (04:01 +0000)]
[BOOTMGFW]
- Implement initial File I/O routines.
- We now die on attempting to mount the FAT volume.

svn path=/trunk/; revision=69165

5 years ago[USER32]: Use FIXME instead of DbgPrint (so that we can get the line of the source...
Hermès Bélusca-Maïto [Thu, 10 Sep 2015 00:39:18 +0000 (00:39 +0000)]
[USER32]: Use FIXME instead of DbgPrint (so that we can get the line of the source file together).

svn path=/trunk/; revision=69164

5 years ago[REGEDIT]
Thomas Faber [Wed, 9 Sep 2015 22:01:49 +0000 (22:01 +0000)]
[REGEDIT]
- Properly walk CM_RESOURCE_LIST contents
CORE-10146

svn path=/trunk/; revision=69163

5 years ago[BOOTDATA]
Eric Kohl [Wed, 9 Sep 2015 20:17:25 +0000 (20:17 +0000)]
[BOOTDATA]
Add missing default locale values.

svn path=/trunk/; revision=69162

5 years ago[WIN32SS] Fix the fix by removing the correct parameter. The NtUserChangeDisplaySetti...
Stefan Ginsberg [Wed, 9 Sep 2015 19:56:22 +0000 (19:56 +0000)]
[WIN32SS] Fix the fix by removing the correct parameter. The NtUserChangeDisplaySettings syscall is expected to make use of the lParam pointer (which must be NULL unless the CDS_VIDEOPARAMETERS flag is set).

svn path=/trunk/; revision=69161

5 years ago[EFISYS]: Add 'bcd_hive' as a dependency.
Hermès Bélusca-Maïto [Wed, 9 Sep 2015 19:48:15 +0000 (19:48 +0000)]
[EFISYS]: Add 'bcd_hive' as a dependency.
[FATTEN]: Fix help message. Functions with no parameters are void. Remove an hardcoded array size.

svn path=/trunk/; revision=69160

5 years ago[WIN32SS] Fix NtUserChangeDisplaySettings, I accidently removed one (unused) param...
Stefan Ginsberg [Wed, 9 Sep 2015 19:38:36 +0000 (19:38 +0000)]
[WIN32SS] Fix NtUserChangeDisplaySettings, I accidently removed one (unused) param too much (parameter count should be 4 after all), and it seems code relied on this check.

svn path=/trunk/; revision=69159

5 years ago[WIN32SS] Fix NtGdiOpenDCW and NtUserChangeDisplaySettings to have the correct amount...
Stefan Ginsberg [Wed, 9 Sep 2015 19:12:48 +0000 (19:12 +0000)]
[WIN32SS] Fix NtGdiOpenDCW and NtUserChangeDisplaySettings to have the correct amount of parameters by removing two more unused/deprecated/ignored parameters. NtUserEnumDisplayMonitors is the only remaining one now, which needs to do a usermode callback to get rid of its extra parameter.

svn path=/trunk/; revision=69158

5 years ago[EFI]
Alex Ionescu [Wed, 9 Sep 2015 18:45:51 +0000 (18:45 +0000)]
[EFI]
- Case sensitivity?

svn path=/trunk/; revision=69157

5 years ago[EFI]
Alex Ionescu [Wed, 9 Sep 2015 18:43:09 +0000 (18:43 +0000)]
[EFI]
- Add BCD creation.
- Add BCD to bootcd, and also to EFISYS.BIN. Verified the BCD is now present on the EFI partition.

svn path=/trunk/; revision=69156

5 years ago- Implement BmpFwGetApplicationDirectoryPath and most of BmFwInitializeBootDirectoryPath.
Alex Ionescu [Wed, 9 Sep 2015 18:09:04 +0000 (18:09 +0000)]
- Implement BmpFwGetApplicationDirectoryPath and most of BmFwInitializeBootDirectoryPath.
- Implement boolean, integer, and string BCD reading.
- Fix a more bugs.
- We are now ready to open the BCD hive!

svn path=/trunk/; revision=69155

5 years ago[PEFILE_APITEST] Introduce tests that load ntoskrnl.exe and validate various section...
Amine Khaldi [Wed, 9 Sep 2015 17:27:36 +0000 (17:27 +0000)]
[PEFILE_APITEST] Introduce tests that load ntoskrnl.exe and validate various section flags. Created by Mark Jansen in light of r68930. CORE-10106

svn path=/trunk/; revision=69154

5 years ago[BOOTMGFW]
Alex Ionescu [Wed, 9 Sep 2015 16:50:05 +0000 (16:50 +0000)]
[BOOTMGFW]
- Fix more device I/O bugs.
- Silence some dbgprints.
- Implement DiskOpen and DiskClose.
- Refactor block cache in its own file.
- We successfully open our boot device (which appears as a floppy, as expected with the new UEFI boot)!

svn path=/trunk/; revision=69153

5 years ago- Consistently check for KDBG via if-def, not if (like we do for _WINKD_), everywhere.
Stefan Ginsberg [Wed, 9 Sep 2015 16:06:38 +0000 (16:06 +0000)]
- Consistently check for KDBG via if-def, not if (like we do for _WINKD_), everywhere.

svn path=/trunk/; revision=69152

5 years agoSigh missed this one.
Stefan Ginsberg [Wed, 9 Sep 2015 15:40:38 +0000 (15:40 +0000)]
Sigh missed this one.

svn path=/trunk/; revision=69151

5 years ago- After reviewing, updating and tweaking the base modules (ntos, hal, ntdll, kernel32...
Stefan Ginsberg [Wed, 9 Sep 2015 15:35:49 +0000 (15:35 +0000)]
- After reviewing, updating and tweaking the base modules (ntos, hal, ntdll, kernel32, advapi32, gdi32, user32, shell32, win32k) we should now be as (in)compatible with Windows 2003 Service Pack 1 as with Service Pack 2, so finally report our version as "NT Build 3790.3959" (SP2). Thanks to Thomas and Hermes for assistance.

See CORE-6611 and CORE-7889

svn path=/trunk/; revision=69150

5 years ago[BOOTMGFW]
Alex Ionescu [Wed, 9 Sep 2015 14:59:29 +0000 (14:59 +0000)]
[BOOTMGFW]
- Fix a bunch of bugs

svn path=/trunk/; revision=69149

5 years agoSome of this sneaked past in my last commit, so commit the rest:
Stefan Ginsberg [Wed, 9 Sep 2015 14:00:43 +0000 (14:00 +0000)]
Some of this sneaked past in my last commit, so commit the rest:
- Wrap some KDBG-only stuff into KDBG-define so we don't have KdSystemDebugControl being called needlessly on KD-builds.

svn path=/trunk/; revision=69148

5 years ago[WIN32K]
Stefan Ginsberg [Wed, 9 Sep 2015 13:49:39 +0000 (13:49 +0000)]
[WIN32K]
- Reorder some more driver exports to alphabetical order.
- Remove NtGdiFlushUserBatch and NtUserQueryUserCounters from syscall list (unused, and not compatible).
- Move and add some debug-only syscalls to the end of the syscall list.
- Fix parameter count of UserValidateTimerCallback, UserValidateHandleSecure, and UserChangeDisplaySettings to match what is compatible, by removing unused or ignored parameters. NtGdiOpenDCW, NtUserEnumDisplayMonitors and NtUserSetCursorIconData still have the wrong numbers.
- Add "stray" NtGdiMakeObjectXferable and "NtDxEngGetRedirectionBitmap" syscall stubs.
- The syscalls should now be compatible with 2K3 SP2 in their order, but not in their argument count (or, most likely, their actual parameters). This means a Windows 2k3 gdi32 or user32 should crash somewhat later now that half of the syscalls' order is not in disarray.

svn path=/trunk/; revision=69147

5 years ago[APPLICATIONS] Improve the FILE header section. Brought to you by Adam Stachowicz...
Amine Khaldi [Wed, 9 Sep 2015 13:13:35 +0000 (13:13 +0000)]
[APPLICATIONS] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE-10114

svn path=/trunk/; revision=69146

5 years agoFixie fixie
Stefan Ginsberg [Wed, 9 Sep 2015 11:24:34 +0000 (11:24 +0000)]
Fixie fixie

svn path=/trunk/; revision=69145

5 years ago[NTOS] Fix broken NtSetSystemEnvironmentValueEx stub which had the wrong amount of...
Stefan Ginsberg [Wed, 9 Sep 2015 11:21:02 +0000 (11:21 +0000)]
[NTOS] Fix broken NtSetSystemEnvironmentValueEx stub which had the wrong amount of parameters.
[NDK] Add define guard for HalEndSystemInterrupt because it is no longer compatible with Windows, and add back the old definition. Fix NtSetSystemEnvironmentValueEx prototype.
[KERNEL32] Export SetFileCompletionNotificationModes (MSDN and headers documents it as Vista-only, but this is not entirely correct).

svn path=/trunk/; revision=69144

5 years ago[FATTEN]
Pierre Schweitzer [Wed, 9 Sep 2015 07:05:17 +0000 (07:05 +0000)]
[FATTEN]
CORE-10140

svn path=/trunk/; revision=69143

5 years ago[BOOTMGFW]
Alex Ionescu [Wed, 9 Sep 2015 05:48:50 +0000 (05:48 +0000)]
[BOOTMGFW]
- 1.5KLOC code dump of current device block I/O handling. Totally untested and broken, just a checkpoint for now.
- Implement most of Hash Table Utility Functions.
- Implement parts of Block Allocator.
- Finish Implementation of Generic Table Utility Functions.
- Fix some EFI device emulation code.
- Temporarily disable freeing from heap while I figure out what's corrupting it.

svn path=/trunk/; revision=69142

5 years ago[CDMAKE]
Alex Ionescu [Wed, 9 Sep 2015 04:58:25 +0000 (04:58 +0000)]
[CDMAKE]
- Fix Build on VS2015

svn path=/trunk/; revision=69141

5 years ago[FATTEN]
David Quintana [Wed, 9 Sep 2015 03:01:14 +0000 (03:01 +0000)]
[FATTEN]
* Allow customizing the 8-letter volume label from the FAT header.
* Make the efisys.bin have EFIBOOT as a label.
* Improve a bit the help text.

svn path=/trunk/; revision=69140

5 years agoOMGWTFBBQ!!!! We can now boot our ISOs on UEFI systems!!
Hermès Bélusca-Maïto [Wed, 9 Sep 2015 02:11:49 +0000 (02:11 +0000)]
OMGWTFBBQ!!!! We can now boot our ISOs on UEFI systems!!
Thanks gigaherz for the "fatten" utility!, and others for testing.

[CDMAKE]
- Add multi-boot CD support, following El-Torito specification, such that we can the usual ISO boot sector on BIOS-based PCs, and the UEFI loader on UEFI-based PCs.
- Load segment should be stored in little endian.
- Fix the computation of the sector count (count in 512 byte sectors and rounded up).
- Rework the command-line options to make them more compatible with CDIMAGE / OSCDIMG.
CORE-10120

[BOOTDATA]
- Activate the UEFI boot support for our ISOs.

svn path=/trunk/; revision=69139

5 years ago[FATTEN]
David Quintana [Wed, 9 Sep 2015 01:38:21 +0000 (01:38 +0000)]
[FATTEN]
* "struct tm" uses years offset on 1900, so we only have to offset by 80 years to make it into a FAT year.

svn path=/trunk/; revision=69138

5 years ago[FATTEN]
David Quintana [Wed, 9 Sep 2015 01:33:27 +0000 (01:33 +0000)]
[FATTEN]
* WHO ATE THAT 'b'?! WHO?!
* The jump instruction is 3 bytes long, not 2 (and dequick&dirtied a bit while at it).

svn path=/trunk/; revision=69137

5 years ago[FATTEN]: static'ify a variable; do not hardcode array lengths.
Hermès Bélusca-Maïto [Wed, 9 Sep 2015 00:52:01 +0000 (00:52 +0000)]
[FATTEN]: static'ify a variable; do not hardcode array lengths.

svn path=/trunk/; revision=69136

5 years ago[FATTEN]
David Quintana [Wed, 9 Sep 2015 00:49:47 +0000 (00:49 +0000)]
[FATTEN]
* Change the number of FAT copies stored by the formatting code to 2.
* Implement /BOOT command, to apply a boot sector to the image (FAT12/16 only, for now).
* Make use of the command above to finally get the generated efisys.bin loading in 7zip as a floppy.

svn path=/trunk/; revision=69135

5 years ago[HAL] Remove seemingly deprecated HalPutDmaAdapter. Also reorder exports slightly...
Stefan Ginsberg [Tue, 8 Sep 2015 23:42:24 +0000 (23:42 +0000)]
[HAL] Remove seemingly deprecated HalPutDmaAdapter. Also reorder exports slightly towards alphabetical order.

svn path=/trunk/; revision=69134

5 years ago- While we are at it, remove a bunch of kernel exports that shouldn't exist. KiEoiHel...
Stefan Ginsberg [Tue, 8 Sep 2015 22:58:28 +0000 (22:58 +0000)]
- While we are at it, remove a bunch of kernel exports that shouldn't exist. KiEoiHelper stays for now.

svn path=/trunk/; revision=69133

5 years ago[FATTEN]
David Quintana [Tue, 8 Sep 2015 22:20:37 +0000 (22:20 +0000)]
[FATTEN]
* Fix the breakage I commited. Hopefully.

svn path=/trunk/; revision=69132

5 years ago[FATTEN]
David Quintana [Tue, 8 Sep 2015 22:01:05 +0000 (22:01 +0000)]
[FATTEN]
In a failed attempt at getting 7-zip to recognize the fat images,
* Updated the fatfs backing library to v0.11a,
* Changed the default cluster size to 1 for floppy-sized images (< 4096 sectors) and 8 otherwise (4096 was an invalid value), and
* Changed the fatfs formatting code to generate FAT12 filesystems more windows-like.
I see no reason to discard the changes, so here they are.

svn path=/trunk/; revision=69131

5 years ago[NTOS] Add in MmDoesFileHaveUserWritableReferences, seemingly new to 2k3 SP2. MSDN...
Stefan Ginsberg [Tue, 8 Sep 2015 20:42:21 +0000 (20:42 +0000)]
[NTOS] Add in MmDoesFileHaveUserWritableReferences, seemingly new to 2k3 SP2. MSDN reports this as "Vista and later" but this is not entirely correct it seems.

svn path=/trunk/; revision=69130

5 years agoFix build (TM)
Stefan Ginsberg [Tue, 8 Sep 2015 20:19:10 +0000 (20:19 +0000)]
Fix build (TM)

svn path=/trunk/; revision=69129

5 years ago[NTOS] STUB ALL THE EXPORTS. We should now have all the exports expected by a 2k3...
Stefan Ginsberg [Tue, 8 Sep 2015 20:14:39 +0000 (20:14 +0000)]
[NTOS] STUB ALL THE EXPORTS. We should now have all the exports expected by a 2k3-ish kernel (except for a few amd64-specific ones). Add some missing explicit cdecl to the Verifier stubs, and don't return STATUS_SUCCESS (0) from the ABIOS stubs.
[NDK] Add a few types needed by the PfxXxx routines.

This should fix absolutely nothing.

svn path=/trunk/; revision=69128

5 years ago[FATTEN]
Pierre Schweitzer [Tue, 8 Sep 2015 20:04:04 +0000 (20:04 +0000)]
[FATTEN]
Let's try not to leak memory...
So, close what's been opened in case of an error
And in a general way, close files we opened

CORE-10140 #resolve #comment Fixed with r69127

svn path=/trunk/; revision=69127

5 years ago[SHELL32] Add missing Icons for ZIP/JAZ drives, webbrowser and rename. Patch by Lee...
Robert Naumann [Tue, 8 Sep 2015 20:03:54 +0000 (20:03 +0000)]
[SHELL32] Add missing Icons for ZIP/JAZ drives, webbrowser and rename. Patch by Lee Schroeder. CORE-9889 CORE-9968

svn path=/trunk/; revision=69126

5 years ago[MESA] Add missing xdk dependency for mesa_x86. CORE-9586
Amine Khaldi [Tue, 8 Sep 2015 19:24:26 +0000 (19:24 +0000)]
[MESA] Add missing xdk dependency for mesa_x86. CORE-9586

svn path=/trunk/; revision=69125

5 years ago[FREETYPE] Sync up to 2.6.0. CORE-10072
Amine Khaldi [Tue, 8 Sep 2015 19:23:01 +0000 (19:23 +0000)]
[FREETYPE] Sync up to 2.6.0. CORE-10072

svn path=/trunk/; revision=69124

5 years agoOops forgot to hit save one last time.
David Quintana [Tue, 8 Sep 2015 15:57:47 +0000 (15:57 +0000)]
Oops forgot to hit save one last time.

svn path=/trunk/; revision=69123

5 years ago[BOOTMGFW]
David Quintana [Tue, 8 Sep 2015 15:56:33 +0000 (15:56 +0000)]
[BOOTMGFW]
* Add stubs for unimplemented platforms, so the compilation succeeds even if it can't possibly work.

svn path=/trunk/; revision=69122

5 years ago[TRANSLATION] Update Russian translation. Patch by Kudratov Olimjon CORE-10058 #resol...
Robert Naumann [Tue, 8 Sep 2015 15:48:18 +0000 (15:48 +0000)]
[TRANSLATION] Update Russian translation. Patch by Kudratov Olimjon CORE-10058 #resolve #comment Committed in r69121. Thank you!

svn path=/trunk/; revision=69121

5 years ago[FATTEN]
David Quintana [Tue, 8 Sep 2015 15:30:32 +0000 (15:30 +0000)]
[FATTEN]
* Do not allow "/" as a parameter prefix in unixes.

svn path=/trunk/; revision=69120

5 years ago[EFISYS][BOOTMGFW]
David Quintana [Tue, 8 Sep 2015 15:26:34 +0000 (15:26 +0000)]
[EFISYS][BOOTMGFW]
* Compute and use a "platform short name" in the EFI filenames.

svn path=/trunk/; revision=69119

5 years ago[Win32k]
James Tabor [Tue, 8 Sep 2015 14:18:56 +0000 (14:18 +0000)]
[Win32k]
- Fix non-client paint. See CORE-10101.

svn path=/trunk/; revision=69118

5 years ago[APITESTS] Add missing xdk dependency. CORE-9586
Amine Khaldi [Tue, 8 Sep 2015 12:51:53 +0000 (12:51 +0000)]
[APITESTS] Add missing xdk dependency. CORE-9586

svn path=/trunk/; revision=69117

5 years ago[UXTHEME] Revert Wine Commit 2b650fa as it breaks themed Explorer Toolbar Separators...
Amine Khaldi [Tue, 8 Sep 2015 12:47:33 +0000 (12:47 +0000)]
[UXTHEME] Revert Wine Commit 2b650fa as it breaks themed Explorer Toolbar Separators. CORE-9636 and Wine Bug #38538.

svn path=/trunk/; revision=69116

5 years ago[COMCTL32] Revert Wine Commit 5b7b911 as it breaks Explorer Toolbar Buttons. Update...
Amine Khaldi [Tue, 8 Sep 2015 12:41:11 +0000 (12:41 +0000)]
[COMCTL32] Revert Wine Commit 5b7b911 as it breaks Explorer Toolbar Buttons. Update comctl32_ros.diff accordingly. CORE-9970

svn path=/trunk/; revision=69115

5 years ago[KERNEL32]
Thomas Faber [Tue, 8 Sep 2015 11:41:08 +0000 (11:41 +0000)]
[KERNEL32]
- Issue a debug print on LoadLibrary failure, since this is often a good lead when debugging

svn path=/trunk/; revision=69114

5 years ago[BROWSEUI]
Thomas Faber [Tue, 8 Sep 2015 11:39:10 +0000 (11:39 +0000)]
[BROWSEUI]
- Check for NULL return from LoadLibrary
CORE-10135 #resolve

svn path=/trunk/; revision=69113

5 years ago[FATTEN]
David Quintana [Tue, 8 Sep 2015 10:26:12 +0000 (10:26 +0000)]
[FATTEN]
* Switch to using our existing host-tools header for types. Thanks Colin for pointing me to the right header (it was discrete so I missed it when looking).

svn path=/trunk/; revision=69112

5 years ago[FATTEN]
Thomas Faber [Tue, 8 Sep 2015 08:27:00 +0000 (08:27 +0000)]
[FATTEN]
- Fix VC2010 build

svn path=/trunk/; revision=69111

5 years ago[FATTEN]
David Quintana [Tue, 8 Sep 2015 03:39:51 +0000 (03:39 +0000)]
[FATTEN]
Undo a debug change that I forgot to revert.

svn path=/trunk/; revision=69110

5 years ago[FATTEN]
David Quintana [Tue, 8 Sep 2015 03:37:47 +0000 (03:37 +0000)]
[FATTEN]
* Fix folder creation and external file access.
* Add fatten as a host-tool.
* Add a target for creating efisys.bin from the bootmgfw
TODO: Make the name of the boot*.efi depend on the platform (ia32/x64/arm).
TODO: Add efisys as a dependency to the bootcd, when we need to make use of the efisys.bin file for the iso (waiting for hbelusca's cdmake work).

svn path=/trunk/; revision=69109

5 years ago[FATTEN]
Aleksandar Andrejevic [Tue, 8 Sep 2015 00:54:44 +0000 (00:54 +0000)]
[FATTEN]
Not every C library out there has fopen_s.

svn path=/trunk/; revision=69108

5 years agoOops. Forgot to includethis file in the commit.
David Quintana [Tue, 8 Sep 2015 00:48:25 +0000 (00:48 +0000)]
Oops. Forgot to includethis file in the commit.

svn path=/trunk/; revision=69107

5 years ago[FATTEN]
David Quintana [Tue, 8 Sep 2015 00:45:35 +0000 (00:45 +0000)]
[FATTEN]
* Remove pointless dependency on BOOL and CHAR, which helps  with portability.
* Disable reentrancy, since all the operations are serialized by the commandline.
* Improve a few comments.

svn path=/trunk/; revision=69106

5 years ago[FATTEN]
David Quintana [Tue, 8 Sep 2015 00:28:28 +0000 (00:28 +0000)]
[FATTEN]
* Fix the integer types for non-windows platforms (assume they have stdint.h instead of assuming embedded).
* Fix file I/O, which was just barely working enough to pass the one test I did.

svn path=/trunk/; revision=69105

5 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 23:48:21 +0000 (23:48 +0000)]
[BOOTMGFW]
- And again with the fucking non-recursion.

svn path=/trunk/; revision=69104

5 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 23:31:08 +0000 (23:31 +0000)]
[BOOTMGFW]
- EarlyPrint -> EfiPrintf, as it seems BL actually has this after all :) Change all callers to conform to it.
- Add common exit/failure path in BmMain. Now the fun begins.

svn path=/trunk/; revision=69103

5 years ago[powercfg] convert tabs to spaces. NFC
Robert Naumann [Mon, 7 Sep 2015 21:56:38 +0000 (21:56 +0000)]
[powercfg] convert tabs to spaces. NFC

svn path=/trunk/; revision=69102

5 years ago- Fix my email to the @reactos.org one -- remove outdated hotmail.
Stefan Ginsberg [Mon, 7 Sep 2015 21:39:37 +0000 (21:39 +0000)]
- Fix my email to the @reactos.org one -- remove outdated hotmail.

svn path=/trunk/; revision=69101

5 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 19:46:50 +0000 (19:46 +0000)]
[BOOTMGFW]
- Forgot that SVN doesn't traverse up.

svn path=/trunk/; revision=69100

5 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 19:35:24 +0000 (19:35 +0000)]
[BOOTMGFW]
- Factor the display/console code into correct per-firmware/per-console-mode files. No code changes.

svn path=/trunk/; revision=69099

5 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 19:06:14 +0000 (19:06 +0000)]
[BOOTMGFW]
- Fix heap bugs, thanks to Thomas!
- Now only the last heap operation shows corruption.

svn path=/trunk/; revision=69098

5 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 18:45:09 +0000 (18:45 +0000)]
[BOOTMGFW]
- Last round of display fixes. GOP works now -- fill out the frame buffer with gray as a test (tested in VirtualBox).
- Now to fix the heap.

svn path=/trunk/; revision=69097

5 years ago[WINLOGON]
Pierre Schweitzer [Mon, 7 Sep 2015 18:11:30 +0000 (18:11 +0000)]
[WINLOGON]
Fix a handle leak

svn path=/trunk/; revision=69096

5 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 18:09:12 +0000 (18:09 +0000)]
[BOOTMGFW]
- Fix GOP bugs

svn path=/trunk/; revision=69095

5 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 17:35:59 +0000 (17:35 +0000)]
[BOOTMGFW]
- Start GOP graphics console support. Checkpoint commit, currently WIP, untested.
- Cleanup memory allocation/type/caching flags in a single unified enumeration.
- Implement memory mapping functions for physical real mode only.

svn path=/trunk/; revision=69094

5 years ago[NORMALIZ][KERNEL32_VISTA]
Thomas Faber [Mon, 7 Sep 2015 17:16:25 +0000 (17:16 +0000)]
[NORMALIZ][KERNEL32_VISTA]
- Add normaliz.dll to the build
- Move the appropriate functions from kernel32_vista to normaliz
- Import IsNormalizedString and NormalizeString stubs from Wine
Now Scilab starts
CORE-10124 #resolve

svn path=/trunk/; revision=69093

5 years ago[HAL]
Thomas Faber [Mon, 7 Sep 2015 17:02:22 +0000 (17:02 +0000)]
[HAL]
- Addendum to r69013: also fix the ACPI version of HalpDispatchPower.
CORE-10105 CORE-10117

svn path=/trunk/; revision=69092

5 years ago[USER32]
Thomas Faber [Mon, 7 Sep 2015 16:11:59 +0000 (16:11 +0000)]
[USER32]
- Fix MSVC warning (C4305: '-=' : truncation from 'double' to 'float')

svn path=/trunk/; revision=69091

5 years ago[MMSYS] include stdlib.h for _countof
Christoph von Wittich [Mon, 7 Sep 2015 14:56:46 +0000 (14:56 +0000)]
[MMSYS] include stdlib.h for _countof

svn path=/trunk/; revision=69090

5 years ago[MMSYS] don't mix TCHAR with WCHAR
Christoph von Wittich [Mon, 7 Sep 2015 14:53:31 +0000 (14:53 +0000)]
[MMSYS] don't mix TCHAR with WCHAR

svn path=/trunk/; revision=69089

5 years ago[mmsys]
Robert Naumann [Mon, 7 Sep 2015 14:44:29 +0000 (14:44 +0000)]
[mmsys]
-State if there are no audio devices installed
-remove an obsolete resource ID
Patch by Jared Smudde CORE-10009 #resolve

svn path=/trunk/; revision=69088

5 years ago[CMAKE] Add even more missing dependencies on xdk. CORE-9586
Amine Khaldi [Mon, 7 Sep 2015 11:13:09 +0000 (11:13 +0000)]
[CMAKE] Add even more missing dependencies on xdk. CORE-9586

svn path=/trunk/; revision=69087

5 years ago[CMAKE]
Thomas Faber [Mon, 7 Sep 2015 10:05:42 +0000 (10:05 +0000)]
[CMAKE]
- Fix more missing dependencies on xdk
CORE-9586

svn path=/trunk/; revision=69086

5 years ago[CMAKE] Add hpp in the new style build.
Amine Khaldi [Mon, 7 Sep 2015 10:00:51 +0000 (10:00 +0000)]
[CMAKE] Add hpp in the new style build.

svn path=/trunk/; revision=69085

5 years ago[BOOTLIB]
Thomas Faber [Mon, 7 Sep 2015 09:50:00 +0000 (09:50 +0000)]
[BOOTLIB]
- Add missing xdk dependency

svn path=/trunk/; revision=69084

5 years ago[XDK][DDK][PSDK]
Thomas Faber [Mon, 7 Sep 2015 09:46:43 +0000 (09:46 +0000)]
[XDK][DDK][PSDK]
- Generate XDK headers during build. To make changes to wdm.h, ntddk.h, ntifs.h, devioctl.h, ntdef.h or winnt.h, edit the appropriate files in include/xdk (as you should already have been doing for a long time).
CORE-9586 #resolve

svn path=/trunk/; revision=69083

5 years ago[ACPI]
Thomas Faber [Mon, 7 Sep 2015 09:08:48 +0000 (09:08 +0000)]
[ACPI]
- Reinstate the HPET hack, the VMware builders show that it's still needed. Reverts r69066.

svn path=/trunk/; revision=69082

5 years ago[XDK][PSDK] add security checks for PSDK as well
Christoph von Wittich [Mon, 7 Sep 2015 08:37:11 +0000 (08:37 +0000)]
[XDK][PSDK] add security checks for PSDK as well

svn path=/trunk/; revision=69081

5 years ago[XDK] add cpp security checks for RTL_NUMBER_OF_V2/ARRAYSIZE
Christoph von Wittich [Mon, 7 Sep 2015 08:08:01 +0000 (08:08 +0000)]
[XDK] add cpp security checks for RTL_NUMBER_OF_V2/ARRAYSIZE

svn path=/trunk/; revision=69080

5 years ago[MODE] use ARRAYSIZE, don't include windows.h, fix two possible out-of-bounds reads
Christoph von Wittich [Mon, 7 Sep 2015 07:05:33 +0000 (07:05 +0000)]
[MODE] use ARRAYSIZE, don't include windows.h, fix two possible out-of-bounds reads
CID 1206872
CID 1206873

svn path=/trunk/; revision=69079

5 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 06:00:37 +0000 (06:00 +0000)]
[BOOTMGFW]
- Fix text console bugs. It works now both when already at 80x25, as well as when using UEFI Shell to switch to 100x31 first. Tested with Virtual Box.

svn path=/trunk/; revision=69078

5 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 04:42:34 +0000 (04:42 +0000)]
[BOOTMGFW]
- Build fixes for GCC

svn path=/trunk/; revision=69077

5 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 04:37:01 +0000 (04:37 +0000)]
[BOOTMGFW]
- Checkpoint commit of about 1000+ lines of text console support code. Right now, it's very disorganized and not tested.
- Write out the rest of the initialization path. Almost everything else is only for Boot Debugging, BitLocker, TPM, PXE...

svn path=/trunk/; revision=69076

5 years ago- Fix the ASSERT in VdmSwapContext now that we are always setting up the trap frame...
Stefan Ginsberg [Sun, 6 Sep 2015 22:29:10 +0000 (22:29 +0000)]
- Fix the ASSERT in VdmSwapContext now that we are always setting up the trap frame correctly on debug build.
- Fix the ASSERT in KeConnectInterrupt for debug single-processor builds (but keep the old one for multiprocessor build to make it less confusing if it is hit).

svn path=/trunk/; revision=69075

5 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 6 Sep 2015 22:10:53 +0000 (22:10 +0000)]
[NTOSKRNL]
Fix a bug in HalpGetFullGeometry(): properly reset the event before reusing it. We may have waited on it previously.

svn path=/trunk/; revision=69074

5 years ago[BOOTMGFW]
Alex Ionescu [Sun, 6 Sep 2015 21:29:41 +0000 (21:29 +0000)]
[BOOTMGFW]
 - I/O Library initialization.
 - A few more random initialization routines. Skip TPM, BitLocker, Network and non-FAT filesystems for now.

svn path=/trunk/; revision=69073

5 years ago[Win32k]
James Tabor [Sun, 6 Sep 2015 21:10:46 +0000 (21:10 +0000)]
[Win32k]
- Set flags when it is appropriate, should fix CORE-10101.

svn path=/trunk/; revision=69072

5 years ago[BOOTMGFW]
Alex Ionescu [Sun, 6 Sep 2015 20:55:50 +0000 (20:55 +0000)]
[BOOTMGFW]
- Fix some heap bugs. It (works?) now, at least for one allocation.
- Fix GCC support for Phase 1 Architectural Initialization.
- Implement Time measurement for Hyper-V compatible hypervisors (tested with Virtual Box 5.0!) as well as non-hypervisors (also tested)

svn path=/trunk/; revision=69071

5 years ago[CDMAKE]
Hermès Bélusca-Maïto [Sun, 6 Sep 2015 20:42:08 +0000 (20:42 +0000)]
[CDMAKE]
- Factor out the code that writes data from a file.
- Use BOOL type where needed.

svn path=/trunk/; revision=69070