diff options
author | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-25 20:05:08 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-25 20:05:08 +0000 |
commit | 1e6e84c7afd435db6e84ad84e71ddecdc9866042 (patch) | |
tree | 7ea88ea145c32f17a31f4d5fa1b84a392a7a3d05 /ShellPkg/Application | |
parent | b4d856a6b52a724e7cf04653f3049a47641a9f39 (diff) | |
download | edk2-platforms-1e6e84c7afd435db6e84ad84e71ddecdc9866042.tar.xz |
fixed license header / copyright date on all files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9810 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Application')
-rw-r--r-- | ShellPkg/Application/ShellCTestApp/ShellCTestApp.c | 22 | ||||
-rw-r--r-- | ShellPkg/Application/ShellCTestApp/ShellCTestApp.inf | 8 | ||||
-rw-r--r-- | ShellPkg/Application/ShellExecTestApp/SA.c | 20 | ||||
-rw-r--r-- | ShellPkg/Application/ShellExecTestApp/SA.inf | 8 | ||||
-rw-r--r-- | ShellPkg/Application/ShellLibTestApp/SA3.inf | 8 | ||||
-rw-r--r-- | ShellPkg/Application/ShellLibTestApp/sa3.c | 82 | ||||
-rw-r--r-- | ShellPkg/Application/ShellSortTestApp/ShellSortTestApp.c | 20 | ||||
-rw-r--r-- | ShellPkg/Application/ShellSortTestApp/ShellSortTestApp.inf | 8 |
8 files changed, 88 insertions, 88 deletions
diff --git a/ShellPkg/Application/ShellCTestApp/ShellCTestApp.c b/ShellPkg/Application/ShellCTestApp/ShellCTestApp.c index f7bc8ccc85..0a057742d9 100644 --- a/ShellPkg/Application/ShellCTestApp/ShellCTestApp.c +++ b/ShellPkg/Application/ShellCTestApp/ShellCTestApp.c @@ -1,15 +1,15 @@ /** @file
- This is a test application that demonstrates how to use the C-style entry point
+ This is a test application that demonstrates how to use the C-style entry point
for a shell application.
- Copyright (c) 2009, Intel Corporation
- All rights reserved. This program and the accompanying materials
- are licensed and made available under the terms and conditions of the BSD License
- which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php
+ Copyright (c) 2009-2010, Intel Corporation. All rights reserved.<BR>
+ This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
@@ -32,10 +32,10 @@ @retval Other An error occurred.
**/
-INTN
-EFIAPI
+INTN
+EFIAPI
ShellAppMain (
- IN UINTN Argc,
+ IN UINTN Argc,
IN CHAR16 **Argv
)
{
diff --git a/ShellPkg/Application/ShellCTestApp/ShellCTestApp.inf b/ShellPkg/Application/ShellCTestApp/ShellCTestApp.inf index 9175a376c7..5907a516e9 100644 --- a/ShellPkg/Application/ShellCTestApp/ShellCTestApp.inf +++ b/ShellPkg/Application/ShellCTestApp/ShellCTestApp.inf @@ -1,9 +1,9 @@ #/** @file
# This is the shell application
#
-# Copyright (c) 2009, Intel Corporation.
+# Copyright (c) 2009-2010, Intel Corporation. All rights reserved. <BR>
#
-# All rights reserved. This program and the accompanying materials
+# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
@@ -33,11 +33,11 @@ [Packages]
MdePkg/MdePkg.dec
ShellPkg/ShellPkg.dec
-
+
[LibraryClasses]
ShellCEntryLib
UefiLib
-
+
[Guids]
[Protocols]
diff --git a/ShellPkg/Application/ShellExecTestApp/SA.c b/ShellPkg/Application/ShellExecTestApp/SA.c index 43fec9a204..d210a014de 100644 --- a/ShellPkg/Application/ShellExecTestApp/SA.c +++ b/ShellPkg/Application/ShellExecTestApp/SA.c @@ -1,14 +1,14 @@ /** @file
This is a simple shell application
- Copyright (c) 2008, Intel Corporation
- All rights reserved. This program and the accompanying materials
- are licensed and made available under the terms and conditions of the BSD License
- which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php
+ Copyright (c) 2008-2010, Intel Corporation. All rights reserved.<BR>
+ This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
@@ -19,9 +19,9 @@ /**
as the real entry point for the application.
- @param[in] ImageHandle The firmware allocated handle for the EFI image.
+ @param[in] ImageHandle The firmware allocated handle for the EFI image.
@param[in] SystemTable A pointer to the EFI System Table.
-
+
@retval EFI_SUCCESS The entry point is executed successfully.
@retval other Some error occurs when executing this entry point.
@@ -33,6 +33,6 @@ UefiMain ( IN EFI_SYSTEM_TABLE *SystemTable
)
{
- Print(L"ShellExecute - Pass");
+ Print(L"ShellExecute - Pass");
return EFI_SUCCESS;
}
diff --git a/ShellPkg/Application/ShellExecTestApp/SA.inf b/ShellPkg/Application/ShellExecTestApp/SA.inf index b2d19a2826..5a676b0e3a 100644 --- a/ShellPkg/Application/ShellExecTestApp/SA.inf +++ b/ShellPkg/Application/ShellExecTestApp/SA.inf @@ -3,9 +3,9 @@ #
# This is a simple shell application
#
-# Copyright (c) 2009, Intel Corporation.
+# Copyright (c) 2009-2010, Intel Corporation. All rights reserved. <BR>
#
-# All rights reserved. This program and the accompanying materials
+# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
@@ -34,11 +34,11 @@ [Packages]
MdePkg/MdePkg.dec
-
+
[LibraryClasses]
UefiApplicationEntryPoint
UefiLib
-
+
[Guids]
[Ppis]
diff --git a/ShellPkg/Application/ShellLibTestApp/SA3.inf b/ShellPkg/Application/ShellLibTestApp/SA3.inf index 6ed4b00b74..46cef22e52 100644 --- a/ShellPkg/Application/ShellLibTestApp/SA3.inf +++ b/ShellPkg/Application/ShellLibTestApp/SA3.inf @@ -3,9 +3,9 @@ #
# This is a simple shell application
#
-# Copyright (c) 2009, Intel Corporation.
+# Copyright (c) 2009-2010, Intel Corporation. All rights reserved. <BR>
#
-# All rights reserved. This program and the accompanying materials
+# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
@@ -35,14 +35,14 @@ [Packages]
MdePkg/MdePkg.dec
ShellPkg/ShellPkg.dec
-
+
[LibraryClasses]
UefiApplicationEntryPoint
UefiLib
ShellLib
MemoryAllocationLib
DebugLib
-
+
[Guids]
[Ppis]
diff --git a/ShellPkg/Application/ShellLibTestApp/sa3.c b/ShellPkg/Application/ShellLibTestApp/sa3.c index bc7986a97a..9c235732a1 100644 --- a/ShellPkg/Application/ShellLibTestApp/sa3.c +++ b/ShellPkg/Application/ShellLibTestApp/sa3.c @@ -3,14 +3,14 @@ This should be executed with "/Param2 Val1" and "/Param1" as the 2 command line options!
- Copyright (c) 2008-2009, Intel Corporation
- All rights reserved. This program and the accompanying materials
- are licensed and made available under the terms and conditions of the BSD License
- which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php
+ Copyright (c) 2008-2010, Intel Corporation. All rights reserved.<BR>
+ This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
@@ -38,9 +38,9 @@ SHELL_PARAM_ITEM ParamList[] = { /**
as the real entry point for the application.
- @param[in] ImageHandle The firmware allocated handle for the EFI image.
+ @param[in] ImageHandle The firmware allocated handle for the EFI image.
@param[in] SystemTable A pointer to the EFI System Table.
-
+
@retval EFI_SUCCESS The entry point is executed successfully.
@retval other Some error occurs when executing this entry point.
@@ -64,7 +64,7 @@ UefiMain ( EFI_SHELL_FILE_INFO *pShellFileInfo;
LIST_ENTRY *List;
// CONST CHAR16 *Tester;
-
+
FileHandle = NULL;
StrCpy(FileName, L"testfile.txt");
// Position = 0;
@@ -100,9 +100,9 @@ UefiMain ( ShellSetPageBreakMode(TRUE);
- Status = ShellOpenFileByName(FileName,
- &FileHandle,
- EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
+ Status = ShellOpenFileByName(FileName,
+ &FileHandle,
+ EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
0
);
ASSERT_EFI_ERROR(Status);
@@ -130,9 +130,9 @@ UefiMain ( ASSERT_EFI_ERROR(Status);
Print(L"read, write, create, getinfo - pass\r\n");
- Status = ShellOpenFileByName(FileName,
- &FileHandle,
- EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
+ Status = ShellOpenFileByName(FileName,
+ &FileHandle,
+ EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
0
);
ASSERT_EFI_ERROR(Status);
@@ -141,7 +141,7 @@ UefiMain ( pFileInfo->FileSize = 0x20;
Status = ShellSetFileInfo(FileHandle, pFileInfo);
FreePool(pFileInfo);
- pFileInfo = NULL;
+ pFileInfo = NULL;
ASSERT_EFI_ERROR(Status);
pFileInfo = ShellGetFileInfo(FileHandle);
ASSERT(pFileInfo != NULL);
@@ -156,10 +156,10 @@ UefiMain ( Status = ShellCloseFile(&FileHandle);
ASSERT_EFI_ERROR(Status);
Print(L"setinfo and change size, getsize - pass\r\n");
-
- Status = ShellOpenFileByName(FileName,
- &FileHandle,
- EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
+
+ Status = ShellOpenFileByName(FileName,
+ &FileHandle,
+ EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
0
);
ASSERT_EFI_ERROR(Status);
@@ -171,14 +171,14 @@ UefiMain ( ASSERT(pFileInfo->FileSize == 0x20);
ASSERT((pFileInfo->Attribute&EFI_FILE_DIRECTORY)==0);
FreePool(pFileInfo);
- pFileInfo = NULL;
+ pFileInfo = NULL;
Status = ShellDeleteFile(&FileHandle);
ASSERT_EFI_ERROR(Status);
Print(L"reopen file - pass\r\n");
- Status = ShellOpenFileByName(FileName,
- &FileHandle,
- EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
+ Status = ShellOpenFileByName(FileName,
+ &FileHandle,
+ EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
0
);
ASSERT_EFI_ERROR(Status);
@@ -193,9 +193,9 @@ UefiMain ( ASSERT_EFI_ERROR(Status);
Print(L"size of empty - pass\r\n");
- Status = ShellOpenFileByName(FileName,
- &FileHandle,
- EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
+ Status = ShellOpenFileByName(FileName,
+ &FileHandle,
+ EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
0
);
ASSERT(Status == EFI_NOT_FOUND);
@@ -211,23 +211,23 @@ UefiMain ( Status = ShellDeleteFile(&FileHandle);
ASSERT_EFI_ERROR(Status);
Print(L"Directory create - pass\r\n");
-
+
// FindFirst and FindNext
StrCpy(FileName, L"testDir");
Status = ShellCreateDirectory(FileName, &FileHandle);
Status = ShellCloseFile(&FileHandle);
StrCat(FileName, L"\\File.txt");
- Status = ShellOpenFileByName(FileName,
- &FileHandle,
- EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
+ Status = ShellOpenFileByName(FileName,
+ &FileHandle,
+ EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
0
);
ASSERT_EFI_ERROR(Status);
Status = ShellCloseFile(&FileHandle);
StrCpy(FileName, L"testDir");
- Status = ShellOpenFileByName(FileName,
- &FileHandle,
- EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
+ Status = ShellOpenFileByName(FileName,
+ &FileHandle,
+ EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
0
);
ASSERT_EFI_ERROR(Status);
@@ -264,18 +264,18 @@ UefiMain ( // now delete that file and that directory
StrCat(FileName, L"\\File.txt");
- Status = ShellOpenFileByName(FileName,
- &FileHandle,
- EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
+ Status = ShellOpenFileByName(FileName,
+ &FileHandle,
+ EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
0
);
ASSERT_EFI_ERROR(Status);
Status = ShellDeleteFile(&FileHandle);
StrCpy(FileName, L"testDir");
ASSERT_EFI_ERROR(Status);
- Status = ShellOpenFileByName(FileName,
- &FileHandle,
- EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
+ Status = ShellOpenFileByName(FileName,
+ &FileHandle,
+ EFI_FILE_MODE_CREATE|EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE,
0
);
Status = ShellDeleteFile(&FileHandle);
diff --git a/ShellPkg/Application/ShellSortTestApp/ShellSortTestApp.c b/ShellPkg/Application/ShellSortTestApp/ShellSortTestApp.c index e19967ef62..c2b24d67ac 100644 --- a/ShellPkg/Application/ShellSortTestApp/ShellSortTestApp.c +++ b/ShellPkg/Application/ShellSortTestApp/ShellSortTestApp.c @@ -1,14 +1,14 @@ /** @file
This is a test application that demonstrates how to use the sorting functions.
- Copyright (c) 2009, Intel Corporation
- All rights reserved. This program and the accompanying materials
- are licensed and made available under the terms and conditions of the BSD License
- which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php
+ Copyright (c) 2009-2010, Intel Corporation. All rights reserved.<BR>
+ This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
@@ -43,10 +43,10 @@ INTN Test(CONST VOID*b1, CONST VOID*b2) @retval Other An error occurred.
**/
-INTN
-EFIAPI
+INTN
+EFIAPI
ShellAppMain (
- IN UINTN Argc,
+ IN UINTN Argc,
IN CHAR16 **Argv
)
{
diff --git a/ShellPkg/Application/ShellSortTestApp/ShellSortTestApp.inf b/ShellPkg/Application/ShellSortTestApp/ShellSortTestApp.inf index 87b87983b8..1fcc6c5471 100644 --- a/ShellPkg/Application/ShellSortTestApp/ShellSortTestApp.inf +++ b/ShellPkg/Application/ShellSortTestApp/ShellSortTestApp.inf @@ -1,9 +1,9 @@ #/** @file
# This is the shell sorting testing application
#
-# Copyright (c) 2009, Intel Corporation.
+# Copyright (c) 2009-2010, Intel Corporation.All rights reserved. <BR>
#
-# All rights reserved. This program and the accompanying materials
+# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
@@ -33,12 +33,12 @@ [Packages]
MdePkg/MdePkg.dec
ShellPkg/ShellPkg.dec
-
+
[LibraryClasses]
ShellCEntryLib
UefiLib
SortLib
-
+
[Guids]
[Protocols]
|