2 Allows an override of the SEC SEC PPI Dispatch Table. This allows
3 customized PPIs to be passed into the PEI Core.
5 Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php.
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #ifndef __SEC_DISPATCH_TABLE_LIB_H__
18 #define __SEC_DISPATCH_TABLE_LIB_H__
22 Return the number of bytes that OverrideDispatchTable() will append to
25 @return Size of table in bytes OverrideDispatchTable() will return
30 OverrideDispatchTableExtraSize (
36 Allow an override of the Sec PPI Dispatch Table. This table contains PPIs passed
39 @param OriginalTable SECs default PPI dispatch table
40 @param OriginalTableSize Size of SECs default PPI dispatch table
41 @param NewTable New dispatch table
42 @param NewTableSize Size of of the NewTable in bytes
44 @return EFI_SUCCESS table was copied
49 OverrideDispatchTable (
50 IN CONST EFI_PEI_PPI_DESCRIPTOR
*OriginalTable
,
51 IN UINTN OriginalTableSize
,
52 IN OUT EFI_PEI_PPI_DESCRIPTOR
*NewTable
,