From 072d611689f18d203c922786113c6e39c6f4b878 Mon Sep 17 00:00:00 2001 From: jcarsey Date: Tue, 19 Apr 2011 16:43:53 +0000 Subject: adding shell binary package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11566 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellBinPkg/ReadMe.txt | 40 +++++++++++++++++++++++++++++++++++ ShellBinPkg/ShellBinPkg.dec | 28 ++++++++++++++++++++++++ ShellBinPkg/UefiShell/Ia32/Shell.efi | Bin 0 -> 733408 bytes ShellBinPkg/UefiShell/UefiShell.inf | 29 +++++++++++++++++++++++++ ShellBinPkg/UefiShell/X64/Shell.efi | Bin 0 -> 816192 bytes 5 files changed, 97 insertions(+) create mode 100644 ShellBinPkg/ReadMe.txt create mode 100644 ShellBinPkg/ShellBinPkg.dec create mode 100644 ShellBinPkg/UefiShell/Ia32/Shell.efi create mode 100644 ShellBinPkg/UefiShell/UefiShell.inf create mode 100644 ShellBinPkg/UefiShell/X64/Shell.efi diff --git a/ShellBinPkg/ReadMe.txt b/ShellBinPkg/ReadMe.txt new file mode 100644 index 0000000000..344f8a7f1c --- /dev/null +++ b/ShellBinPkg/ReadMe.txt @@ -0,0 +1,40 @@ +============================================================================ + OVERVIEW +============================================================================ +The binaries of ShellBinPkg are generated with ShellPkg project and built with BaseTools Package (r11544). The binaries are built with no debug information by building with "RELEASE" target. + +The following steps can help to re-generate these binaries for customization: +1. Check out EDK II to $(WORKSPACE) +(svn https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2). +2. Under $(WORKSPACE) directory (i.e. c:\EdkII), + To generate Shell, execute: "build -a IA32 -a X64 -p ShellPkg\ShellPkg.dsc -b RELEASE". + + +============================================================================ + HOW TO INCORPORATE THIS SHELL INTO NT32 +============================================================================ +The instructions below are included as a sample and template on how a +developer may integrate this code into an existing platform: + + +1. Update system PCDs to support this new module + Update the PCD as follows using the Shell's PCD: + gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 } + +2. Remove the old shell from the NT32 Firmware list + Remove the FILE APPLICATION section for the old shell. + +3. Add this shell to the NT32 firmware list + Add the Shell.INF to the end of the list of DXE modules. + +4. Build NT32 + +============================================================================ + KNOWN LIMITATIONS +============================================================================ +1. RM can delete current working directory via other map name. +2. DrvCfg is not functional. +3. ifConfig permanent settings are under investigation (may not function correctly) +4. Shell documentation is in development and forthcoming. + +============================================================================ diff --git a/ShellBinPkg/ShellBinPkg.dec b/ShellBinPkg/ShellBinPkg.dec new file mode 100644 index 0000000000..553e97304b --- /dev/null +++ b/ShellBinPkg/ShellBinPkg.dec @@ -0,0 +1,28 @@ +## @file +# UEFI 2.0 Shell Binary Package +# +# This package contains binary shell application that follows +# UEFI specification and UEFI Shell 2.0 specification. +# Copyright (c) 2011, 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. +# +## + + +################################################################################ +# +# Defines Section - statements that will be processed to create a Makefile. +# +################################################################################ + +[Defines] + DEC_SPECIFICATION = 0x00010005 + PACKAGE_NAME = ShellBinPkg + PACKAGE_GUID = 4B34AD9D-1324-41e5-8B1D-359AA7BCA62C + PACKAGE_VERSION = 0.1 + diff --git a/ShellBinPkg/UefiShell/Ia32/Shell.efi b/ShellBinPkg/UefiShell/Ia32/Shell.efi new file mode 100644 index 0000000000..9ee915c817 Binary files /dev/null and b/ShellBinPkg/UefiShell/Ia32/Shell.efi differ diff --git a/ShellBinPkg/UefiShell/UefiShell.inf b/ShellBinPkg/UefiShell/UefiShell.inf new file mode 100644 index 0000000000..bb9e26e322 --- /dev/null +++ b/ShellBinPkg/UefiShell/UefiShell.inf @@ -0,0 +1,29 @@ +## @file +# This is the UEFI Shell application binary file. +# +# Copyright (c) 2011, 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. +# +# +## +## + +[Defines] + INF_VERSION = 0x00010006 + BASE_NAME = Shell + FILE_GUID = 7C04A583-9E3E-4f1c-AD65-E05268D0B4D1 + MODULE_TYPE = UEFI_APPLICATION + VERSION_STRING = 1.0 + +[Binaries.Ia32] + PE32|Ia32/Shell.efi|* + +[Binaries.X64] + PE32|X64/Shell.efi|* + diff --git a/ShellBinPkg/UefiShell/X64/Shell.efi b/ShellBinPkg/UefiShell/X64/Shell.efi new file mode 100644 index 0000000000..ae8070325c Binary files /dev/null and b/ShellBinPkg/UefiShell/X64/Shell.efi differ -- cgit v1.2.3