mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-11-04 05:38:26 +00:00 
			
		
		
		
	1) Remove the 3 functions out of the shell's internal library (ShellCommandLib) 2) Add a new library class (PathLib) 3) Add an instance of this class (BasePathLib) 4) Change all internal shell callers to use this new library class. signed-off-by: jcarsey reviewed-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11936 6f19259b-4bc3-4df7-8a09-765794883524
		
			
				
	
	
		
			89 lines
		
	
	
		
			4.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			89 lines
		
	
	
		
			4.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
##  @file
 | 
						|
# Shell Package
 | 
						|
#
 | 
						|
# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
 | 
						|
#
 | 
						|
#    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]
 | 
						|
  PLATFORM_NAME                  = Shell
 | 
						|
  PLATFORM_GUID                  = E1DC9BF8-7013-4c99-9437-795DAA45F3BD
 | 
						|
  PLATFORM_VERSION               = 0.50
 | 
						|
  DSC_SPECIFICATION              = 0x00010006
 | 
						|
  OUTPUT_DIRECTORY               = Build/Shell
 | 
						|
  SUPPORTED_ARCHITECTURES        = IA32|IPF|X64|EBC|ARM
 | 
						|
  BUILD_TARGETS                  = DEBUG|RELEASE
 | 
						|
  SKUID_IDENTIFIER               = DEFAULT
 | 
						|
 | 
						|
[LibraryClasses.common]
 | 
						|
  UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
 | 
						|
  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
 | 
						|
  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
 | 
						|
  DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
 | 
						|
  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf  
 | 
						|
  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
 | 
						|
  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
 | 
						|
  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
 | 
						|
  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
 | 
						|
  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
 | 
						|
  PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
 | 
						|
  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
 | 
						|
  UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
 | 
						|
  HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
 | 
						|
  NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
 | 
						|
 | 
						|
  ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
 | 
						|
  ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
 | 
						|
  FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
 | 
						|
  ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
 | 
						|
  SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
 | 
						|
  HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
 | 
						|
  
 | 
						|
  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
 | 
						|
  PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
 | 
						|
 | 
						|
[LibraryClasses.ARM]
 | 
						|
  #
 | 
						|
  # It is not possible to prevent the ARM compiler for generic intrinsic functions.
 | 
						|
  # This library provides the instrinsic functions generate by a given compiler.
 | 
						|
  # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
 | 
						|
  #
 | 
						|
  NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
 | 
						|
 | 
						|
[PcdsFixedAtBuild]
 | 
						|
  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
 | 
						|
  gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
 | 
						|
  gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000
 | 
						|
!ifdef $(NO_SHELL_PROFILES)
 | 
						|
  gEfiShellPkgTokenSpaceGuid.PcdShellProfileMask|0x00
 | 
						|
!endif
 | 
						|
 | 
						|
[Components]
 | 
						|
  ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
 | 
						|
  ShellPkg/Library/UefiShellLib/UefiShellLib.inf
 | 
						|
  ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
 | 
						|
  ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
 | 
						|
  ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
 | 
						|
 | 
						|
  ShellPkg/Application/Shell/Shell.inf {
 | 
						|
    <LibraryClasses>
 | 
						|
      NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
 | 
						|
      NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
 | 
						|
      NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
 | 
						|
!ifndef $(NO_SHELL_PROFILES)
 | 
						|
      NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
 | 
						|
      NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
 | 
						|
      NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
 | 
						|
      NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
 | 
						|
!endif
 | 
						|
  }
 | 
						|
 |