Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
516 B

  1. /*++
  2. Copyright (c) 1998 Intel Corporation
  3. Module Name:
  4. init.c
  5. Abstract:
  6. Intialize the shell library
  7. Revision History
  8. --*/
  9. #include "shelllib.h"
  10. EFI_STATUS
  11. ShellExecute (
  12. IN EFI_HANDLE ImageHandle,
  13. IN CHAR16 *CmdLine,
  14. IN BOOLEAN Output
  15. )
  16. {
  17. return SE->Execute (ImageHandle, CmdLine, Output);
  18. }
  19. CHAR16 *
  20. MemoryTypeStr (
  21. IN EFI_MEMORY_TYPE Type
  22. )
  23. {
  24. return Type < EfiMaxMemoryType ? ShellLibMemoryTypeDesc[Type] : L"Unkown-Desc-Type";
  25. }