| 1 | /** @file |
| 2 | Definition for a structure sharing information for CPU hot plug. |
| 3 | |
| 4 | Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR> |
| 5 | SPDX-License-Identifier: BSD-2-Clause-Patent |
| 6 | |
| 7 | **/ |
| 8 | |
| 9 | #ifndef _CPU_HOT_PLUG_DATA_H_ |
| 10 | #define _CPU_HOT_PLUG_DATA_H_ |
| 11 | |
| 12 | #define CPU_HOT_PLUG_DATA_REVISION_1 0x00000001 |
| 13 | |
| 14 | typedef struct { |
| 15 | UINT32 Revision; // Used for version identification for this structure |
| 16 | UINT32 ArrayLength; // The entries number of the following ApicId array and SmBase array |
| 17 | // |
| 18 | // Data required for SMBASE relocation |
| 19 | // |
| 20 | UINT64 *ApicId; // Pointer to ApicId array |
| 21 | UINTN *SmBase; // Pointer to SmBase array |
| 22 | UINT32 Reserved; |
| 23 | UINT32 SmrrBase; |
| 24 | UINT32 SmrrSize; |
| 25 | } CPU_HOT_PLUG_DATA; |
| 26 | |
| 27 | #endif |