reactos/ntoskrnl/kdbg
Hermès Bélusca-Maïto 35180b3ad2
[NTOS:KDBG] Isolate terminal and input-related routines from the rest of KDBG. (#5188)
This is done in preparation for moving all this functionality in a
separate KDTERM "KD Terminal Driver" DLL.

Additionally:

- Flush the terminal input before sending ANSI escape sequences.

- In KDBG pager, always use the correct reading-key function (the
  same used also for reading keys for a line of user input), and not
  the simplistic two-call KdbpGetCharSerial + KdbpTryGetCharSerial
  that would split the \r \n across calls.

- Call KdbpGetCommandLineSettings() in KdbInitialize() at BootPhase 0,
  which is indirectly called by KdDebuggerInitialize0(). And fix its
  command-line parsing too.
2023-03-29 02:42:31 +02:00
..
amd64 [NTOS:KDBG] Nuke KdbEnter and KdbpCliModuleLoaded 2022-07-20 23:57:42 +02:00
i386 [NTOS:KD:KDBG] Move some files to a better place. 2023-03-27 23:31:28 +02:00
kdb.c [NTOS:KDBG] Isolate terminal and input-related routines from the rest of KDBG. (#5188) 2023-03-29 02:42:31 +02:00
kdb.h [NTOS:KDBG] Isolate terminal and input-related routines from the rest of KDBG. (#5188) 2023-03-29 02:42:31 +02:00
kdb_cli.c [NTOS:KDBG] Isolate terminal and input-related routines from the rest of KDBG. (#5188) 2023-03-29 02:42:31 +02:00
kdb_cmdhist.c [NTOS:KDBG] Move command history management in a separate file. Simplify duplicated code in KdbpReadCommand. 2023-03-27 23:31:34 +02:00
kdb_expr.c [KDBG] Fix x64 KDBG 2022-07-20 23:57:42 +02:00
kdb_symbols.c [NTOS:KDBG] Temporarily HACK-work-around symbols loading by disabling them at BootPhase 0. 2023-03-20 03:10:14 +01:00