Commit graph

62832 commits

Author SHA1 Message Date
Ged Murphy a68dd56665 [DEVMGR]
Make the header c++ friendly

svn path=/trunk/; revision=68162
2015-06-16 12:18:01 +00:00
Thomas Faber bfe3738fc9 [NTDLL_APITEST]
- Fix GCC build

svn path=/trunk/; revision=68161
2015-06-16 11:40:51 +00:00
Thomas Faber 7a983aa51b [NTDLL_APITEST]
- Test FileFsVolumeInformation in NtQueryVolumeInformationFile test
CORE-9820

svn path=/trunk/; revision=68160
2015-06-16 11:33:35 +00:00
Hermès Bélusca-Maïto 93c0a8a1a0 [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
2015-06-15 23:43:16 +00:00
Eric Kohl 3a9b7ef77e [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
2015-06-15 22:44:12 +00:00
Amine Khaldi 67137377fb [UDFS] Remove definitions that exist in platform headers and use those instead.
svn path=/trunk/; revision=68157
2015-06-15 21:19:04 +00:00
Eric Kohl e8fdb27bd1 [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
2015-06-15 20:47:30 +00:00
Amine Khaldi aa4376498d [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
2015-06-15 20:42:08 +00:00
Amine Khaldi f8effe197f [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
2015-06-15 18:59:46 +00:00
Amine Khaldi ef6a028073 [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
2015-06-15 18:48:38 +00:00
Thomas Faber 4945778e7d [NTOS:CC]
- Properly stub CcCanIWrite, CcDeferWrite, CcFastCopyRead, CcFastCopyWrite
CORE-9624

svn path=/trunk/; revision=68152
2015-06-15 18:44:08 +00:00
Amine Khaldi 820f01a764 [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
2015-06-15 18:38:57 +00:00
Amine Khaldi 7a3b665ba3 [CMAKE] Add some FIXMEs so these won't be forgotten.
svn path=/trunk/; revision=68150
2015-06-15 17:45:24 +00:00
Amine Khaldi 2d7fe93b09 [CMAKE] Disable debug sections compression in GCC release builds.
svn path=/trunk/; revision=68149
2015-06-15 17:35:29 +00:00
Amine Khaldi 983d1bf043 [CMAKE] Disable debugging related GCC flags in release mode.
svn path=/trunk/; revision=68148
2015-06-15 17:26:04 +00:00
Amine Khaldi 74c80a51dd [CMAKE] Disable rossym for GCC release builds.
svn path=/trunk/; revision=68147
2015-06-15 16:43:11 +00:00
Daniel Reimer ad9dc105b0 [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
2015-06-15 11:59:49 +00:00
Daniel Reimer da7e2c1c32 [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
2015-06-15 11:40:33 +00:00
Daniel Reimer 1b5231d4ed [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
2015-06-15 11:35:30 +00:00
Daniel Reimer 6d2d280649 [UDFS]
VC makefiles and their deps are not needed for us.

svn path=/trunk/; revision=68143
2015-06-15 01:35:25 +00:00
Pierre Schweitzer 3e7c3b4697 [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
2015-06-14 19:58:45 +00:00
Pierre Schweitzer 5ee87f9ad5 [NTOSKRNL]
Stub out NtSetSystemInformation - SystemLoadGdiDriverInSystemSpaceInformation
Stub out NtQuerySystemInformation - SystemNumaProcessorMap

svn path=/trunk/; revision=68141
2015-06-14 19:27:19 +00:00
Pierre Schweitzer 4bcdd47a49 [KERNEL32]
Fix stupidness, spotted by Thomas

svn path=/trunk/; revision=68140
2015-06-14 18:54:57 +00:00
Hermès Bélusca-Maïto 1011d89eaa [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
2015-06-14 18:13:50 +00:00
Hermès Bélusca-Maïto 2893d3c4ad [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
2015-06-14 16:40:45 +00:00
Pierre Schweitzer a4ff3c9e3f [KERNEL32]
Addendum to r68136: use appropriate define.
Spotted by Thomas

svn path=/trunk/; revision=68137
2015-06-14 16:00:27 +00:00
Pierre Schweitzer 0680a926e0 [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
2015-06-14 15:52:28 +00:00
Pierre Schweitzer b0cffa2e64 [NDK]
Add definition for SYSTEM_NUMA_INFORMATION

Source: http://fy5388.blog.163.com/blog/static/564995372009112711571197/

svn path=/trunk/; revision=68135
2015-06-14 15:49:39 +00:00
Hermès Bélusca-Maïto 64a8bbf00f [NTVDM]
- Stubplement the font generator functions for text-mode.
- Store in plane 2+ the font ONLY in text mode (guilty r68085). Fixes spurious graphics corruption in gfx modes.
CORE-9791
CORE-9794 #resolve #comment Should be fixed in r68134.

svn path=/trunk/; revision=68134
2015-06-14 15:35:38 +00:00
Thomas Faber be73844e6c [MC]
- Add missing status codes STATUS_SMARTCARD_CERT_EXPIRED through STATUS_NO_S4U_PROT_SUPPORT.
CORE-8373

svn path=/trunk/; revision=68133
2015-06-14 11:19:02 +00:00
Thomas Faber 9c0c299bb9 [MSAFD]
- Fix error mapping for STATUS_INVALID_CONNECTION
CORE-9810 CORE-9807 #resolve

svn path=/trunk/; revision=68132
2015-06-14 08:03:15 +00:00
Thomas Faber e2985287b0 [AFD]
- Immediately finish a zero-length request in TdiSendDatagram. This may not be completely correct (should possibly get forwarded to tcpip instead) but is better than asserting.
CORE-9810

svn path=/trunk/; revision=68131
2015-06-14 07:58:58 +00:00
Thomas Faber 9df20e14a3 [AFD]
- Don't leave the IRP queued if TdiSendDatagram does not perform its downcall. Complete it instead.
CORE-9810

svn path=/trunk/; revision=68130
2015-06-14 07:54:19 +00:00
Thomas Faber b5c2e0b0d1 [AFD]
- Fail sends on sockets that are not connected in AfdConnectedSocketWriteData
CORE-9810

svn path=/trunk/; revision=68129
2015-06-14 07:48:28 +00:00
Thomas Faber b5319f8a97 [PSDK]
- Add STATUS_INVALID_SIGNATURE through STATUS_PROTOCOL_NOT_SUPPORTED

svn path=/trunk/; revision=68128
2015-06-14 07:44:06 +00:00
Aleksandar Andrejevic 7d7bef9d4a [NTOS|MM]
Addendum to 68126. The loader should return STATUS_INVALID_IMAGE_PROTECT
if e_lfanew is 0, or if the DOS stub appears too large due to a bad
e_lfanew. (Note: All plain MZ executables have an invalid e_lfanew)


svn path=/trunk/; revision=68127
2015-06-14 04:07:11 +00:00
Aleksandar Andrejevic 5c16c47c54 [NTOS|MM]
Return STATUS_INVALID_IMAGE_PROTECT if the NT header can't be read from the file.


svn path=/trunk/; revision=68126
2015-06-14 01:37:56 +00:00
Aleksandar Andrejevic cecde584e8 [FAST486]
FPU exceptions are delayed until the next non-control FPU instruction.


svn path=/trunk/; revision=68125
2015-06-13 23:12:55 +00:00
Eric Kohl 84d963d77a [USETUP]
AssignDriveLetters: Fix the code that assigns drive letters to logical partitions.

svn path=/trunk/; revision=68124
2015-06-13 23:11:57 +00:00
Timo Kreuzer 0dfd2330e2 [NTOSKRNL]
- Set VadType = VadImageMap for image section mappings
- Rewrite MmGetFileNameForAddress and NtAreMappedFilesTheSame. Take into account that the first address must be an image section mapping
- Fixes a few kernel32_winetest:virtual tests
CORE-9736 #resolve

svn path=/trunk/; revision=68123
2015-06-13 19:18:25 +00:00
Eric Kohl 1d240a84ee [USETUP]
Allocate a disk layout buffer that is large enough to keep all partitions of the disk.

CORE-5818 resolve

svn path=/trunk/; revision=68122
2015-06-13 12:46:42 +00:00
Thomas Faber 09b36e8cd5 [AFD]
- Probe for read access only in TdiSend/TdiSendDatagram
CORE-9807 resolve

svn path=/trunk/; revision=68121
2015-06-13 12:30:33 +00:00
Thomas Faber d555f45389 [WS2_32_APITEST]
- Add a test for send/sendto with a read-only buffer
CORE-9807

svn path=/trunk/; revision=68120
2015-06-13 12:29:07 +00:00
Amine Khaldi cbfd0d8498 [SERVMAN] Use a glob mechanism as resource files lists do not change often. CORE-9806
svn path=/trunk/; revision=68119
2015-06-13 11:41:32 +00:00
Amine Khaldi 3ca11592cc [SERVMAN] Properly track resource file dependencies. CORE-9806
svn path=/trunk/; revision=68118
2015-06-13 11:12:48 +00:00
Amine Khaldi 1b969c0a85 [CMAKE] Introduce add_rc_deps() to take care of adding OBJECT_DEPENDS to rc source files. CORE-9806
svn path=/trunk/; revision=68117
2015-06-13 11:05:03 +00:00
Amine Khaldi fcbc8f277a [USER32][UXTHEME] Properly paint the general menubar when application is themed. Brought to you by Stefano Toncich aka Tonix. CORE-9585
svn path=/trunk/; revision=68116
2015-06-13 11:00:24 +00:00
Eric Kohl be9ea7e123 [USETUP]
Get rid of CheckForLinuxFdiskPartitions.

svn path=/trunk/; revision=68115
2015-06-13 10:08:36 +00:00
Daniel Reimer e93ccca737 [USETUP]
Update german language header.

svn path=/trunk/; revision=68114
2015-06-12 23:37:41 +00:00
Eric Kohl 063de8230b [USETUP]
Mark a disk as clean after the partition table has been written to the disk.

svn path=/trunk/; revision=68113
2015-06-12 22:56:36 +00:00