[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 *************************************************************/ /* INIT ROUTINES *************************************************************/
BOOLEAN
NTAPI
KdInitSystem(
ULONG Reserved,
PLOADER_PARAMETER_BLOCK LoaderBlock
);
VOID VOID
KdpScreenAcquire(VOID); KdpScreenAcquire(VOID);

View file

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

View file

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