From 96e02f40077c5107bd40d807ade144db3c7e7ea8 Mon Sep 17 00:00:00 2001 From: vit9696 Date: Mon, 2 Sep 2019 02:50:16 +0300 Subject: [PATCH] OcDebugLogLib: Update WaitForIndex contract --- Include/Library/OcDebugLogLib.h | 6 +++--- Library/OcDebugLogLib/DebugHelp.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Include/Library/OcDebugLogLib.h b/Include/Library/OcDebugLogLib.h index bfc52cd5..b240bfd8 100644 --- a/Include/Library/OcDebugLogLib.h +++ b/Include/Library/OcDebugLogLib.h @@ -108,13 +108,13 @@ WaitForKeyPress ( /** Obtains key index from user input. - @param TimeOutSeconds Timeout to wait for. + @param[in] Time Timeout to wait for. - @returns key index [0, OC_INPUT_MAX), OC_INPUT_ABORTED, or OC_INPUT_INVALID. + @returns key index [0, OC_INPUT_MAX), OC_INPUT_ABORTED, or OC_INPUT_INVALID, OC_INPUT_MAX. **/ INTN WaitForKeyIndex ( - UINTN TimeOutSeconds + IN UINTN Timeout ); /** diff --git a/Library/OcDebugLogLib/DebugHelp.c b/Library/OcDebugLogLib/DebugHelp.c index b66738b4..7ad2b488 100644 --- a/Library/OcDebugLogLib/DebugHelp.c +++ b/Library/OcDebugLogLib/DebugHelp.c @@ -66,7 +66,7 @@ WaitForKeyPress ( INTN WaitForKeyIndex ( - UINTN Timeout + IN UINTN Timeout ) { EFI_STATUS Status;