]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCommand.c
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Universal / EbcDxe / EbcDebugger / EdbCommand.c
index b72e2bf5ae71be6296c925e60a9e898f02a907ca..fb85b3057893494200f8ce636f854f93574ea496 100644 (file)
@@ -1,22 +1,10 @@
-/*++\r
+/** @file\r
 \r
-Copyright (c) 2007, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
+Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
-Module Name:\r
-\r
-  EdbCommand.c\r
-\r
-Abstract:\r
-\r
-\r
---*/\r
+**/\r
 \r
 #include "Edb.h"\r
 \r
@@ -578,28 +566,22 @@ EFI_DEBUGGER_COMMAND_SET  mDebuggerCommandSet[] = {
   },\r
 };\r
 \r
+/**\r
+\r
+  Find the command according to name.\r
+\r
+  @param  CommandName   - Command Name\r
+  @param  CommandArg    - Command Argument\r
+\r
+  @return Not NULL        - The DebuggerCommand is found successfully\r
+  @return NULL            - not found\r
+\r
+**/\r
 EFI_DEBUGGER_COMMAND\r
 MatchDebuggerCommand (\r
   IN CHAR16    *CommandName,\r
   IN CHAR16    **CommandArg\r
   )\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  Find the command according to name\r
-\r
-Arguments:\r
-\r
-  CommandName   - Command Name\r
-  CommandArg    - Command Argument\r
-\r
-Returns:\r
-\r
-  Not NULL        - The DebuggerCommand is found successfully\r
-  NULL            - not found\r
-\r
---*/\r
 {\r
   UINTN  Index;\r
   CHAR16 *Temp;\r
@@ -637,26 +619,20 @@ Returns:
   return NULL;\r
 }\r
 \r
-CHAR16 *\r
-GetCommandNameByKey (\r
-  IN EFI_INPUT_KEY CommandKey\r
-  )\r
-/*++\r
-\r
-Routine Description:\r
+/**\r
 \r
-  Find the command name according to the function key\r
+  Find the command name according to the function key.\r
 \r
-Arguments:\r
+  @param  CommandKey    - Command Function Key\r
 \r
-  CommandKey    - Command Function Key\r
+  @return Not NULL        - The DebuggerName is found successfully\r
+  @return NULL            - not found\r
 \r
-Returns:\r
-\r
-  Not NULL        - The DebuggerName is found successfully\r
-  NULL            - not found\r
-\r
---*/\r
+**/\r
+CHAR16 *\r
+GetCommandNameByKey (\r
+  IN EFI_INPUT_KEY CommandKey\r
+  )\r
 {\r
   UINTN  Index;\r
 \r