reactos/ntoskrnl
Hermès Bélusca-Maïto b15963abb8
[NTOS:KDBG] Reintroduce the capability of KdbpCliInit() to interpret the KDBinit file (#4917)
Addendum to commit baa47fa5e.

Similarly to what was originally done, have KdbpCliInterpretInitFile()
parse the KDBinit file by breaking back into the debugger.
But contrary to before, replace the deprecated call to KdbEnter() by
a standard DbgBreakPointWithStatus(DBG_STATUS_CONTROL_C) . This allows
KdbEnterDebuggerException() to do the KdbpCliInterpretInitFile() call.

Additional fixes and improvements:

- Run KdbpCliInterpretInitFile() in full KDBG environment (interrupts
  disabled, modified IRQL, own stack), like the usual interactive loop.

- The KDBinit data buffer must be in non-paged pool.

- Demote the "Could not open KDBinit" error to a DPRINT, so that it
  doesn't pollute the debug log when the KDBG init function is called
  early (before the storage stack is initialized), or if the file
  doesn't exist -- since this is an optional feature.
2024-10-14 22:51:54 +02:00
..
cache
cc [NTOS:CC] CcRosCreateVacb: Return error code on pool allocation failure (#7275) 2024-08-30 07:34:48 +07:00
config [NTOS:CM] Lock the entire registry down when we unload a hive 2024-06-01 16:17:47 +02:00
dbgk
ex [NTOS:EX] Various fixes for Daylight Saving Time transitions (#5868) 2024-05-05 21:32:04 -05:00
fsrtl [NTOS:FSRTL] Check for the correct return status when inserting a new Filter Context entry 2024-08-26 11:16:49 +02:00
fstub [NTOS:FSTUB] Pack the MASTER_BOOT_RECORD structure (#6416) 2024-02-08 01:02:19 +03:00
inbv [NTOS:EX] Fix a loop bug 2024-03-19 07:43:20 +01:00
include [NTOS:MM] Increase x64 system view and session view size 2024-09-08 10:33:55 +03:00
io [NTOS:PNP] Don't use a pointer to a stack structure in a work-item 2024-10-10 20:28:59 +03:00
kd [NTOS:KD] Fix release builds. 2023-08-31 17:10:34 +02:00
kd64 [NTOS:KDBG] Minor code style for the following commits 2024-10-14 22:51:51 +02:00
kdbg [NTOS:KDBG] Reintroduce the capability of KdbpCliInit() to interpret the KDBinit file (#4917) 2024-10-14 22:51:54 +02:00
ke [NTOS:KE/x64] Fix exception information on page faults 2024-09-12 17:07:59 +03:00
lpc [NTOS:LPC] Fix input parameter for ProbeAndCaptureUnicodeString (#5815) 2023-10-23 18:18:45 +02:00
mm [NTOS:MM] Fix PTE protection for executable CoW pages 2024-10-10 17:37:56 +03:00
ntkrnlmp
ob [NDK] Match AUX_ACCESS_DATA definition with publicly available version. 2024-09-12 17:44:13 +03:00
po [NTOS:PO] Update a comment (#6443) 2024-09-08 02:29:37 +02:00
ps [NTOS:MM/PS] Remove code duplication between LookupEntryPoint/MiLocateExportName/MiFindExportedRoutineByName. (#4918) 2023-08-29 17:26:57 +02:00
rtl [RTL] Minor formatting, remove redundant 'return'. 2023-11-16 17:06:40 +01:00
se [NTOS:SE] Mark output parameters as such. 2024-09-12 17:44:13 +03:00
tests [REACTOS] Add missing line breaks at end of file 2024-10-06 10:47:11 +03:00
vdm
vf
wmi
CMakeLists.txt
guid.c
KrnlFun.c
ntdll.S
ntos.cmake [NTOS:KE/x64] Implement processor freeze code 2024-04-23 15:50:06 +02:00
ntoskrnl.rc [NTOS:INBV] Isolate the bitmap resources pertaining to the boot theme/animation into their resource sub-file. 2023-12-24 22:39:36 +01:00
ntoskrnl.spec [MSVCRT][NTDLL][NTOS] Add import aliases for _swprintf and _vswprintf 2024-05-22 17:55:38 +02:00
sysfuncs.lst