]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg: Fix PI Multi-processor PPI header file include issue
authorHao Wu <hao.a.wu@intel.com>
Fri, 15 May 2015 00:40:29 +0000 (00:40 +0000)
committerhwu1225 <hwu1225@Edk2>
Fri, 15 May 2015 00:40:29 +0000 (00:40 +0000)
commit0d24d7d68ba7565366f73b255b3ba41eb6ae7636
tree58974bce1b26f7bd1836e16ad50277c7c66cca97
parent1a03ab8ae27918f0e201d0eada453f8b65026857
MdePkg: Fix PI Multi-processor PPI header file include issue

Multi-processor PPI header file 'Ppi/Mpservices.h' uses a function
prototype EFI_AP_PROCEDURE which is defined in 'Pi/PiDxeCis.h' (DXE header
file).

This will cause a build fail when 'Ppi/Mpservices.h' is included in a PEI
module.

Since both phase support multi-processor service now, function prototype
EFI_AP_PROCEDURE should be moved to 'Pi/PiMultiPhase.h'. The move is a
compatible change and will not affect other codes.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17450 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Include/Pi/PiDxeCis.h
MdePkg/Include/Pi/PiMultiPhase.h