reactos/ntoskrnl/kd
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
..
arm [NTOS:KD:KDBG] Move some files to a better place. 2023-03-27 23:31:28 +02:00
i386 [NTOS:KD:KDBG] Move some files to a better place. 2023-03-27 23:31:28 +02:00
kd.h [NTOS:KDBG] Isolate terminal and input-related routines from the rest of KDBG. (#5188) 2023-03-29 02:42:31 +02:00
kdio.c [NTOS:KD:KDBG] Isolate the read-line (prompt) functionality in a separate file. 2023-03-28 16:14:40 +02:00
kdmain.c [NTOS:KDBG] Isolate terminal and input-related routines from the rest of KDBG. (#5188) 2023-03-29 02:42:31 +02:00
kdprompt.c [NTOS:KDBG] Isolate terminal and input-related routines from the rest of KDBG. (#5188) 2023-03-29 02:42:31 +02:00
kdps2kbd.c [NTOS:KD] Update file headers. 2023-03-27 23:31:33 +02:00
kdserial.c [NTOS:KD:KDBG] Isolate the read-line (prompt) functionality in a separate file. 2023-03-28 16:14:40 +02:00
kdterminal.c [NTOS:KDBG] Isolate terminal and input-related routines from the rest of KDBG. (#5188) 2023-03-29 02:42:31 +02:00
kdterminal.h [NTOS:KDBG] Isolate terminal and input-related routines from the rest of KDBG. (#5188) 2023-03-29 02:42:31 +02:00