windows-nt/Source/XPSP1/NT/base/efiutil/sdk/shell/lib/misc.c
2020-09-26 16:20:57 +08:00

43 lines
516 B
C

/*++
Copyright (c) 1998 Intel Corporation
Module Name:
init.c
Abstract:
Intialize the shell library
Revision History
--*/
#include "shelllib.h"
EFI_STATUS
ShellExecute (
IN EFI_HANDLE ImageHandle,
IN CHAR16 *CmdLine,
IN BOOLEAN Output
)
{
return SE->Execute (ImageHandle, CmdLine, Output);
}
CHAR16 *
MemoryTypeStr (
IN EFI_MEMORY_TYPE Type
)
{
return Type < EfiMaxMemoryType ? ShellLibMemoryTypeDesc[Type] : L"Unkown-Desc-Type";
}