]>
Commit | Line | Data |
---|---|---|
a0fa23aa MK |
1 | /** @file\r |
2 | Definition for a structure sharing information for CPU hot plug.\r | |
3 | \r | |
4 | Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>\r | |
5 | This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef _CPU_HOT_PLUG_DATA_H_\r | |
16 | #define _CPU_HOT_PLUG_DATA_H_\r | |
17 | \r | |
18 | #define CPU_HOT_PLUG_DATA_REVISION_1 0x00000001\r | |
19 | \r | |
20 | typedef struct {\r | |
21 | UINT32 Revision; // Used for version identification for this structure\r | |
22 | UINT32 ArrayLength; // The entries number of the following ApicId array and SmBase array\r | |
23 | //\r | |
24 | // Data required for SMBASE relocation\r | |
25 | //\r | |
26 | UINT64 *ApicId; // Pointer to ApicId array\r | |
27 | UINTN *SmBase; // Pointer to SmBase array\r | |
28 | UINT32 Reserved;\r | |
29 | UINT32 SmrrBase;\r | |
30 | UINT32 SmrrSize;\r | |
31 | } CPU_HOT_PLUG_DATA;\r | |
32 | \r | |
33 | #endif\r |