diff options
author | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-16 00:23:19 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-16 00:23:19 +0000 |
commit | b1f95a06ca1a66ad15b3d8843fb4c7563c5350d2 (patch) | |
tree | cf88e0c20fe3952951914456198608b58c471aa1 /ShellPkg/Include/Library/ShellCEntryLib.h | |
parent | 14e96c2996a138b22f544da4d7921782ef85e51e (diff) | |
download | edk2-platforms-b1f95a06ca1a66ad15b3d8843fb4c7563c5350d2.tar.xz |
Updating with new functions and adding "C" style entrypoint library with example application.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8564 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Include/Library/ShellCEntryLib.h')
-rw-r--r-- | ShellPkg/Include/Library/ShellCEntryLib.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ShellPkg/Include/Library/ShellCEntryLib.h b/ShellPkg/Include/Library/ShellCEntryLib.h new file mode 100644 index 0000000000..762c95b598 --- /dev/null +++ b/ShellPkg/Include/Library/ShellCEntryLib.h @@ -0,0 +1,32 @@ +/** @file
+ Provides application point extension for "C" style main funciton
+
+Copyright (c) 2006 - 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
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+/**
+ Intermediate entry point for the application that will in turn call into the "C"
+ style main function.
+
+ this application must have a function like:
+ INT32
+ EFIAPI
+ main(
+ UINTN Argc,
+ CHAR16 **Argv
+ );
+**/
+EFI_STATUS
+EFIAPI
+ShellCEntry(
+ IN EFI_HANDLE ImageHandle,
+ IN EFI_SYSTEM_TABLE *SystemTable
+ );
\ No newline at end of file |