1 | // /**
|
---|
2 | // String definitions for the Variable Policy ("varpolicy") shell command/app.
|
---|
3 | //
|
---|
4 | // Copyright (c) Microsoft Corporation.
|
---|
5 | // SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 | //
|
---|
7 | // **/
|
---|
8 |
|
---|
9 | /=#
|
---|
10 |
|
---|
11 | #langdef en-US "english"
|
---|
12 |
|
---|
13 | // General Strings
|
---|
14 | #string STR_GEN_PROBLEM #language en-US "%H%s%N: Unknown flag - '%H%s%N'\r\n"
|
---|
15 | #string STR_GEN_TOO_MANY #language en-US "%H%s%N: Too many arguments.\r\n"
|
---|
16 | #string STR_GEN_NO_VARS #language en-US "No UEFI variables found!\r\n"
|
---|
17 | #string STR_GEN_LINE_BREAK #language en-US "\r\n"
|
---|
18 |
|
---|
19 | #string STR_GEN_HEX_DUMP_LINE #language en-US "%B%08X%N: %-48a %V*%a*%N\r\n"
|
---|
20 |
|
---|
21 | #string STR_VAR_POL_POLICY_INT_ERR #language en-US "%EInternal Application Error Getting Policy Info!%N\r\n"
|
---|
22 | #string STR_VAR_POL_POLICY_NO_PROT #language en-US "%EVariable Policy Protocol Was Not Found!%N\r\n"
|
---|
23 | #string STR_VAR_POL_POLICY_NOT_INIT #language en-US "%EUEFI Variable Policy is Not Initialized!%N\r\n"
|
---|
24 | #string STR_VAR_POL_POLICY_NOT_FOUND #language en-US "%EVariable Policy Not Found for This Variable!%N\r\n"
|
---|
25 | #string STR_VAR_POL_POLICY_UNEXP_ERR #language en-US "%EUnexpected Error Getting Policy Info!%N - %H%r%N\r\n"
|
---|
26 | #string STR_VAR_POL_POLICY_HEADER_1 #language en-US "+-----------------------------------------------------------------------------+\r\n"
|
---|
27 | #string STR_VAR_POL_POLICY_HEADER_2 #language en-US "| Variable Policy Info |\r\n"
|
---|
28 | #string STR_VAR_POL_POLICY_VERSION #language en-US "| Version: 0x%-8x |\r\n"
|
---|
29 | #string STR_VAR_POL_POLICY_VARIABLE #language en-US "| Variable: % -64s |\r\n"
|
---|
30 | #string STR_VAR_POL_POLICY_NAMESPACE #language en-US "| Namespace: {%g} |\r\n"
|
---|
31 | #string STR_VAR_POL_POLICY_MIN_SIZE #language en-US "| Minimum Size: 0x%-8x |\r\n"
|
---|
32 | #string STR_VAR_POL_POLICY_MAX_SIZE #language en-US "| Maximum Size: 0x%-8x |\r\n"
|
---|
33 | #string STR_VAR_POL_POLICY_ATTR_MUST #language en-US "| Required Attributes: |\r\n"
|
---|
34 | #string STR_VAR_POL_POLICY_ATTR_NOT #language en-US "| Disallowed Attributes: |\r\n"
|
---|
35 | #string STR_VAR_POL_POLICY_ATTR_GEN #language en-US "| %73-.73s |\r\n"
|
---|
36 | #string STR_VAR_POL_POLICY_LOCK_TYPE #language en-US "| Lock Type: % -64s |\r\n"
|
---|
37 | #string STR_VAR_POL_POLICY_STATE_NS #language en-US "| Namespace: {%g} |\r\n"
|
---|
38 | #string STR_VAR_POL_POLICY_STATE_VAL #language en-US "| Value: 0x%-8x |\r\n"
|
---|
39 | #string STR_VAR_POL_POLICY_STATE_NAME #language en-US "| Name: % -64s |\r\n"
|
---|
40 | #string STR_VAR_POL_POLICY_STATS_PASS #language en-US " %V%d/%d UEFI variables have policy%N\r\n"
|
---|
41 | #string STR_VAR_POL_POLICY_STATS_FAIL #language en-US " %E%d/%d UEFI variables have policy%N\r\n"
|
---|
42 |
|
---|
43 | #string STR_VAR_POL_VAR_TYPE #language en-US "%H% -70s%N\r\n"
|
---|
44 | #string STR_VAR_POL_VAR_NAME #language en-US "Name: % -70s\r\n"
|
---|
45 | #string STR_VAR_POL_VAR_SIZE #language en-US "Size: 0x%-16x (%-,d) bytes\r\n"
|
---|
46 | #string STR_VAR_POL_VAR_ATTR #language en-US "Attributes: % -60s\r\n"
|
---|
47 |
|
---|
48 | #string STR_VAR_POL_STATS_HEADER_1 #language en-US "+----------------------------------------------------------------+\r\n"
|
---|
49 | #string STR_VAR_POL_STATS_HEADER_2 #language en-US "| UEFI Variable Statistics |\r\n"
|
---|
50 | #string STR_VAR_POL_STATS_TOTAL_VARS #language en-US " Total UEFI Variables: %,d\r\n"
|
---|
51 | #string STR_VAR_POL_STATS_TOTAL_SIZE #language en-US " Total UEFI Variable Size: 0x%x (%,d) bytes\r\n"
|
---|
52 |
|
---|
53 | #string STR_GET_HELP_VAR_POLICY #language en-US ""
|
---|
54 | ".TH varpolicy 0 "Lists UEFI variable policy information."\r\n"
|
---|
55 | ".SH NAME\r\n"
|
---|
56 | "Lists UEFI variable policy information.\r\n"
|
---|
57 | ".SH SYNOPSIS\r\n"
|
---|
58 | " \r\n"
|
---|
59 | "VARPOLICY [-p] [-s] [-v]\r\n"
|
---|
60 | ".SH OPTIONS\r\n"
|
---|
61 | " \r\n"
|
---|
62 | " -p - The policy flag will print variable policy info for each variable.\r\n"
|
---|
63 | " \r\n"
|
---|
64 | " -s - The stats flag will print overall UEFI variable policy statistics.\r\n"
|
---|
65 | " \r\n"
|
---|
66 | " -v - The verbose flag indicates all known information should be printed.\r\n"
|
---|
67 | " \r\n"
|
---|
68 | " This includes a dump of the corresponding UEFI variable data in\r\n"
|
---|
69 | " addition to all other UEFI variable policy information.\r\n"
|
---|
70 | ".SH DESCRIPTION\r\n"
|
---|
71 | " \r\n"
|
---|
72 | ".SH EXAMPLES\r\n"
|
---|
73 | " \r\n"
|
---|
74 | "EXAMPLES:\r\n"
|
---|
75 | " * To dump all active UEFI variables:\r\n"
|
---|
76 | " fs0:\> varpolicy\r\n"
|
---|
77 | "\r\n"
|
---|
78 | " * To include UEFI variable policy information:\r\n"
|
---|
79 | " fs0:\> varpolicy -p\r\n"
|
---|
80 | "\r\n"
|
---|
81 | " * To include UEFI variable statistics:\r\n"
|
---|
82 | " fs0:\> varpolicy -s\r\n"
|
---|
83 | "\r\n"
|
---|
84 | " * To include a hexadecimal dump of data for each variable\r\n"
|
---|
85 | " and all other variable information:\r\n"
|
---|
86 | " fs0:\> varpolicy -v\r\n"
|
---|