From e71cb45263cd3e03887d24de81653f3b4b02d510 Mon Sep 17 00:00:00 2001 From: Tapan Shah Date: Mon, 23 Jun 2014 18:36:44 +0000 Subject: ShellPkg: Move UpdateMapping() out of Map command and added to UefiShellCommandLib library. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tapan Shah Reviewed-by: Jaben Carsey git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15580 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Include/Library/ShellCommandLib.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'ShellPkg/Include') diff --git a/ShellPkg/Include/Library/ShellCommandLib.h b/ShellPkg/Include/Library/ShellCommandLib.h index 13d526edf7..aed947c1a9 100644 --- a/ShellPkg/Include/Library/ShellCommandLib.h +++ b/ShellPkg/Include/Library/ShellCommandLib.h @@ -4,7 +4,8 @@ This library is for use ONLY by shell commands linked into the shell application. This library will not funciton if it is used for UEFI Shell 2.0 Applications. - Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.
+ (C) Copyright 2013-2014, Hewlett-Packard Development Company, L.P. + Copyright (c) 2009 - 2014, 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 @@ -583,6 +584,17 @@ ShellCommandCreateInitialMappingsAndPaths( VOID ); +/** + Add mappings for any devices without one. Do not change any existing maps. + + @retval EFI_SUCCESS The operation was successful. +**/ +EFI_STATUS +EFIAPI +ShellCommandUpdateMapping ( + VOID + ); + /** Converts a SHELL_FILE_HANDLE to an EFI_FILE_PROTOCOL*. -- cgit v1.2.3