]>
Commit | Line | Data |
---|---|---|
a889d466 JF |
1 | /** @file\r |
2 | This file declares Vector Handoff Info PPI that describes an array of\r | |
3 | interrupt and/or exception vectors that are in use and need to persist.\r | |
4 | \r | |
5 | This is an optional PPI that may be produced by SEC. If present, it provides\r | |
6 | a description of the interrupt and/or exception vectors that were established\r | |
7 | in the SEC Phase and need to persist into PEI and DXE. \r | |
8 | \r | |
9 | Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>\r | |
10 | This program and the accompanying materials \r | |
11 | are licensed and made available under the terms and conditions of the BSD License \r | |
12 | which accompanies this distribution. The full text of the license may be found at \r | |
13 | http://opensource.org/licenses/bsd-license.php \r | |
14 | \r | |
15 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
16 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
17 | \r | |
18 | @par Revision Reference:\r | |
19 | This PPI is introduced in PI Version 1.2.1.\r | |
20 | \r | |
21 | **/\r | |
22 | \r | |
23 | #ifndef __VECTOR_HANDOFF_INFO_H__\r | |
24 | #define __VECTOR_HANDOFF_INFO_H__\r | |
25 | \r | |
26 | ///\r | |
27 | /// NOTE: EFI_PEI_VECTOR_HANDOFF_INFO_PPI_GUID can also be used in the PEI Phase\r | |
28 | /// to build a GUIDed HOB that contains an array of EFI_VECTOR_HANDOFF_INFO.\r | |
29 | ///\r | |
30 | #define EFI_PEI_VECTOR_HANDOFF_INFO_PPI_GUID \\r | |
31 | { 0x3cd652b4, 0x6d33, 0x4dce, { 0x89, 0xdb, 0x83, 0xdf, 0x97, 0x66, 0xfc, 0xca }}\r | |
32 | \r | |
33 | ///\r | |
34 | /// Vector Handoff Info Attributes\r | |
35 | ///@{\r | |
36 | #define EFI_VECTOR_HANDOFF_DO_NOT_HOOK 0x00000000\r | |
37 | #define EFI_VECTOR_HANDOFF_HOOK_BEFORE 0x00000001\r | |
38 | #define EFI_VECTOR_HANDOFF_HOOK_AFTER 0x00000002\r | |
39 | #define EFI_VECTOR_HANDOFF_LAST_ENTRY 0x80000000\r | |
40 | ///@}\r | |
41 | \r | |
42 | ///\r | |
43 | /// EFI_VECTOR_HANDOFF_INFO entries that describes the interrupt and/or\r | |
44 | /// exception vectors in use in the PEI Phase.\r | |
45 | ///\r | |
46 | typedef struct {\r | |
47 | //\r | |
48 | // The interrupt or exception vector that is in use and must be preserved.\r | |
49 | //\r | |
50 | UINT32 VectorNumber;\r | |
51 | //\r | |
52 | // A bitmask that describes the attributes ofthe interrupt or exception vector.\r | |
53 | //\r | |
54 | UINT32 Attribute;\r | |
55 | //\r | |
56 | // The GUID identifies the party who created the entry. For the \r | |
57 | // EFI_VECTOR_HANDOFF_DO_NOT_HOOK case, this establishes the single owner.\r | |
58 | //\r | |
59 | EFI_GUID Owner;\r | |
60 | } EFI_VECTOR_HANDOFF_INFO;\r | |
61 | \r | |
62 | ///\r | |
63 | /// Provides a description of the interrupt and/or exception vectors that\r | |
64 | /// were established in the SEC Phase and need to persist into PEI and DXE. \r | |
65 | ///\r | |
66 | typedef struct _EFI_PEI_VECTOR_HANDOFF_INFO_PPI {\r | |
67 | //\r | |
68 | // Pointer to an array of interrupt and /or exception vectors.\r | |
69 | //\r | |
70 | EFI_VECTOR_HANDOFF_INFO *Info;\r | |
71 | } EFI_PEI_VECTOR_HANDOFF_INFO_PPI;\r | |
72 | \r | |
73 | extern EFI_GUID gEfiVectorHandoffInfoPpiGuid;\r | |
74 | \r | |
75 | #endif\r |