[NTOS] Complete the support of Debug Filters. CORE-13529

- KD64: Update the list of supported Debug Filter Masks (KdComponentTable)
  with the more up-to-date one from KDBG, that includes some components
  that have been added in Vista+, but some of which we also use in ReactOS.

- NtQueryDebugFilterState(), NtSetDebugFilterState() and KdpPrint():
  Add the Vista+ behaviour or falling back to the DEFAULT component ID
  settings for unknown Components (compiled in only wheen NTDDI_VERSION >= NTDDI_VISTA).
  + Remove redundant comments and update these functions with SAL2 annotations.

- KDBG: Add extra documentation for the debug filter components list.

- CONFIG: Load all the supported Debug Filter Masks settings from the
  registry.
This commit is contained in:
Hermès Bélusca-Maïto 2019-11-17 17:16:55 +01:00
parent 9537653ee7
commit 6c1aac6948
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
7 changed files with 1341 additions and 113 deletions

View file

@ -57,17 +57,17 @@ NTSYSCALLAPI
NTSTATUS
NTAPI
NtQueryDebugFilterState(
ULONG ComponentId,
ULONG Level
_In_ ULONG ComponentId,
_In_ ULONG Level
);
NTSYSCALLAPI
NTSTATUS
NTAPI
NtSetDebugFilterState(
ULONG ComponentId,
ULONG Level,
BOOLEAN State
_In_ ULONG ComponentId,
_In_ ULONG Level,
_In_ BOOLEAN State
);
NTSYSCALLAPI