[NTOS:KD] Annotate KdInitSystem and remove redundant declaration in kd.h

This commit is contained in:
Hermès Bélusca-Maïto 2022-11-18 16:23:06 +01:00
parent 4a93b0a463
commit 98e585364b
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 6 additions and 12 deletions

View file

@ -62,13 +62,6 @@ VOID
/* INIT ROUTINES *************************************************************/
BOOLEAN
NTAPI
KdInitSystem(
ULONG Reserved,
PLOADER_PARAMETER_BLOCK LoaderBlock
);
VOID
KdpScreenAcquire(VOID);

View file

@ -81,8 +81,8 @@ BOOLEAN
BOOLEAN
NTAPI
KdInitSystem(
ULONG Reserved,
PLOADER_PARAMETER_BLOCK LoaderBlock
_In_ ULONG BootPhase,
_In_opt_ PLOADER_PARAMETER_BLOCK LoaderBlock
);
VOID

View file

@ -139,11 +139,12 @@ KdRegisterDebuggerDataBlock(IN ULONG Tag,
BOOLEAN
NTAPI
KdInitSystem(IN ULONG BootPhase,
IN PLOADER_PARAMETER_BLOCK LoaderBlock)
KdInitSystem(
_In_ ULONG BootPhase,
_In_opt_ PLOADER_PARAMETER_BLOCK LoaderBlock)
{
BOOLEAN EnableKd, DisableKdAfterInit = FALSE, BlockEnable;
LPSTR CommandLine, DebugLine, DebugOptionStart, DebugOptionEnd;
PSTR CommandLine, DebugLine, DebugOptionStart, DebugOptionEnd;
STRING ImageName;
PLDR_DATA_TABLE_ENTRY LdrEntry;
PLIST_ENTRY NextEntry;