reactos/ntoskrnl/kdbg
Hermès Bélusca-Maïto 934812c4b2
[NTOS:KDBG] Fix parsing the boot command line for the (NO)LOADSYMBOLS options.
Addendum to commit de892d5b.

The boot options get stripped of their optional command switch '/'
(and replaced by whitspace separation) by the NT loader. Also, forbid
the presence of space between the optional '=' character following
(NO)LOADSYMBOLS.

In addition, fix the default initialization of LoadSymbols in KdbSymInit():
we cannot rely on MmNumberOfPhysicalPages in BootPhase 0 since at this point,
the Memory Manager hasn't been initialized and this variable is not yet set.
(We are called by KdInitSystem(0) -> KdDebuggerInitialize0 at kernel init.)
It gets initialized later on between BootPhase 0 and 1.

Also display a nice KDBG signon showing the status of symbols loading.
2023-03-20 02:44:41 +01:00
..
amd64 [NTOS:KDBG] Nuke KdbEnter and KdbpCliModuleLoaded 2022-07-20 23:57:42 +02:00
i386 [NTOS:KDBG] Nuke KdbEnter and KdbpCliModuleLoaded 2022-07-20 23:57:42 +02:00
kdb.c [NTOS:KDBG] Remove dead code. Addendum to baa47fa5e and fe777bb52. 2023-03-12 02:16:58 +01:00
kdb.h [NTOS:KDBG] Fix parsing the boot command line for the (NO)LOADSYMBOLS options. 2023-03-20 02:44:41 +01:00
kdb_cli.c [NTOS:KDBG] Fix parsing the boot command line for the (NO)LOADSYMBOLS options. 2023-03-20 02:44:41 +01:00
kdb_expr.c [KDBG] Fix x64 KDBG 2022-07-20 23:57:42 +02:00
kdb_keyboard.c [NTOS:KDBG] Fix and improve KdbpReadCommand(). (#4914) 2023-01-06 14:44:50 +01:00
kdb_serial.c
kdb_symbols.c [NTOS:KDBG] Fix parsing the boot command line for the (NO)LOADSYMBOLS options. 2023-03-20 02:44:41 +01:00