1 /** @file 2 3 Copyright (c) 2016, AMD Inc. All rights reserved.<BR> 4 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 _AMD_MP_BOOT_H_ 16 #define _AMD_MP_BOOT_H_ 17 18 extern EFI_GUID gAmdMpBootProtocolGuid; 19 20 typedef 21 VOID 22 (EFIAPI *PARK_SECONDARY_CORE) ( 23 IN ARM_CORE_INFO *ArmCoreInfo, 24 IN EFI_PHYSICAL_ADDRESS SecondaryEntry 25 ); 26 27 typedef struct _AMD_MP_BOOT_INFO { 28 EFI_PHYSICAL_ADDRESS MpParkingBase; 29 UINTN MpParkingSize; 30 ARM_CORE_INFO *ArmCoreInfoTable; 31 UINTN ArmCoreCount; 32 } AMD_MP_BOOT_INFO; 33 34 typedef struct _AMD_MP_BOOT_PROTOCOL { 35 PARK_SECONDARY_CORE ParkSecondaryCore; 36 AMD_MP_BOOT_INFO *MpBootInfo; 37 } AMD_MP_BOOT_PROTOCOL; 38 39 #endif // _AMD_MP_BOOT_H_ 40