]>
Commit | Line | Data |
---|---|---|
94b17fa1 | 1 | /** @file\r |
2 | This is a simple shell application\r | |
3 | \r | |
4 | Copyright (c) 2008, Intel Corporation \r | |
5 | All rights reserved. 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 | |
9 | \r | |
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 | |
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 | |
22 | @param[in] ImageHandle The firmware allocated handle for the EFI image. \r | |
23 | @param[in] SystemTable A pointer to the EFI System Table.\r | |
24 | \r | |
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 | |
36 | Print(L"ShellExecute - Pass"); \r | |
37 | return EFI_SUCCESS;\r | |
38 | } |