LinuxInitrdDynamicShellCommand.uni 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. #langdef en-US "english"
  17. #string STR_GEN_PROBLEM #language en-US "%H%s%N: Unknown flag - '%H%s%N'\r\n"
  18. #string STR_GEN_ALREADY_INSTALLED #language en-US "%H%s%N: Linux initrd already provided by platform\r\n"
  19. #string STR_GEN_TOO_MANY #language en-US "%H%s%N: Too many arguments.\r\n"
  20. #string STR_GEN_TOO_FEW #language en-US "%H%s%N: Too few arguments.\r\n"
  21. #string STR_GEN_FIND_FAIL #language en-US "%H%s%N: File not found - '%H%s%N'\r\n"
  22. #string STR_GEN_FILE_OPEN_FAIL #language en-US "%H%s%N: Cannot open file - '%H%s%N'\r\n"
  23. #string STR_GET_HELP_INITRD #language en-US ""
  24. ".TH initrd 0 "Registers or unregisters a file as Linux initrd."\r\n"
  25. ".SH NAME\r\n"
  26. "Registers or unregisters a file as Linux initrd.\r\n"
  27. ".SH SYNOPSIS\r\n"
  28. " \r\n"
  29. "initrd <FileName>\r\n"
  30. "initrd -u\r\n"
  31. ".SH OPTIONS\r\n"
  32. " \r\n"
  33. " FileName - Specifies a file to register as initrd.\r\n"
  34. " -u - Unregisters any previously registered initrd files.\r\n"
  35. ".SH DESCRIPTION\r\n"
  36. " \r\n"
  37. "NOTES:\r\n"
  38. " 1. Only a single file can be loaded as initrd at any given time. Using the\r\n"
  39. " command twice with a <FileName> option will result in the first file to\r\n"
  40. " be unloaded again, regardless of whether the second invocation succeeded\r\n"
  41. " or not.\r\n"
  42. " 2. The initrd is not unloaded when the shell exits, and will remain active\r\n"
  43. " until it is unloaded again by a different invocation of the shell.\r\n"
  44. " Consumers of the LoadFile2 protocol on the LINUX_EFI_INITRD_MEDIA_GUID\r\n"
  45. " device path that are started via means other than the shell will be able\r\n"
  46. " to locate the protocol and invoke it.\r\n"
  47. " 3. Exposing an initrd using this command is only supported if no initrd is\r\n"
  48. " already being exposed by another driver on the platform.\r\n"