]>
Commit | Line | Data |
---|---|---|
2632178b AB |
1 | // /**\r |
2 | //\r | |
3 | // Copyright (c) 2020, Arm, Ltd. All rights reserved.<BR>\r | |
4 | // SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
5 | //\r | |
6 | // Module Name:\r | |
7 | //\r | |
8 | // LinuxInitrdDynamicShellCommand.uni\r | |
9 | //\r | |
10 | // Abstract:\r | |
11 | //\r | |
12 | // String definitions for 'initrd' UEFI Shell command\r | |
13 | //\r | |
14 | // **/\r | |
15 | \r | |
16 | /=#\r | |
17 | \r | |
18 | #langdef en-US "english"\r | |
19 | \r | |
20 | #string STR_GEN_PROBLEM #language en-US "%H%s%N: Unknown flag - '%H%s%N'\r\n"\r | |
ecb30848 | 21 | #string STR_GEN_ALREADY_INSTALLED #language en-US "%H%s%N: Linux initrd already provided by platform\r\n"\r |
2632178b AB |
22 | #string STR_GEN_TOO_MANY #language en-US "%H%s%N: Too many arguments.\r\n"\r |
23 | #string STR_GEN_TOO_FEW #language en-US "%H%s%N: Too few arguments.\r\n"\r | |
24 | #string STR_GEN_FIND_FAIL #language en-US "%H%s%N: File not found - '%H%s%N'\r\n"\r | |
25 | #string STR_GEN_FILE_OPEN_FAIL #language en-US "%H%s%N: Cannot open file - '%H%s%N'\r\n"\r | |
26 | \r | |
27 | #string STR_GET_HELP_INITRD #language en-US ""\r | |
28 | ".TH initrd 0 "Registers or unregisters a file as Linux initrd."\r\n"\r | |
29 | ".SH NAME\r\n"\r | |
30 | "Registers or unregisters a file as Linux initrd.\r\n"\r | |
31 | ".SH SYNOPSIS\r\n"\r | |
32 | " \r\n"\r | |
33 | "initrd <FileName>\r\n"\r | |
34 | "initrd -u\r\n"\r | |
35 | ".SH OPTIONS\r\n"\r | |
36 | " \r\n"\r | |
37 | " FileName - Specifies a file to register as initrd.\r\n"\r | |
38 | " -u - Unregisters any previously registered initrd files.\r\n"\r | |
39 | ".SH DESCRIPTION\r\n"\r | |
40 | " \r\n"\r | |
41 | "NOTES:\r\n"\r | |
42 | " 1. Only a single file can be loaded as initrd at any given time. Using the\r\n"\r | |
43 | " command twice with a <FileName> option will result in the first file to\r\n"\r | |
44 | " be unloaded again, regardless of whether the second invocation succeeded\r\n"\r | |
45 | " or not.\r\n"\r | |
46 | " 2. The initrd is not unloaded when the shell exits, and will remain active\r\n"\r | |
47 | " until it is unloaded again by a different invocation of the shell.\r\n"\r | |
48 | " Consumers of the LoadFile2 protocol on the LINUX_EFI_INITRD_MEDIA_GUID\r\n"\r | |
49 | " device path that are started via means other than the shell will be able\r\n"\r | |
50 | " to locate the protocol and invoke it.\r\n"\r | |
ecb30848 AB |
51 | " 3. Exposing an initrd using this command is only supported if no initrd is\r\n"\r |
52 | " already being exposed by another driver on the platform.\r\n"\r |