// /**\r
//\r
+// Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
// (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>\r
-// Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r
+// (C) Copyright 2016 Hewlett Packard Enterprise Development LP<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
\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
#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_Port : %,14ld Pages (%,ld Bytes)\r\n"\r
" PalCode : %,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"\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
" 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_HEADER_LINE #language en-US "Variable %H%s%N '%H%g%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
"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 - Specifies a starting address.\r\n"\r
-" Value - Specifies the value to write.\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
" 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
" 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
" 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