https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
		
			
				
	
	
		
			60 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/** @file
 | 
						|
  internal worker functions for FileHandleWrappers to use
 | 
						|
 | 
						|
  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
 | 
						|
  SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
 | 
						|
**/
 | 
						|
 | 
						|
#ifndef _FILE_HANDLE_INTERNAL_HEADER_
 | 
						|
#define _FILE_HANDLE_INTERNAL_HEADER_
 | 
						|
 | 
						|
/**
 | 
						|
  Move the cursor position one character backward.
 | 
						|
 | 
						|
  @param[in] LineLength       Length of a line. Get it by calling QueryMode
 | 
						|
  @param[in, out] Column      Current column of the cursor position
 | 
						|
  @param[in, out] Row         Current row of the cursor position
 | 
						|
**/
 | 
						|
VOID
 | 
						|
MoveCursorBackward (
 | 
						|
  IN     UINTN                   LineLength,
 | 
						|
  IN OUT UINTN                   *Column,
 | 
						|
  IN OUT UINTN                   *Row
 | 
						|
  );
 | 
						|
 | 
						|
/**
 | 
						|
  Move the cursor position one character forward.
 | 
						|
 | 
						|
  @param[in] LineLength       Length of a line.
 | 
						|
  @param[in] TotalRow         Total row of a screen
 | 
						|
  @param[in, out] Column      Current column of the cursor position
 | 
						|
  @param[in, out] Row         Current row of the cursor position
 | 
						|
**/
 | 
						|
VOID
 | 
						|
MoveCursorForward (
 | 
						|
  IN     UINTN                   LineLength,
 | 
						|
  IN     UINTN                   TotalRow,
 | 
						|
  IN OUT UINTN                   *Column,
 | 
						|
  IN OUT UINTN                   *Row
 | 
						|
  );
 | 
						|
 | 
						|
/**
 | 
						|
  Prints out each previously typed command in the command list history log.
 | 
						|
 | 
						|
  When each screen is full it will pause for a key before continuing.
 | 
						|
 | 
						|
  @param[in] TotalCols    How many columns are on the screen
 | 
						|
  @param[in] TotalRows    How many rows are on the screen
 | 
						|
  @param[in] StartColumn  which column to start at
 | 
						|
**/
 | 
						|
VOID
 | 
						|
PrintCommandHistory (
 | 
						|
  IN CONST UINTN TotalCols,
 | 
						|
  IN CONST UINTN TotalRows,
 | 
						|
  IN CONST UINTN StartColumn
 | 
						|
  );
 | 
						|
 | 
						|
#endif //_FILE_HANDLE_INTERNAL_HEADER_
 | 
						|
 |