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