reactos.git
3 months ago[ROSAPPS:PARTINFO] Implement display of IOCTL_DISK_GET_DRIVE_LAYOUT_EX info, for...
Hermès Bélusca-Maïto [Thu, 26 Nov 2020 02:15:32 +0000 (03:15 +0100)]
[ROSAPPS:PARTINFO] Implement display of IOCTL_DISK_GET_DRIVE_LAYOUT_EX info, for both MBR and GPT disks.

3 months ago[ROSAPPS:PARTINFO] Code formatting.
Hermès Bélusca-Maïto [Thu, 26 Nov 2020 00:25:53 +0000 (01:25 +0100)]
[ROSAPPS:PARTINFO] Code formatting.

3 months ago[NDK] Add missing nop NEC definitions if not X86 (for consistency with what's done...
Hermès Bélusca-Maïto [Thu, 26 Nov 2020 01:03:06 +0000 (02:03 +0100)]
[NDK] Add missing nop NEC definitions if not X86 (for consistency with what's done in the kernel-mode headers). Addendum to 9feab8e9.

3 months ago[SMSS] Fix x64 build. Addendum to a0721eb
Stanislav Motylkov [Thu, 26 Nov 2020 00:50:16 +0000 (03:50 +0300)]
[SMSS] Fix x64 build. Addendum to a0721eb

This part is specific for x86 architecture.

3 months ago[SMSS] Use the new IsNEC_98 macro defined for user-mode.
Hermès Bélusca-Maïto [Wed, 25 Nov 2020 23:25:05 +0000 (00:25 +0100)]
[SMSS] Use the new IsNEC_98 macro defined for user-mode.

3 months ago[NDK][XDK] Add some missing macros for run-time checks of X86 system architecture...
Hermès Bélusca-Maïto [Wed, 25 Nov 2020 23:17:50 +0000 (00:17 +0100)]
[NDK][XDK] Add some missing macros for run-time checks of X86 system architecture (NEC support).

3 months ago[XDK] Minor formatting; remove some extra newlines at end of files.
Hermès Bélusca-Maïto [Wed, 25 Nov 2020 23:07:40 +0000 (00:07 +0100)]
[XDK] Minor formatting; remove some extra newlines at end of files.

3 months ago[SETUPLIB] Add two hacks in partlist.c for temporarily setting consistently the disk...
Hermès Bélusca-Maïto [Tue, 24 Nov 2020 03:34:56 +0000 (04:34 +0100)]
[SETUPLIB] Add two hacks in partlist.c for temporarily setting consistently the disk partition style.

Add two hacks in UpdateDiskLayout() and WritePartitions() so that the
disk partition style is consistently set to a known value MBR, especially
when that disk was previously new and uninitialized (RAW).
A proper fix will be developed later when support for GPT is added.

3 months ago[SETUPLIB][USETUP] Cleanup some code in USETUP. Redefine FormatPartition() and Chkdsk...
Hermès Bélusca-Maïto [Tue, 24 Nov 2020 01:26:52 +0000 (02:26 +0100)]
[SETUPLIB][USETUP] Cleanup some code in USETUP. Redefine FormatPartition() and ChkdskPartition() helpers
so that they wrap the needed init steps for formatting/chkdsk'ing.

These helpers now accept a PPARTENTRY, together with the usual
formatting/chkdsk parameters. The helpers now determine the actual
NT path to use, and can perform the init steps on the partition
before performing the actual operation.

In particular, FormatPartition() is now made GPT-compliant. The
partition type retrieved by FileSystemToMBRPartitionType() is now
used as a hint for choosing FAT32 over FAT12/16, and only in the
case of a MBR partition that is *NOT* a recognized OEM partition,
it is used for updating the corresponding partition type. (OEM
partitions must retain their original type.)

The OEM partition types we (and NT) can recognize are specified
e.g. in the Microsoft Open-Specification [MS-DMRP] Appendix B
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-dmrp/5f5043a3-9e6d-40cc-a05b-1a4a3617df32

Introduce an IsOEMPartition() macro to help checking for these types
(its name is based on the Is***Partition() macros from ntdddisk.h,
and from a dmdskmgr.dll export of similar name).

3 months ago[SETUPLIB] Make InferFileSystem() compatible for both MBR and GPT disks. Simplify...
Hermès Bélusca-Maïto [Tue, 24 Nov 2020 00:49:41 +0000 (01:49 +0100)]
[SETUPLIB] Make InferFileSystem() compatible for both MBR and GPT disks. Simplify the FSREC interface a bit.

Instead of providing an MBR partition type to InferFileSystem(), make
it call IOCTL_DISK_GET_PARTITION_INFO(_EX) to determine whether the
partition pointed by the path/handle is MBR or GPT. Then, only if it's
MBR, we retrieve its partition type in order to "guess" an adequate file
system name, in case the latter was not recognized already via regular
ways (via GetFileSystemName() / NtQueryVolumeInformationFile()).

- Remove the GetFileSystemNameByHandle() and InferFileSystemByHandle()
  functions. Instead, make the other GetFileSystemName*() and
  InferFileSystem*() functions accept a HANDLE as an alternative to the
  already-existing partition path string. These parameters are exclusive
  to each other.

- Rename SetPartitionType() -> SetMBRPartitionType(),
  and FileSystemToPartitionType() -> FileSystemToMBRPartitionType()
  in order to really clarify what they do (since this code is meant
  for MBR partitions only, not GPT ones).

3 months ago[FSLIB][FMIFS][AUTOCHK][SETUPLIB] Use more Windows-compatible (but not fully compatib...
Hermès Bélusca-Maïto [Sun, 22 Nov 2020 04:35:37 +0000 (05:35 +0100)]
[FSLIB][FMIFS][AUTOCHK][SETUPLIB] Use more Windows-compatible (but not fully compatible yet) Format() and Chkdsk() ULIB functions.

[AUTOCHK] Add also support for scanning FATX volumes.

The Format(), FormatEx(), Chkdsk(), ChkdskEx() functions exposed by the
U*.DLL user-mode FS library dlls are different (and have different
prototypes) than the similarly-named functions exported by FMIFS.DLL .

In particular, what we used to call "xxxChkdskEx()" and "xxxFormatEx()"
in our U*.DLL libraries actually correspond more, from their arguments,
to the "Chkdsk()" and "Format()" functions in Windows' U*.DLL . Their
*Ex() counterparts instead take most of the parameters through a
structure passed by pointer.

On FMIFS.DLL side, while FMIFS!Chkdsk() calls U*.DLL!Chkdsk() and
FMIFS!ChkdskEx() calls U*.DLL!ChkdskEx() (and we do not implement these
*Ex() functions at the moment), both FMIFS!Format() and FMIFS!FormatEx()
call U*.DLL!Format() instead, while FMIFS!FormatEx2() calls
U*.DLL!FormatEx() (that we do not implement yet either) !!

To improve that, refactor the calls to these U*.DLL functions so as to
respect the more compatible prototypes: They contain the correct number
of parameters in a compatible order. However, some of the parameters do
not have the same types yet: the strings are kept here in PUNICODE_STRINGS,
while on Windows they are passed via an undocumented DSTRING struct, and
the FMIFS callback is instead a MESSAGE struct/class on Windows.
Finally, the MEDIA_TYPE parameter in U*.DLL!Format() is equivalent, yet
not fully 100% in 1-to-1 correspondence, with the FMIFS_MEDIA_FLAG used
in the corresponding FMIFS.DLL functions.

One thing to notice is that the U*.DLL!Format() (and the Ex) functions
support a BOOLEAN (a flag resp.) for telling that a backwards-compatible
FS version should be used instead of the (default) latest FS version.
This is used e.g. by the FAT FS, where by default FAT32 is selected
(depending also on other constraints like, the disk and the partition
sizes), unless that bit is set in which case, FAT16 (or 12) is used.

3 months ago[BTRFSLIB] Reduce the diff with upstream, and fix a memory leak.
Hermès Bélusca-Maïto [Sun, 22 Nov 2020 04:57:00 +0000 (05:57 +0100)]
[BTRFSLIB] Reduce the diff with upstream, and fix a memory leak.

- Reduce the diff with upstream by aliasing malloc() and free()
  with RtlAllocateHeap() and RtlFreeHeap() respectively.

- Fix a memory leak in the failure code path of the do-while
  memory reallocation loop for IOCTL_BTRFS_QUERY_FILESYSTEMS
  in is_mounted_multi_device().

3 months ago[FMIFS] Whitespaces formatting only.
Hermès Bélusca-Maïto [Sun, 22 Nov 2020 04:39:40 +0000 (05:39 +0100)]
[FMIFS] Whitespaces formatting only.

3 months ago[NTOS:KD] Change the way we detect if exception if from KernelMode/UserMode
Hervé Poussineau [Sun, 22 Nov 2020 17:13:51 +0000 (18:13 +0100)]
[NTOS:KD] Change the way we detect if exception if from KernelMode/UserMode

CORE-17381

3 months ago[USER32_DYNAMIC_APITEST] Remove a tautological check. Spotted by clang.
Thomas Faber [Sun, 22 Nov 2020 12:21:00 +0000 (13:21 +0100)]
[USER32_DYNAMIC_APITEST] Remove a tautological check. Spotted by clang.

3 months ago[GITHUB] Add clang-cl location to the beginning of PATH instead of the end.
Thomas Faber [Sun, 22 Nov 2020 11:25:56 +0000 (12:25 +0100)]
[GITHUB] Add clang-cl location to the beginning of PATH instead of the end.

Fixes build with the latest VS2019 (16.8.2).
The new version now adds Llvm\x64\bin to the PATH of the
"x64_x86 Cross Tools Commannd Prompt", so we must override this to
get x86 clang.

3 months ago[ACPICA] Update to version 20201113. CORE-17382
Thomas Faber [Sun, 22 Nov 2020 10:20:09 +0000 (11:20 +0100)]
[ACPICA] Update to version 20201113. CORE-17382

3 months ago[TRANSLATION] Hungarian translation update for credui, devmgr, netid, sysdm (#3285)
Tibor Lajos Füzi [Sat, 21 Nov 2020 17:07:48 +0000 (18:07 +0100)]
[TRANSLATION] Hungarian translation update for credui, devmgr, netid, sysdm (#3285)

3 months ago[TRANSLATION][CMD] Update zh-CN translation (partially) (#3330)
He Yang [Sat, 21 Nov 2020 17:05:22 +0000 (11:05 -0600)]
[TRANSLATION][CMD] Update zh-CN translation (partially) (#3330)

3 months ago[TRANSLATION] Improve zh-TW translation (#3218)
Aobi Chan CL [Sat, 21 Nov 2020 17:03:37 +0000 (01:03 +0800)]
[TRANSLATION] Improve zh-TW translation (#3218)

- Added zh-TW translation for the following modules: credui, crypt32, getuname, mapi32, themeui, shlwapi.
- Modify zh-TW translation for other files.
- Moving Traditional Chinese translation back to Zh.rc for files came from Wine (comdlg32).

Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
3 months agoAddendum to commit 3e79cb8e: Add also the official URL to the PCI IDs database.
Hermès Bélusca-Maïto [Sat, 21 Nov 2020 16:34:55 +0000 (17:34 +0100)]
Addendum to commit 3e79cb8e: Add also the official URL to the PCI IDs database.

3 months ago[HALX86] Update the PCI hardware IDs database.
Serge Gautherie [Thu, 12 Nov 2020 00:22:46 +0000 (01:22 +0100)]
[HALX86] Update the PCI hardware IDs database.

Extracted from the pci.ids database at https://pci-ids.ucw.cz/ from 2020-11-14 03:15:02 .
Maintained by Albert Pool, Martin Mares, and other volunteers from the PCI ID Project.

Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
3 months ago[VMAKE/WIDL] Properly fix build (try 3)
Jérôme Gardou [Fri, 20 Nov 2020 18:56:56 +0000 (19:56 +0100)]
[VMAKE/WIDL] Properly fix build (try 3)

3 months ago[CMAKE] Fix host tools dependency tracking
Jérôme Gardou [Fri, 20 Nov 2020 18:54:54 +0000 (19:54 +0100)]
[CMAKE] Fix host tools dependency tracking

3 months ago[RAPPS] Properly use FormatMessageW with WinInet message table
Stanislav Motylkov [Fri, 20 Nov 2020 18:16:37 +0000 (21:16 +0300)]
[RAPPS] Properly use FormatMessageW with WinInet message table

Addendum to fb1582d. CORE-17375 CORE-17377

3 months ago[CMAKE/WIDL] Fix build (try 2)
Jérôme Gardou [Fri, 20 Nov 2020 09:17:43 +0000 (10:17 +0100)]
[CMAKE/WIDL] Fix build (try 2)

3 months ago[CMAKE/WIDL] Fix build
Jérôme Gardou [Fri, 20 Nov 2020 09:12:31 +0000 (10:12 +0100)]
[CMAKE/WIDL] Fix build

3 months ago[CMAKE/WIDL] Run widl from the source directory
Jérôme Gardou [Fri, 20 Nov 2020 08:47:33 +0000 (09:47 +0100)]
[CMAKE/WIDL] Run widl from the source directory

This dramatically improves ccache direct hit rate as now the generated files are identical across build trees

3 months ago[NTOS:KD] Correctly define previous mode when entering KDBG (addendum to 0c76bbfe98d8...
Hervé Poussineau [Tue, 17 Nov 2020 13:22:27 +0000 (14:22 +0100)]
[NTOS:KD] Correctly define previous mode when entering KDBG (addendum to 0c76bbfe98d8dae26749670cba355136413ba3ce)

3 months ago[PARTMGR] Use FORCEINLINE
Jérôme Gardou [Mon, 16 Nov 2020 13:27:47 +0000 (14:27 +0100)]
[PARTMGR] Use FORCEINLINE

3 months ago[SDK] Use FORCEINLINE instead of inline
Jérôme Gardou [Mon, 16 Nov 2020 13:27:24 +0000 (14:27 +0100)]
[SDK] Use FORCEINLINE instead of inline

3 months ago[NCFTP] declare DisposeWinsock as static
Jérôme Gardou [Tue, 10 Nov 2020 13:25:54 +0000 (14:25 +0100)]
[NCFTP] declare DisposeWinsock as static

3 months ago[GITHUB] Add CLang build action
Jérôme Gardou [Tue, 10 Nov 2020 08:20:04 +0000 (09:20 +0100)]
[GITHUB] Add CLang build action

3 months ago[NTOSKRNL] DO not disable optimisations when compiling with CLang
Jérôme Gardou [Mon, 9 Nov 2020 16:01:07 +0000 (17:01 +0100)]
[NTOSKRNL] DO not disable optimisations when compiling with CLang

3 months ago[RAPPS] Do not implicitly cast pointer to BOOL
Jérôme Gardou [Mon, 9 Nov 2020 15:05:12 +0000 (16:05 +0100)]
[RAPPS] Do not implicitly cast pointer to BOOL

3 months ago[ATL] Declare pointer as return type for functions returning pointers
Jérôme Gardou [Mon, 9 Nov 2020 14:59:55 +0000 (15:59 +0100)]
[ATL] Declare pointer as return type for functions returning pointers

3 months ago[EXT2FS] Use GNU89 standard when using CLang
Jérôme Gardou [Mon, 9 Nov 2020 12:28:34 +0000 (13:28 +0100)]
[EXT2FS] Use GNU89 standard when using CLang

3 months ago[CDFS] Use GNU89 standard when using CLang
Jérôme Gardou [Mon, 9 Nov 2020 12:28:08 +0000 (13:28 +0100)]
[CDFS] Use GNU89 standard when using CLang

3 months ago[MSVCRT] make some functions static
Jérôme Gardou [Mon, 9 Nov 2020 11:54:46 +0000 (12:54 +0100)]
[MSVCRT] make some functions static

3 months ago[CRT] Use ASM aliases for CLang builds
Jérôme Gardou [Mon, 9 Nov 2020 11:54:06 +0000 (12:54 +0100)]
[CRT] Use ASM aliases for CLang builds

3 months ago[NFS41_DRIVER] Use GNU89 standard when compiling with CLang.
Jérôme Gardou [Mon, 9 Nov 2020 11:04:25 +0000 (12:04 +0100)]
[NFS41_DRIVER] Use GNU89 standard when compiling with CLang.

3 months ago[STORAHCI] Use FORCEINLINE instead of __inline
Jérôme Gardou [Mon, 9 Nov 2020 08:45:03 +0000 (09:45 +0100)]
[STORAHCI] Use FORCEINLINE instead of __inline

3 months ago[NTOSKRNL] Link memcmp to the import lib when using CLang
Jérôme Gardou [Mon, 9 Nov 2020 08:41:48 +0000 (09:41 +0100)]
[NTOSKRNL] Link memcmp to the import lib when using CLang

CLang performs some optimisations on e.g. strcmp, but memcmp is not exported by ntoskrnl

3 months ago[NDIS] Use FORCEINLINE instead of __inline
Jérôme Gardou [Mon, 9 Nov 2020 08:15:57 +0000 (09:15 +0100)]
[NDIS] Use FORCEINLINE instead of __inline

3 months ago[MSVCRTEX] Add some floating point functions for CLang build
Jérôme Gardou [Fri, 6 Nov 2020 20:39:00 +0000 (21:39 +0100)]
[MSVCRTEX] Add some floating point functions for CLang build

Clang makes optimisations requiring functions not present in msvcrt

3 months ago[CRT] Fix __forceinline definition for clang
Jérôme Gardou [Fri, 6 Nov 2020 16:27:32 +0000 (17:27 +0100)]
[CRT] Fix __forceinline definition for clang

3 months ago[CRT] Fix intrinsics definition with clang
Jérôme Gardou [Thu, 10 Sep 2020 21:24:59 +0000 (23:24 +0200)]
[CRT] Fix intrinsics definition with clang

3 months ago[CMAKE] Fix use of CLang
Jérôme Gardou [Thu, 10 Sep 2020 21:23:14 +0000 (23:23 +0200)]
[CMAKE] Fix use of CLang
 - Updated toolchain file
 - set GCC variable when using CLang in "GCC mode"
 - Properly retrieve GCC support libraries
 - Various flags needed to get this going

3 months ago[NTOS:KD] Move some KDBG-specific variables to KDBG-specific file
Hervé Poussineau [Sun, 12 Apr 2020 07:30:32 +0000 (09:30 +0200)]
[NTOS:KD] Move some KDBG-specific variables to KDBG-specific file

3 months ago[NTOS:KD] Merge KdpReportExceptionStateChange() with kd64 version
Hervé Poussineau [Thu, 9 Apr 2020 12:31:47 +0000 (14:31 +0200)]
[NTOS:KD] Merge KdpReportExceptionStateChange() with kd64 version

3 months ago[NTOS:KD] Use a PCONTEXT instead of a PKTRAP_FRAME in KDBG
Hervé Poussineau [Wed, 8 Apr 2020 21:08:57 +0000 (23:08 +0200)]
[NTOS:KD] Use a PCONTEXT instead of a PKTRAP_FRAME in KDBG

3 months ago[NTOS:KD] Move some declarations where they belong
Hervé Poussineau [Tue, 31 Mar 2020 21:40:14 +0000 (23:40 +0200)]
[NTOS:KD] Move some declarations where they belong

3 months ago[NTOS:KD] Remove useless define
Hervé Poussineau [Tue, 31 Mar 2020 21:35:27 +0000 (23:35 +0200)]
[NTOS:KD] Remove useless define

KdbEnterDebuggerException() is only called when KDBG is defined.

3 months ago[NTOS:KD] Remove useless variables/members
Hervé Poussineau [Sat, 28 Mar 2020 18:15:57 +0000 (19:15 +0100)]
[NTOS:KD] Remove useless variables/members

Those where only set and never read.

3 months ago[NTOS:KD] Remove Bochs port debugging
Hervé Poussineau [Sat, 28 Mar 2020 09:45:31 +0000 (10:45 +0100)]
[NTOS:KD] Remove Bochs port debugging

You can use serial port debugging instead.

3 months ago[NTOS:KD] Remove useless implementation of BREAKPOINT_PRINT in KdSystemDebugControl
Hervé Poussineau [Mon, 9 Mar 2020 23:10:08 +0000 (00:10 +0100)]
[NTOS:KD] Remove useless implementation of BREAKPOINT_PRINT in KdSystemDebugControl

This is (as expected) handled in KdpTrap(), which also calls KdpPrint().

3 months ago[NTOS:KD] Merge KdpReportCommandStringStateChange() with kd64 version
Hervé Poussineau [Mon, 9 Mar 2020 23:01:22 +0000 (00:01 +0100)]
[NTOS:KD] Merge KdpReportCommandStringStateChange() with kd64 version

3 months ago[NTOS:KD] Merge KdpReportLoadSymbolsStateChange() with kd64 version
Hervé Poussineau [Mon, 9 Mar 2020 23:00:00 +0000 (00:00 +0100)]
[NTOS:KD] Merge KdpReportLoadSymbolsStateChange() with kd64 version

3 months ago[NTOS:KD] Merge KdEnableDebuggerWithLock()/KdDisableDebuggerWithLock() with kd64...
Hervé Poussineau [Mon, 9 Mar 2020 22:48:55 +0000 (23:48 +0100)]
[NTOS:KD] Merge KdEnableDebuggerWithLock()/KdDisableDebuggerWithLock() with kd64 version

3 months ago[NTOS:KD] Merge KdEnterDebugger()/KdExitDebugger() with kd64 version
Hervé Poussineau [Mon, 9 Mar 2020 22:46:32 +0000 (23:46 +0100)]
[NTOS:KD] Merge KdEnterDebugger()/KdExitDebugger() with kd64 version

3 months ago[NTOS:KD] Remove useless uses of _WINKD_
Hervé Poussineau [Mon, 9 Mar 2020 22:45:22 +0000 (23:45 +0100)]
[NTOS:KD] Remove useless uses of _WINKD_

3 months ago[NTOS:KD] Merge KdpReport() with kd64 version
Hervé Poussineau [Sun, 8 Mar 2020 22:16:43 +0000 (23:16 +0100)]
[NTOS:KD] Merge KdpReport() with kd64 version

3 months ago[NTOS:KD] Merge KdpTrap() with kd64 version
Hervé Poussineau [Sun, 8 Mar 2020 16:52:19 +0000 (17:52 +0100)]
[NTOS:KD] Merge KdpTrap() with kd64 version

3 months ago[NTOS:KD] Merge KdpPrintString()/KdpPromptString() with kd64 version
Hervé Poussineau [Sat, 7 Mar 2020 22:33:57 +0000 (23:33 +0100)]
[NTOS:KD] Merge KdpPrintString()/KdpPromptString() with kd64 version

3 months ago[NTOS:KD] Merge KdpStub with kd64 version
Hervé Poussineau [Sat, 7 Mar 2020 18:32:45 +0000 (19:32 +0100)]
[NTOS:KD] Merge KdpStub with kd64 version

3 months ago[NTOS:KD] Remove some now useless tests on _WINKD_
Hervé Poussineau [Sat, 7 Mar 2020 18:30:15 +0000 (19:30 +0100)]
[NTOS:KD] Remove some now useless tests on _WINKD_

3 months ago[NTOS:KD] Merge some more functions with kd64
Hervé Poussineau [Sat, 7 Mar 2020 18:14:09 +0000 (19:14 +0100)]
[NTOS:KD] Merge some more functions with kd64

Functions are KdIsThisAKdTrap, KdUpdateDataBlock, KdEnterDebugger,
KdExitDebugger, KdRefreshDebuggerNotPresent, KdDisableDebugger,
KdEnableDebuggerWithLock, KdEnableDebugger, KdSystemDebugControl

3 months ago[NTOS:KD] Rename KdpEnterDebuggerException to KdpTrap + add KdpStub forwarder
Hervé Poussineau [Sat, 7 Mar 2020 17:54:21 +0000 (18:54 +0100)]
[NTOS:KD] Rename KdpEnterDebuggerException to KdpTrap + add KdpStub forwarder

This removes somes uses of _WINKD_ macro.

3 months ago[NTOS:KD] Merge KdInitDebugger with kd64 version + move variable declarations to...
Hervé Poussineau [Sat, 7 Mar 2020 17:07:05 +0000 (18:07 +0100)]
[NTOS:KD] Merge KdInitDebugger with kd64 version + move variable declarations to kd64/kddata.c

Remove now unused file kd/kdinit.c

3 months ago[NTOS:KD] Import KdpCallInitRoutine() into KdDebuggerInitialize1()
Hervé Poussineau [Sat, 7 Mar 2020 17:00:20 +0000 (18:00 +0100)]
[NTOS:KD] Import KdpCallInitRoutine() into KdDebuggerInitialize1()

3 months ago[NTOS:KD] Move implementation of banner display from each debug output type to common...
Hervé Poussineau [Sat, 7 Mar 2020 16:32:49 +0000 (17:32 +0100)]
[NTOS:KD] Move implementation of banner display from each debug output type to common code

3 months ago[NTOS:KD] Make implementation of KdInitSystem more similar with the kd64 one
Hervé Poussineau [Sat, 7 Mar 2020 16:18:33 +0000 (17:18 +0100)]
[NTOS:KD] Make implementation of KdInitSystem more similar with the kd64 one

Move some kd initializations into KdDebuggerInitialize0() function.

3 months ago[NTOS:KD] Compile all kd64 files in kdbg mode
Hervé Poussineau [Sat, 7 Mar 2020 14:56:44 +0000 (15:56 +0100)]
[NTOS:KD] Compile all kd64 files in kdbg mode

3 months ago[NTOS:KD] Merge KdPowerTransition/KdChangeOption with kd64 version
Hervé Poussineau [Sat, 7 Mar 2020 14:48:35 +0000 (15:48 +0100)]
[NTOS:KD] Merge KdPowerTransition/KdChangeOption with kd64 version

3 months ago[NTOS:KD] Implement empty versions of KdDebuggerInitialize0/KdSendPacket/KdReceivePacket
Hervé Poussineau [Sat, 7 Mar 2020 10:39:37 +0000 (11:39 +0100)]
[NTOS:KD] Implement empty versions of KdDebuggerInitialize0/KdSendPacket/KdReceivePacket

Move KdDebuggerInitialize1 to common code.
Add #defines to local names to prevent clashes with kdcom.dll

3 months ago[NTOS:KD] Merge KdPollBreakIn() with kd64 version
Hervé Poussineau [Fri, 6 Mar 2020 23:05:22 +0000 (00:05 +0100)]
[NTOS:KD] Merge KdPollBreakIn() with kd64 version

3 months ago[NTOS:KD] Remove invalid configuration (not _WINKD_ on amd64)
Hervé Poussineau [Sat, 28 Mar 2020 10:03:28 +0000 (11:03 +0100)]
[NTOS:KD] Remove invalid configuration (not _WINKD_ on amd64)

This was not working, as the file ntoskrnl/kd/amd64/kd.c was non-existent.

3 months ago[NTOS:KD] Remove 'support' for Pice. It was only setting a flag.
Hervé Poussineau [Sat, 28 Mar 2020 09:42:17 +0000 (10:42 +0100)]
[NTOS:KD] Remove 'support' for Pice. It was only setting a flag.

3 months ago[NTOS:KD] Remove GDB stubs
Hervé Poussineau [Sat, 28 Mar 2020 09:16:44 +0000 (10:16 +0100)]
[NTOS:KD] Remove GDB stubs

drivers/base/kdgdb/ should be used instead.

3 months ago[NTOS:KDBG] Remove useless file
Hervé Poussineau [Sat, 28 Mar 2020 18:25:03 +0000 (19:25 +0100)]
[NTOS:KDBG] Remove useless file

3 months ago[NTOS:IO] Do not translate resources of type CmResourceTypeDevicePrivate
Hervé Poussineau [Tue, 3 Nov 2020 21:04:41 +0000 (22:04 +0100)]
[NTOS:IO] Do not translate resources of type CmResourceTypeDevicePrivate

CmResourceTypeDevicePrivate resources are created the the bus driver, for its own later use,
when children devices will receive the IRP_MN_START_DEVICE.

Do not translate them, as they have no meaning outside bus driver.

3 months ago[PCI] Accept a bus number range instead of a single bus number
Hervé Poussineau [Sat, 31 Oct 2020 14:33:47 +0000 (15:33 +0100)]
[PCI] Accept a bus number range instead of a single bus number

3 months ago[REGEDIT] Make "finished find" messagebox owned by Regedit window (#3369)
Oleg Dubinskiy [Sat, 14 Nov 2020 18:21:10 +0000 (20:21 +0200)]
[REGEDIT] Make "finished find" messagebox owned by Regedit window (#3369)

Same behaviour as in MS Regedit.
CORE-17367

3 months ago[SAMSRV] SamIFree_SAMPR_USER_INFO_BUFFER: Add missing breaks. CORE-17355
Serge Gautherie [Wed, 9 Sep 2020 01:46:56 +0000 (03:46 +0200)]
[SAMSRV] SamIFree_SAMPR_USER_INFO_BUFFER: Add missing breaks. CORE-17355

Addendum to fda13e (r58742).

3 months ago[SAMSRV] SamrQueryInformationUser: Add missing break. CORE-17355
Serge Gautherie [Wed, 9 Sep 2020 01:46:56 +0000 (03:46 +0200)]
[SAMSRV] SamrQueryInformationUser: Add missing break. CORE-17355

Addendum to 2f6a92c (r56820).

3 months ago[HALX86] Implement HalQueryAMLIIllegalIOPortAddresses case in HaliQuerySystemInformation 3334/head
Vadim Galyant [Thu, 5 Nov 2020 20:56:05 +0000 (22:56 +0200)]
[HALX86] Implement HalQueryAMLIIllegalIOPortAddresses case in HaliQuerySystemInformation
CORE-17359

Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
Co-authored-by: Oleg Dubinskiy <oleg.dubinskij2013@yandex.ua>
3 months ago[NTOS:CM] Implement support for KeyValuePartialInformationAlign64. CORE-17358 3337/head
Thomas Faber [Fri, 30 Oct 2020 16:29:29 +0000 (17:29 +0100)]
[NTOS:CM] Implement support for KeyValuePartialInformationAlign64. CORE-17358

3 months ago[NTDLL_APITEST] Add a test for KeyValuePartialInformationAlign64. CORE-17358
Thomas Faber [Sat, 31 Oct 2020 12:08:06 +0000 (13:08 +0100)]
[NTDLL_APITEST] Add a test for KeyValuePartialInformationAlign64. CORE-17358

3 months ago[COMPBATT] Add a missing OBJ_KERNEL_HANDLE
Serge Gautherie [Wed, 9 Sep 2020 01:46:56 +0000 (03:46 +0200)]
[COMPBATT] Add a missing OBJ_KERNEL_HANDLE

CORE-10207

3 months ago[NTOS:KDBG] Add some missing OBJ_KERNEL_HANDLE
Serge Gautherie [Wed, 9 Sep 2020 01:46:56 +0000 (03:46 +0200)]
[NTOS:KDBG] Add some missing OBJ_KERNEL_HANDLE

CORE-10207

3 months ago[PARTMGR] Disable driver startup
Victor Perevertkin [Fri, 13 Nov 2020 01:13:32 +0000 (04:13 +0300)]
[PARTMGR] Disable driver startup

3 months ago[PSDK] Add more 32 and 64-bit definitions to ntddscsi.h
Victor Perevertkin [Fri, 13 Nov 2020 00:15:31 +0000 (03:15 +0300)]
[PSDK] Add more 32 and 64-bit definitions to ntddscsi.h

3 months ago[PARTMGR] Add the Partition Manager driver
Victor Perevertkin [Fri, 13 Nov 2020 00:04:15 +0000 (03:04 +0300)]
[PARTMGR] Add the Partition Manager driver

This driver works as complement to disk.sys/classpnp.sys from Windows 10
Manages partition PDOs and exposes them as volumes to mountmgr.sys.
The driver is almost complete, just some minor IOCTLs missing (will be
added on demand)

3 months ago[MOUNTMGR] Volumes with NO_DRIVE_LETTER attribute should not be mounted, not the...
Victor Perevertkin [Thu, 12 Nov 2020 16:19:27 +0000 (19:19 +0300)]
[MOUNTMGR] Volumes with NO_DRIVE_LETTER attribute should not be mounted, not the opposite

3 months ago[NTOS:PNP] Enumerate the device tree after loading boot drivers and HAL
Victor Perevertkin [Mon, 9 Nov 2020 22:56:59 +0000 (01:56 +0300)]
[NTOS:PNP] Enumerate the device tree after loading boot drivers and HAL

3 months ago[BOOTDATA] Add an empty SystemPrefix value (#3362)
Adam Słaboń [Mon, 9 Nov 2020 22:46:35 +0000 (23:46 +0100)]
[BOOTDATA] Add an empty SystemPrefix value (#3362)

This gets "ReactOS" with Win2003 NT kernel + HAL boot a bit further.
(The "SystemPrefix" REG_DWORD value is part of license information in Win2000/XP/2003.)

3 months ago[XDK] Update the definition of DEBUG_DEVICE_DESCRIPTOR and related structures with...
Hermès Bélusca-Maïto [Mon, 9 Nov 2020 21:33:02 +0000 (22:33 +0100)]
[XDK] Update the definition of DEBUG_DEVICE_DESCRIPTOR and related structures with Vista,7,8,10 additions.
CORE-17360

Information from:
- https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddk/ns-ntddk-debug_device_descriptor
- https://www.vergiliusproject.com
- https://codemachine.com

3 months ago|CMAKE] Use RULE_LAUNCH_COMPILE property to handle ccache
Jérôme Gardou [Mon, 9 Nov 2020 09:06:44 +0000 (10:06 +0100)]
|CMAKE] Use RULE_LAUNCH_COMPILE property to handle ccache

3 months ago[KDGDB] Always use kernel stack to get stack frame
Jérôme Gardou [Fri, 6 Nov 2020 08:38:17 +0000 (09:38 +0100)]
[KDGDB] Always use kernel stack to get stack frame

3 months ago[HALX86] Drop hacks in HalpAddDevice to work around PnP synchronization bugs
Victor Perevertkin [Sun, 8 Nov 2020 22:28:50 +0000 (01:28 +0300)]
[HALX86] Drop hacks in HalpAddDevice to work around PnP synchronization bugs

Our PnP manager handles OS boot in a synchronous manner thus we don't
need it anymore.
This effectively reverts f23e722d974e843aff101 and 4a9fcb6

CORE-5686