[NTOS:KD64][NTOS:KDBG] Fix spinlocks use
authorJérôme Gardou <jerome.gardou@reactos.org>
Tue, 22 Jun 2021 09:41:25 +0000 (11:41 +0200)
committerJérôme Gardou <zefklop@users.noreply.github.com>
Tue, 29 Jun 2021 09:49:20 +0000 (11:49 +0200)
commit608032bd0833a4c6e769a68e57bfc4a45eed79b9
tree5120c2ab45726ab0c77eb8aaf9e81a2853c9516a
parent5c332f6d36eed16ecbd424719eaf291a738f682b
[NTOS:KD64][NTOS:KDBG] Fix spinlocks use

Raise IRQL before entering debugger, so that KeAcquireSpinLockAtDpcLevel works as expected.
 - HIGH_LEVEL since we don't know where we are coming from.

Do not try to read debug symbol from files in KDBG.
 - There is no reason that this works if Mm didn't map it in the first place.
ntoskrnl/kd64/kdlock.c
ntoskrnl/kd64/kdtrap.c
ntoskrnl/kdbg/kdb_symbols.c