2 This file declares Vector Handoff Info PPI that describes an array of
3 interrupt and/or exception vectors that are in use and need to persist.
5 This is an optional PPI that may be produced by SEC. If present, it provides
6 a description of the interrupt and/or exception vectors that were established
7 in the SEC Phase and need to persist into PEI and DXE.
9 Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
10 SPDX-License-Identifier: BSD-2-Clause-Patent
12 @par Revision Reference:
13 This PPI is introduced in PI Version 1.2.1.
17 #ifndef __VECTOR_HANDOFF_INFO_H__
18 #define __VECTOR_HANDOFF_INFO_H__
21 /// NOTE: EFI_PEI_VECTOR_HANDOFF_INFO_PPI_GUID can also be used in the PEI Phase
22 /// to build a GUIDed HOB that contains an array of EFI_VECTOR_HANDOFF_INFO.
24 #define EFI_PEI_VECTOR_HANDOFF_INFO_PPI_GUID \
25 { 0x3cd652b4, 0x6d33, 0x4dce, { 0x89, 0xdb, 0x83, 0xdf, 0x97, 0x66, 0xfc, 0xca }}
28 /// Vector Handoff Info Attributes
30 #define EFI_VECTOR_HANDOFF_DO_NOT_HOOK 0x00000000
31 #define EFI_VECTOR_HANDOFF_HOOK_BEFORE 0x00000001
32 #define EFI_VECTOR_HANDOFF_HOOK_AFTER 0x00000002
33 #define EFI_VECTOR_HANDOFF_LAST_ENTRY 0x80000000
37 /// EFI_VECTOR_HANDOFF_INFO entries that describes the interrupt and/or
38 /// exception vectors in use in the PEI Phase.
42 // The interrupt or exception vector that is in use and must be preserved.
46 // A bitmask that describes the attributes ofthe interrupt or exception vector.
50 // The GUID identifies the party who created the entry. For the
51 // EFI_VECTOR_HANDOFF_DO_NOT_HOOK case, this establishes the single owner.
54 } EFI_VECTOR_HANDOFF_INFO
;
57 /// Provides a description of the interrupt and/or exception vectors that
58 /// were established in the SEC Phase and need to persist into PEI and DXE.
60 typedef struct _EFI_PEI_VECTOR_HANDOFF_INFO_PPI
{
62 // Pointer to an array of interrupt and /or exception vectors.
64 EFI_VECTOR_HANDOFF_INFO
*Info
;
65 } EFI_PEI_VECTOR_HANDOFF_INFO_PPI
;
67 extern EFI_GUID gEfiVectorHandoffInfoPpiGuid
;