mirror of https://github.com/acidanthera/audk.git
Fix build failure of ShellPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9479 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8f8bfa5b85
commit
77882e266e
|
@ -48,15 +48,15 @@ UefiMain (
|
||||||
EFI_FILE_HANDLE FileHandle;
|
EFI_FILE_HANDLE FileHandle;
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
CHAR16 FileName[100];
|
CHAR16 FileName[100];
|
||||||
// UINTN BufferSize;
|
UINTN BufferSize;
|
||||||
// UINT64 Position;
|
UINT64 Position;
|
||||||
// UINT8 Buffer[200];
|
UINT8 Buffer[200];
|
||||||
EFI_FILE_INFO *pFileInfo;
|
EFI_FILE_INFO *pFileInfo;
|
||||||
UINT64 Size;
|
UINT64 Size;
|
||||||
BOOLEAN NoFile;
|
BOOLEAN NoFile;
|
||||||
EFI_SHELL_FILE_INFO *pShellFileInfo;
|
EFI_SHELL_FILE_INFO *pShellFileInfo;
|
||||||
LIST_ENTRY *List;
|
LIST_ENTRY *List;
|
||||||
CONST CHAR16 *Tester;
|
// CONST CHAR16 *Tester;
|
||||||
|
|
||||||
FileHandle = NULL;
|
FileHandle = NULL;
|
||||||
StrCpy(FileName, L"testfile.txt");
|
StrCpy(FileName, L"testfile.txt");
|
||||||
|
@ -76,8 +76,8 @@ UefiMain (
|
||||||
ASSERT(ShellCommandLineGetFlag(List, L"/Param1") != FALSE);
|
ASSERT(ShellCommandLineGetFlag(List, L"/Param1") != FALSE);
|
||||||
ASSERT(StrCmp(ShellCommandLineGetValue(List, L"/Param2"), L"Val1")==0);
|
ASSERT(StrCmp(ShellCommandLineGetValue(List, L"/Param2"), L"Val1")==0);
|
||||||
ASSERT(StrCmp(ShellCommandLineGetRawValue(List, 0), L"SimpleApplication.efi")==0);
|
ASSERT(StrCmp(ShellCommandLineGetRawValue(List, 0), L"SimpleApplication.efi")==0);
|
||||||
Tester = ShellCommandLineGetValue(List, L"/Param3");
|
// Tester = ShellCommandLineGetValue(List, L"/Param3");
|
||||||
Tester = ShellCommandLineGetValue(List, L"/Param4");
|
// Tester = ShellCommandLineGetValue(List, L"/Param4");
|
||||||
|
|
||||||
ShellCommandLineFreeVarList(List);
|
ShellCommandLineFreeVarList(List);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue