mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-30 12:43:41 +01:00
28 lines
805 B
C
28 lines
805 B
C
|
/** @file
|
||
|
Definition for a structure sharing information for CPU hot plug.
|
||
|
|
||
|
Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
|
||
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||
|
|
||
|
**/
|
||
|
|
||
|
#ifndef _CPU_HOT_PLUG_DATA_H_
|
||
|
#define _CPU_HOT_PLUG_DATA_H_
|
||
|
|
||
|
#define CPU_HOT_PLUG_DATA_REVISION_1 0x00000001
|
||
|
|
||
|
typedef struct {
|
||
|
UINT32 Revision; // Used for version identification for this structure
|
||
|
UINT32 ArrayLength; // The entries number of the following ApicId array and SmBase array
|
||
|
//
|
||
|
// Data required for SMBASE relocation
|
||
|
//
|
||
|
UINT64 *ApicId; // Pointer to ApicId array
|
||
|
UINTN *SmBase; // Pointer to SmBase array
|
||
|
UINT32 Reserved;
|
||
|
UINT32 SmrrBase;
|
||
|
UINT32 SmrrSize;
|
||
|
} CPU_HOT_PLUG_DATA;
|
||
|
|
||
|
#endif
|