mirror of https://github.com/tongzx/nt5src
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
42 lines
516 B
|
|
/*++
|
|
|
|
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";
|
|
}
|