Home | History | Annotate | Download | only in Include
      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 This program and the accompanying materials
      6 are licensed and made available under the terms and conditions of the BSD License
      7 which accompanies this distribution.  The full text of the license may be found at
      8 http://opensource.org/licenses/bsd-license.php
      9 
     10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     12 
     13 **/
     14 
     15 #ifndef _CPU_HOT_PLUG_DATA_H_
     16 #define _CPU_HOT_PLUG_DATA_H_
     17 
     18 #define  CPU_HOT_PLUG_DATA_REVISION_1      0x00000001
     19 
     20 typedef struct {
     21   UINT32    Revision;          // Used for version identification for this structure
     22   UINT32    ArrayLength;       // The entries number of the following ApicId array and SmBase array
     23   //
     24   // Data required for SMBASE relocation
     25   //
     26   UINT64    *ApicId;           // Pointer to ApicId array
     27   UINTN     *SmBase;           // Pointer to SmBase array
     28   UINT32    Reserved;
     29   UINT32    SmrrBase;
     30   UINT32    SmrrSize;
     31 } CPU_HOT_PLUG_DATA;
     32 
     33 #endif
     34