summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Protocol/ShellDynamicCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Protocol/ShellDynamicCommand.h')
-rw-r--r--MdePkg/Include/Protocol/ShellDynamicCommand.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/MdePkg/Include/Protocol/ShellDynamicCommand.h b/MdePkg/Include/Protocol/ShellDynamicCommand.h
index 7ab3104357..f1bb59d700 100644
--- a/MdePkg/Include/Protocol/ShellDynamicCommand.h
+++ b/MdePkg/Include/Protocol/ShellDynamicCommand.h
@@ -19,13 +19,11 @@
0x3c7200e9, 0x005f, 0x4ea4, { 0x87, 0xde, 0xa3, 0xdf, 0xac, 0x8a, 0x27, 0xc3 } \
}
-
//
// Define for forward reference.
//
typedef struct _EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL;
-
/**
This is the shell command handler function pointer callback type. This
function handles the command when it is invoked in the shell.
@@ -41,7 +39,7 @@ typedef struct _EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL EFI_SHELL_DYNAMIC_COMMAND_PRO
**/
typedef
SHELL_STATUS
-(EFIAPI * SHELL_COMMAND_HANDLER)(
+(EFIAPI *SHELL_COMMAND_HANDLER)(
IN EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL *This,
IN EFI_SYSTEM_TABLE *SystemTable,
IN EFI_SHELL_PARAMETERS_PROTOCOL *ShellParameters,
@@ -59,21 +57,19 @@ SHELL_STATUS
@return string Pool allocated help string, must be freed by caller
**/
typedef
-CHAR16*
-(EFIAPI * SHELL_COMMAND_GETHELP)(
+CHAR16 *
+(EFIAPI *SHELL_COMMAND_GETHELP)(
IN EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL *This,
IN CONST CHAR8 *Language
);
/// EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL protocol structure.
struct _EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL {
-
- CONST CHAR16 *CommandName;
- SHELL_COMMAND_HANDLER Handler;
- SHELL_COMMAND_GETHELP GetHelp;
-
+ CONST CHAR16 *CommandName;
+ SHELL_COMMAND_HANDLER Handler;
+ SHELL_COMMAND_GETHELP GetHelp;
};
-extern EFI_GUID gEfiShellDynamicCommandProtocolGuid;
+extern EFI_GUID gEfiShellDynamicCommandProtocolGuid;
#endif