]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.uni
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / UefiShellDebug1CommandsLib.uni
index 197406033f373c0a1423c8ce48ac3d473f2b1a62..b1d239ed37ea31c15d08935af73de0eabe5b02cf 100644 (file)
@@ -1,14 +1,9 @@
 // /**\r
 //\r
+// Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r
 // (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>\r
-// Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
-// 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
-//\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
+// (C) Copyright 2016 - 2019 Hewlett Packard Enterprise Development LP<BR>\r
+// SPDX-License-Identifier: BSD-2-Clause-Patent\r
 //\r
 // Module Name:\r
 //\r
@@ -31,6 +26,7 @@
 \r
 #string STR_GEN_PROBLEM           #language en-US "%H%s%N: Unknown flag - '%H%s%N'\r\n"\r
 #string STR_GEN_PROBLEM_VAL       #language en-US "%H%s%N: Bad value - '%H%s%N' for flag - '%H%s%N'\r\n"\r
+#string STR_GEN_DUPLICATE         #language en-US "%H%s%N: Duplicate flag - '%H%s%N'\r\n"\r
 #string STR_GEN_NO_VALUE          #language en-US "%H%s%N: Missing argument for flag - '%H%s%N'\r\n"\r
 #string STR_GEN_TOO_FEW           #language en-US "%H%s%N: Too few arguments.\r\n"\r
 #string STR_GEN_TOO_MANY          #language en-US "%H%s%N: Too many arguments.\r\n"\r
@@ -38,7 +34,7 @@
 #string STR_GEN_PCIRBIO_NF        #language en-US "%H%s%N: Protocol - PciRootBridgeIo not found.\r\n"\r
 #string STR_GEN_PCIRBIO_ER        #language en-US "%H%s%N: Problem accessing the data using Protocol - PciRootBridgeIo\r\n"\r
 #string STR_GEN_PARAM_INV         #language en-US "%H%s%N: Invalid argument - '%H%s%N'\r\n"\r
-#string STR_GEN_PARAM_INV_HEX     #language en-US "%H%s%N: Invalid parameter - '%H%s%N:'.  Must be hexadecimal.\r\n"\r
+#string STR_GEN_PARAM_INV_HEX     #language en-US "%H%s%N: Invalid parameter - '%H%s%N'. Must be hexadecimal.\r\n"\r
 #string STR_GEN_PARAM_CONFLICT    #language en-US "%H%s%N: Flags conflict with - '%H%s%N' and '%H%s%N'\r\n"\r
 #string STR_GEN_OUT_MEM           #language en-US "%H%s%N: Memory allocation was not successful.\r\n"\r
 #string STR_GEN_MAP_PROTOCOL      #language en-US "%H%s%N: Mapped device '%B%s%N' does not have protocol %B%s%N\r\n"\r
 #string STR_DBLK_HEADER           #language en-US "LBA %016LX Size %08x bytes BlkIo %0x\r\n"\r
 \r
 #string STR_COMP_HEADER           #language en-US "Compare %s to %s.\r\n"\r
-#string STR_COMP_SIZE_FAIL        #language en-US "Difference # 1: File size mismatch.\r\n"\r
-#string STR_COMP_SPOT_FAIL1       #language en-US ""\r
-                                                  "Difference #% 2d:\r\n"\r
-                                                  "File1: %s\r\n"\r
-                                                  "  %08x: %02x                               *%c*\r\n"\r
-                                                  "File2: %s\r\n"\r
-                                                  "  %08x: %02x                               *%c*\r\n"\r
-#string STR_COMP_SPOT_FAIL2       #language en-US ""\r
-                                                  "Difference #% 2d:\r\n"\r
-                                                  "File1: %s\r\n"\r
-                                                  "  %08x: %02x %02x                            *%c%c*\r\n"\r
-                                                  "File2: %s\r\n"\r
-                                                  "  %08x: %02x %02x                            *%c%c*\r\n"\r
-#string STR_COMP_SPOT_FAIL3       #language en-US ""\r
-                                                  "Difference #% 2d:\r\n"\r
-                                                  "File1: %s\r\n"\r
-                                                  "  %08x: %02x %02x %02x                         *%c%c%c*\r\n"\r
-                                                  "File2: %s\r\n"\r
-                                                  "  %08x: %02x %02x %02x                         *%c%c%c*\r\n"\r
-#string STR_COMP_SPOT_FAIL4       #language en-US ""\r
-                                                  "Difference #% 2d:\r\n"\r
-                                                  "File1: %s\r\n"\r
-                                                  "  %08x: %02x %02x %02x %02x                      *%c%c%c%c*\r\n"\r
-                                                  "File2: %s\r\n"\r
-                                                  "  %08x: %02x %02x %02x %02x                      *%c%c%c%c*\r\n"\r
+#string STR_COMP_DIFFERENCE_POINT #language en-US "Difference #% 2u:\r\n"\r
+#string STR_COMP_END_OF_FILE      #language en-US " <EOF>"\r
 \r
 #string STR_COMP_FOOTER_FAIL      #language en-US "[difference(s) encountered] \r\n"\r
 #string STR_COMP_FOOTER_PASS      #language en-US "[no differences encountered]\r\n"\r
 #string STR_MEMMAP_GET_FAILED     #language en-US "%H%s%N: Unable to get memory map\r\n"\r
 #string STR_MEMMAP_LIST_HEAD      #language en-US "Type       Start            End              # Pages          Attributes\r\n"\r
 #string STR_MEMMAP_LIST_ITEM      #language en-US "% -10s %016LX-%016LX %016LX %016LX\r\n"\r
+#string STR_MEMMAP_LIST_ITEM_OTHER #language en-US "%08x   %016LX-%016LX %016LX %016LX\r\n"\r
 #string STR_MEMMAP_LIST_SUMM      #language en-US " \r\n"\r
                                                   "  Reserved  : %,14ld Pages (%,ld Bytes)\r\n"\r
                                                   "  LoaderCode: %,14ld Pages (%,ld Bytes)\r\n"\r
                                                   "  MMIO      : %,14ld Pages (%,ld Bytes)\r\n"\r
                                                   "  MMIO_Port : %,14ld Pages (%,ld Bytes)\r\n"\r
                                                   "  PalCode   : %,14ld Pages (%,ld Bytes)\r\n"\r
+                                                  "  Unaccepted: %,14ld Pages (%,ld Bytes)\r\n"\r
                                                   "  Available : %,14ld Pages (%,ld Bytes)\r\n"\r
-                                                  "              -------------- \r\n"\r
+                                                  "  Persistent: %,14ld Pages (%,ld Bytes)\r\n"\r
+#string STR_MEMMAP_LIST_SUMM_OTHER #language en-US    "  %08x  : %,14ld Pages (%,ld Bytes)\r\n"\r
+#string STR_MEMMAP_LIST_SUMM2     #language en-US "              -------------- \r\n"\r
                                                   "Total Memory: %,14ld MB (%,ld Bytes)\r\n"\r
 #string STR_MEMMAP_LIST_ITEM_SFO  #language en-US "MemoryMap,"%s","%LX","%LX","%LX","%LX"\r\n"\r
-#string STR_MEMMAP_LIST_SUMM_SFO  #language en-US "MemoryMapSummary,"%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld"\r\n"\r
+#string STR_MEMMAP_LIST_SUMM_SFO  #language en-US "MemoryMapSummary,"%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld","%Ld", "%Ld"\r\n"\r
 \r
 #string STR_EFI_COMPRESS_FAIL     #language en-US "Unable to compress: %r.\r\n"\r
 #string STR_EFI_DECOMPRESS_FAIL   #language en-US "Unable to decompress: %r.\r\n"\r
 #string STR_LOADPCIROM_START_FAIL #language en-US "%H%s%N: File '%B%s%N' Image %d unable to start.\r\n"\r
 \r
 #string STR_MM_NOT_ALIGNED        #language en-US "%H%s%N: Address parameter %016LX is not aligned.\r\n"\r
-#string STR_MM_SEGMENT_NOT_FOUND  #language en-US "%H%s%N: Segment %d not found.\r\n"\r
-#string STR_MM_ADDRESS_RANGE      #language en-US "%H%s%N: IO address out of range 0 - 0xFFFF\r\n"\r
+#string STR_MM_PCIE_ADDRESS_RANGE #language en-US "%H%s%N: Address parameter %016LX is not a valid PCI/PCIE address.\r\n"\r
 #string STR_MM_MMIO               #language en-US "%HMMIO%N"\r
 #string STR_MM_IO                 #language en-US "%HIO%N"\r
 #string STR_MM_PCI                #language en-US "%HPCI%N"\r
 #string STR_MM_MEM                #language en-US "%HMEM%N"\r
 #string STR_MM_PCIE               #language en-US "%HPCIE%N"\r
 #string STR_MM_ADDRESS            #language en-US "  0x%016lx : "\r
-#string STR_MM_BUF2               #language en-US "0x%02x"\r
-#string STR_MM_BUF4               #language en-US "0x%04x"\r
-#string STR_MM_BUF8               #language en-US "0x%08x"\r
-#string STR_MM_BUF16              #language en-US "0x%016lx"\r
-#string STR_MM_ADDRESS_RANGE2     #language en-US "%H%s%N: IO address out of range\r\n"\r
+#string STR_MM_BUF                #language en-US "0x%0*lx"\r
 #string STR_MM_ERROR              #language en-US "%H%s%N: Input had incorrect format\r\n"\r
-#string STR_MM_READ_ERROR         #language en-US "%H%s%N: Unable to read memory.\r\n"\r
 \r
 #string STR_SETVAR_PRINT          #language en-US "%g - %s - %04x Bytes\r\n"\r
 #string STR_SETVAR_ERROR_SET      #language en-US "%H%s%N: Unable to set - %H%g%N - %H%s%N\r\n"\r
                                                        "    CorrectableErrorStatus         %08x\r\n"\r
                                                        "    CorrectableErrorMask           %08x\r\n"\r
                                                        "    AdvancedErrorCapAndControl     %08x\r\n"\r
-                                                       "    HeaderLog                      %08x\r\n"\r
+                                                       "    HeaderLog1                     %08x\r\n"\r
+                                                       "    HeaderLog2                     %08x\r\n"\r
+                                                       "    HeaderLog3                     %08x\r\n"\r
+                                                       "    HeaderLog4                     %08x\r\n"\r
                                                        "    RootErrorCommand               %08x\r\n"\r
                                                        "    RootErrorStatus                %08x\r\n"\r
                                                        "    ErrorSourceIdentification      %04x\r\n"\r
 #string STR_DMPSTORE_LOAD_GEN_FAIL     #language en-US "%H%s%N: Failed to set variable %H%s%N: %r.\r\n"\r
 #string STR_DMPSTORE_LOAD_BAD_FILE     #language en-US "%H%s%N: Incorrect file format.\r\n"\r
 #string STR_DMPSTORE_HEADER_LINE       #language en-US "Variable %H%s%N '%H%g%N:%H%s%N' DataSize = 0x%02x\r\n"\r
+#string STR_DMPSTORE_HEADER_LINE2      #language en-US "Variable %H%s%N '%H%s%N:%H%s%N' DataSize = 0x%02x\r\n"\r
 #string STR_DMPSTORE_DELETE_LINE       #language en-US "Delete variable '%H%g%N:%H%s%N': %r\r\n"\r
 #string STR_DMPSTORE_NO_VAR_FOUND      #language en-US "%H%s%N: No matching variables found.\r\n"\r
+#string STR_DMPSTORE_NO_VAR_FOUND_SFO  #language en-US "VariableInfo,\"\",\"\",\"\",\"\",\"\"\r\n"\r
 #string STR_DMPSTORE_NO_VAR_FOUND_GN   #language en-US "%H%s%N: No matching variables found. Guid %g, Name %s\r\n"\r
+#string STR_DMPSTORE_NO_VAR_FOUND_NG_SFO #language en-US "VariableInfo,\"%s\",\"%g\",\"\",\"\",\"\"\r\n"\r
 #string STR_DMPSTORE_NO_VAR_FOUND_N    #language en-US "%H%s%N: No matching variables found. Name %s\r\n"\r
+#string STR_DMPSTORE_NO_VAR_FOUND_N_SFO #language en-US #language en-US "VariableInfo,\"%s\",\"\",\"\",\"\",\"\"\r\n"\r
 #string STR_DMPSTORE_NO_VAR_FOUND_G    #language en-US "%H%s%N: No matching variables found. Guid %g\r\n"\r
+#string STR_DMPSTORE_NO_VAR_FOUND_G_SFO #language en-US "VariableInfo,\"\",\"%g\",\"\",\"\",\"\"\r\n"\r
+#string STR_DMPSTORE_VAR_SFO           #language en-US "VariableInfo,\"%s\",\"%g\",\"0x%x\",\"0x%x\",\"%s\"\r\n"\r
 \r
 #string STR_GET_HELP_COMP         #language en-US ""\r
 ".TH comp 0 "Compare 2 files"\r\n"\r
 "Displays or modifies MEM/MMIO/IO/PCI/PCIE address space.\r\n"\r
 ".SH SYNOPSIS\r\n"\r
 " \r\n"\r
-"MM Address [Value] [-w 1|2|4|8] [-MEM | -MMIO [[Seg] Bus] | -IO [[Seg] Bus] |\r\n"\r
-"                                 -PCI | -PCIE] [-n]\r\n"\r
+"MM Address [Value] [-w 1|2|4|8] [-MEM | -MMIO | -IO | -PCI | -PCIE] [-n]\r\n"\r
 ".SH OPTIONS\r\n"\r
 " \r\n"\r
+"  Address - Starting address in hexadecimal format.\r\n"\r
+"  Value   - The value to write in hexadecimal format.\r\n"\r
 "  -MEM    - Memory Address type\r\n"\r
 "  -MMIO   - Memory Mapped IO Address type\r\n"\r
 "  -IO     - IO Address type\r\n"\r
 "  -PCI    - PCI Configuration Space Address type:\r\n"\r
-"            Address format: 0x000000ssbbddffrr\r\n"\r
-"              ss   - Segment\r\n"\r
+"            Address format: ssssbbddffrr\r\n"\r
+"              ssss - Segment\r\n"\r
 "              bb   - Bus\r\n"\r
 "              dd   - Device\r\n"\r
 "              ff   - Function\r\n"\r
 "              rr   - Register\r\n"\r
 "  -PCIE   - PCIE Configuration Space Address type:\r\n"\r
-"            Address format: 0x00000ssbbddffrrr\r\n"\r
-"              ss   - Segment\r\n"\r
+"            Address format: ssssbbddffrrr\r\n"\r
+"              ssss - Segment\r\n"\r
 "              bb   - Bus\r\n"\r
 "              dd   - Device\r\n"\r
 "              ff   - Function\r\n"\r
 "              4    - 4 bytes\r\n"\r
 "              8    - 8 bytes\r\n"\r
 "  -n      - Non-interactive mode\r\n"\r
-"  Address - Specifies a starting address.\r\n"\r
-"  Value   - Specifies the value to write.\r\n"\r
-"  Seg     - Specifies the segment number of the PCI root bridge for -MMIO and -IO address types.\r\n"\r
-"  Bus     - Specifies the bus number of the PCI root bridge for -MMIO and -IO address types.\r\n"\r
 ".SH DESCRIPTION\r\n"\r
 " \r\n"\r
 "NOTES:\r\n"\r
 "      follow the PCI Configuration Space Address format above. The 'PCI'\r\n"\r
 "      command can be used to determine the address for a specified device.\r\n"\r
 "      It is listed in the PCI configuration space dump information in the\r\n"\r
-"      following format: "[EFI 0x000000ssbbddffxx]".\r\n"\r
+"      following format: "[EFI ssbbddffxx]".\r\n"\r
 "  5.  If the PCIE address type is specified, the 'Address' parameter must\r\n"\r
 "      follow the PCIE Configuration Space Address format above.\r\n"\r
 "  6.  In interactive mode, type a hex value to modify, 'q' or '.' to exit.\r\n"\r
 "      specified width.\r\n"\r
 "  10. Not all addresses are safe to access. Access to any improper address\r\n"\r
 "      can bring unexpected results.\r\n"\r
-"  11. If no Bus or Segment is specified, the first root bridge found is used.\r\n"\r
-"  12. If only one parameter is specified after -MMIO or -IO, the Bus parameter is assumed\r\n"\r
-"      and Segment defaults to 0.\r\n"\r
 ".SH EXAMPLES\r\n"\r
 " \r\n"\r
 "EXAMPLES:\r\n"\r
 "    IO  0x0000000000000086 : 0xFF >\r\n"\r
 "    IO  0x0000000000000087 : 0x00 > q\r\n"\r
 " \r\n"\r
-"  * To display PCI configuration space, ss=00, bb=00, dd=00, ff=00, rr=00:\r\n"\r
-"    Shell> mm 0000000000 -PCI\r\n"\r
+"  * To display PCI configuration space, ss=0000, bb=00, dd=00, ff=00, rr=00:\r\n"\r
+"    Shell> mm 000000000000 -PCI\r\n"\r
 "    PCI  0x0000000000000000 : 0x86 >\r\n"\r
 "    PCI  0x0000000000000001 : 0x80 >\r\n"\r
 "    PCI  0x0000000000000002 : 0x30 >\r\n"\r
 "    PCI  0x0000000000000005 : 0x00 > q\r\n"\r
 "    These contents can also be displayed by 'PCI 00 00 00'.\r\n"\r
 " \r\n"\r
-"  * To display PCIE configuration space, ss=00, bb=06, dd=00, ff=00, rrr=000:\r\n"\r
-"    Shell> mm 00060000000 -PCIE\r\n"\r
+"  * To display PCIE configuration space, ss=0000, bb=06, dd=00, ff=00, rrr=000:\r\n"\r
+"    Shell> mm 0000060000000 -PCIE\r\n"\r
 "    PCIE  0x0000000060000000 : 0xAB >\r\n"\r
 "    PCIE  0x0000000060000001 : 0x11 >\r\n"\r
 "    PCIE  0x0000000060000002 : 0x61 >\r\n"\r
 "  3. If = is not specified, then the current variable contents are displayed.\r\n"\r
 "  4. If =data is specified, then the variable's value is changed to the value\r\n"\r
 "     specified by data.\r\n"\r
-"  5. -bs, -rt and -nv are only useful if the variable already exists.\r\n"\r
-"  6. If the variable already exists and the attributes cannot be changed,\r\n"\r
-"     then -1 is returned. \r\n"\r
+"  5. -bs, -rt and -nv are only useful if the variable does not exist.\r\n"\r
+"  6. If the variable already exists, the attributes cannot be changed, and the"\r
+"     flags will be ignored.\r\n"\r
 ".SH RETURNVALUES\r\n"\r
 " \r\n"\r
 "RETURN VALUES:\r\n"\r
 #string STR_GET_HELP_PCI          #language en-US ""\r
 ".TH pci 0 "Displays PCI device information."\r\n"\r
 ".SH NAME\r\n"\r
-"Displays a PCI device list or PCI function configuration space of a device.\r\n"\r
+"Displays PCI device list or PCI function configuration space and PCIe extended\r\n"\r
+"configuration space.\r\n"\r
 ".SH SYNOPSIS\r\n"\r
 " \r\n"\r
-"PCI [Bus Dev [Func] [-s Seg] [-i]]\r\n"\r
+"PCI [Bus Dev [Func] [-s Seg] [-i [-ec ID]]]\r\n"\r
 ".SH OPTIONS\r\n"\r
 " \r\n"\r
-"  -s   - Specifies optional segment number.\r\n"\r
+"  -s   - Specifies optional segment number (hexadecimal number).\r\n"\r
 "  -i   - Displays interpreted information.\r\n"\r
-"  Bus  - Specifies a bus number.\r\n"\r
-"  Dev  - Specifies a device number.\r\n"\r
-"  Func - Specifies a function number.\r\n"\r
+"  -ec  - Displays detailed interpretation of specified PCIe extended capability\r\n"\r
+"         ID (hexadecimal number).\r\n"\r
+"  Bus  - Specifies a bus number (hexadecimal number).\r\n"\r
+"  Dev  - Specifies a device number (hexadecimal number).\r\n"\r
+"  Func - Specifies a function number (hexadecimal number).\r\n"\r
 ".SH DESCRIPTION\r\n"\r
 " \r\n"\r
 "NOTES:\r\n"\r
 "       40 - Additional Information\r\n"\r
 "       41 - Onboard Devices Extended Information\r\n"\r
 "       42 - Management Controller Host Interface\r\n"\r
+"       43 - TPM Device\r\n"\r
+"       44 - Processor Additional Information\r\n"\r
 "  2. Enter the SmbiosHandle parameter in hexadecimal format.\r\n"\r
 "     Do not use the '0x' prefix format for hexadecimal values.\r\n"\r
 "  3. Internal commands:\r\n"\r
 "Manages all UEFI variables.\r\n"\r
 ".SH SYNOPSIS\r\n"\r
 " \r\n"\r
-"DMPSTORE [-b] [-d] [-all | ([variable] [-guid guid])]\r\n"\r
+"DMPSTORE [-b] [-d] [-all | ([variable] [-guid guid])] [-sfo]\r\n"\r
 "DMPSTORE [-all | ([variable] [-guid guid])] [-s file]\r\n"\r
 "DMPSTORE [-all | ([variable] [-guid guid])] [-l file]\r\n"\r
 ".SH OPTIONS\r\n"\r
 "  -guid    - Specifies the GUID of the variables to be displayed in\r\n"\r
 "             standard text format. If not specified and -all is not\r\n"\r
 "             specified, the EFI_GLOBAL_VARIABLE GUID is assumed.\r\n"\r
+"  -sfo     - Displays information as described in Standard-Format Output.\r\n"\r
 "  -all     - Dumps all variables, including those\r\n"\r
 "             with a different GUID than EFI_GLOBAL_VARIABLE.\r\n"\r
 "  -d       - Delete variables.\r\n"\r
 "  2. The variable value is printed as a hexadecimal dump.\r\n"\r
 "  3. Option -d is used to delete variables. Option -s and -l are used to save\r\n"\r
 "     and load variables to and from a file. The variable name can be specified\r\n"\r
-"     when using these flags so that the operation only takes effect on\r\n" \r
+"     when using these flags so that the operation only takes effect on\r\n"\r
 "     that variable.\r\n"\r
 ".SH EXAMPLES\r\n"\r
 " \r\n"\r