aboutsummaryrefslogtreecommitdiffstats
path: root/roms/edk2/ShellPkg/Application/ShellExecTestApp
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/edk2/ShellPkg/Application/ShellExecTestApp
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/edk2/ShellPkg/Application/ShellExecTestApp')
-rw-r--r--roms/edk2/ShellPkg/Application/ShellExecTestApp/SA.c32
-rw-r--r--roms/edk2/ShellPkg/Application/ShellExecTestApp/SA.inf36
2 files changed, 68 insertions, 0 deletions
diff --git a/roms/edk2/ShellPkg/Application/ShellExecTestApp/SA.c b/roms/edk2/ShellPkg/Application/ShellExecTestApp/SA.c
new file mode 100644
index 000000000..cc5228bf3
--- /dev/null
+++ b/roms/edk2/ShellPkg/Application/ShellExecTestApp/SA.c
@@ -0,0 +1,32 @@
+/** @file
+ This is a simple shell application
+
+ Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#include <Uefi.h>
+#include <Library/UefiApplicationEntryPoint.h>
+#include <Library/UefiLib.h>
+
+/**
+ as the real entry point for the application.
+
+ @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.
+
+**/
+EFI_STATUS
+EFIAPI
+UefiMain (
+ IN EFI_HANDLE ImageHandle,
+ IN EFI_SYSTEM_TABLE *SystemTable
+ )
+{
+ Print(L"ShellExecute - Pass");
+ return EFI_SUCCESS;
+}
diff --git a/roms/edk2/ShellPkg/Application/ShellExecTestApp/SA.inf b/roms/edk2/ShellPkg/Application/ShellExecTestApp/SA.inf
new file mode 100644
index 000000000..49a4f2935
--- /dev/null
+++ b/roms/edk2/ShellPkg/Application/ShellExecTestApp/SA.inf
@@ -0,0 +1,36 @@
+## @file
+# Sample UEFI Application Reference EDKII Module
+#
+# This is a simple shell application
+#
+# Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
+#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+#
+##
+
+[Defines]
+ INF_VERSION = 0x00010005
+ BASE_NAME = EmptyApplication
+ FILE_GUID = 8F7D7B1D-0E1C-4c98-B12E-4EC99C4081AC
+ MODULE_TYPE = UEFI_APPLICATION
+ VERSION_STRING = 1.0
+ ENTRY_POINT = UefiMain
+
+#
+# The following information is for reference only and not required by the build tools.
+#
+# VALID_ARCHITECTURES = IA32 X64 EBC
+#
+
+[Sources]
+ SA.c
+
+[Packages]
+ MdePkg/MdePkg.dec
+
+[LibraryClasses]
+ UefiApplicationEntryPoint
+ UefiLib
+