Revision: 18838
          http://sourceforge.net/p/edk2/code/18838
Author:   vanjeff
Date:     2015-11-17 05:02:24 +0000 (Tue, 17 Nov 2015)
Log Message:
-----------
UefiCpuPkg: Add CPU Hot Plug Data include file

Add CpuHotPlugData.h that defines a data structure that is shared between
modules and is required for to support hot plug CPUs.

(Sync patch r18643 from main trunk.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <[email protected]>
Reviewed-by: Jeff Fan <[email protected]>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/18643

Added Paths:
-----------
    branches/UDK2015/UefiCpuPkg/Include/CpuHotPlugData.h

Added: branches/UDK2015/UefiCpuPkg/Include/CpuHotPlugData.h
===================================================================
--- branches/UDK2015/UefiCpuPkg/Include/CpuHotPlugData.h                        
        (rev 0)
+++ branches/UDK2015/UefiCpuPkg/Include/CpuHotPlugData.h        2015-11-17 
05:02:24 UTC (rev 18838)
@@ -0,0 +1,33 @@
+/** @file
+Definition for a structure sharing information for CPU hot plug.
+
+Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
+This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD 
License
+which accompanies this distribution.  The full text of the license may be 
found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#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


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to