mirror of
				https://github.com/acidanthera/audk.git
				synced 2025-11-03 21:17:23 +01:00 
			
		
		
		
	git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10895 6f19259b-4bc3-4df7-8a09-765794883524
		
			
				
	
	
		
			58 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/** @file
 | 
						|
  Allows an override of the SEC SEC PPI Dispatch Table. This allows 
 | 
						|
  customized PPIs to be passed into the PEI Core.
 | 
						|
 | 
						|
Copyright (c) 2008 - 2010, Apple Inc. 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.
 | 
						|
 | 
						|
**/
 | 
						|
 | 
						|
 | 
						|
#ifndef __SEC_DISPATCH_TABLE_LIB_H__
 | 
						|
#define __SEC_DISPATCH_TABLE_LIB_H__
 | 
						|
 | 
						|
 | 
						|
/**
 | 
						|
  Return the number of bytes that OverrideDispatchTable() will append to
 | 
						|
  the dispatch table.
 | 
						|
 | 
						|
  @return  Size of table in bytes OverrideDispatchTable() will return
 | 
						|
 | 
						|
**/
 | 
						|
UINTN
 | 
						|
EFIAPI
 | 
						|
OverrideDispatchTableExtraSize (
 | 
						|
  VOID
 | 
						|
  );
 | 
						|
  
 | 
						|
 | 
						|
/**
 | 
						|
  Allow an override of the Sec PPI Dispatch Table. This table contains PPIs passed
 | 
						|
  up from SEC to PEI. 
 | 
						|
 | 
						|
  @param  OriginalTable         SECs default PPI dispatch table
 | 
						|
  @param  OriginalTableSize     Size of SECs default PPI dispatch table
 | 
						|
  @param  NewTable              New dispatch table
 | 
						|
  @param  NewTableSize          Size of of the NewTable in bytes
 | 
						|
 | 
						|
  @return EFI_SUCCESS table was copied
 | 
						|
 | 
						|
**/
 | 
						|
EFI_STATUS
 | 
						|
EFIAPI
 | 
						|
OverrideDispatchTable (
 | 
						|
  IN CONST EFI_PEI_PPI_DESCRIPTOR          *OriginalTable,
 | 
						|
  IN       UINTN                           OriginalTableSize,
 | 
						|
  IN OUT   EFI_PEI_PPI_DESCRIPTOR          *NewTable,
 | 
						|
  IN       UINTN                           NewTableSize
 | 
						|
  );
 | 
						|
 | 
						|
 | 
						|
#endif
 |