]>
Commit | Line | Data |
---|---|---|
94b17fa1 | 1 | /** @file\r |
2 | This is a simple shell application\r | |
3 | \r | |
3a888f2a | 4 | Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>\r |
1e6e84c7 | 5 | This program and the accompanying materials\r |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
94b17fa1 | 9 | \r |
1e6e84c7 | 10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
94b17fa1 | 12 | \r |
13 | **/\r | |
14 | \r | |
15 | #include <Uefi.h>\r | |
16 | #include <Library/UefiApplicationEntryPoint.h>\r | |
17 | #include <Library/UefiLib.h>\r | |
18 | \r | |
19 | /**\r | |
20 | as the real entry point for the application.\r | |
21 | \r | |
1e6e84c7 | 22 | @param[in] ImageHandle The firmware allocated handle for the EFI image.\r |
94b17fa1 | 23 | @param[in] SystemTable A pointer to the EFI System Table.\r |
1e6e84c7 | 24 | \r |
94b17fa1 | 25 | @retval EFI_SUCCESS The entry point is executed successfully.\r |
26 | @retval other Some error occurs when executing this entry point.\r | |
27 | \r | |
28 | **/\r | |
29 | EFI_STATUS\r | |
30 | EFIAPI\r | |
31 | UefiMain (\r | |
32 | IN EFI_HANDLE ImageHandle,\r | |
33 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
34 | )\r | |
35 | {\r | |
1e6e84c7 | 36 | Print(L"ShellExecute - Pass");\r |
94b17fa1 | 37 | return EFI_SUCCESS;\r |
e9880e25 | 38 | }\r |