fixed to build under IPF.

Refactored some commands into FileHandleLib since they are used in many binaries.
Added .h for GUID that was missing.
Added PCD for initialization of shell apps and shell itself in shell library interaction.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8295 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jcarsey
2009-05-11 18:02:16 +00:00
parent 446b94b0a1
commit d2b4564ba5
14 changed files with 1407 additions and 460 deletions

View File

@@ -20,7 +20,7 @@
DEC_SPECIFICATION = 0x00010005
PACKAGE_NAME = ShellPkg
PACKAGE_GUID = 9FB7587C-93F7-40a7-9C04-FD7BA94EE646
PACKAGE_VERSION = 0.1
PACKAGE_VERSION = 0.2
[Includes.common]
@@ -32,8 +32,15 @@
##
ShellLib|Include/Library/ShellLib.h
## @libraryclass provides EFI_FILE_HANDLE services
## used by Shell and ShellLib
##
FileHandleLib|Include/Library/FileHandleLib.h
[Guids.common]
gEfiShellEnvironment2ExtGuid = {0xd2c18636, 0x40e5, 0x4eb5, {0xa3, 0x1b, 0x36, 0x69, 0x5f, 0xd4, 0x2c, 0x87}}
gEfiShellPkgTokenSpaceGuid = {0x171e9188, 0x31d3, 0x40f5, {0xb1, 0x0c, 0x53, 0x9b, 0x2d, 0xb9, 0x40, 0xcd}}
[Protocols.common]
gEfiShellProtocolGuid = {0x6302d008, 0x7f9b, 0x4f30, {0x87, 0xac, 0x60, 0xc9, 0xfe, 0xf5, 0xda, 0x4e}}
@@ -41,10 +48,7 @@
gEfiShellEnvironment2Guid = {0x47c7b221, 0xc42a, 0x11d2, {0x8e, 0x57, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b}}
gEfiShellInterfaceGuid = {0x47c7b223, 0xc42a, 0x11d2, {0x8e, 0x57, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b}}
[PcdsFeatureFlag.common]
[PcdsFixedAtBuild.common]
[PcdsPatchableInModule.common]
[PcdsDynamic.common]
[PcdsFixedAtBuild,PcdsPatchableInModule,PcdsDynamic]
## This flag is used to control initialization of the shell library
## This should be FALSE for compiling the shell application itself onlty.
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|TRUE|BOOLEAN|0x00000005