From 1535c888c6f06bb35881e83cd7ee49fb8554942b Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Thu, 13 Nov 2014 18:24:43 +0000 Subject: [PATCH] UefiCpuPkg/CpuDxe: Add ApEntryPointInC This is the function the AP assembly code will expect to call after getting a lock and setting up the stack. Only one AP will enter this routine at a time. If ApEntryPointInC exits, then the assembly code will loop around to grab the lock, setup the stack, and call ApEntryPointInC again. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen Reviewed-by: Jeff Fan git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16346 6f19259b-4bc3-4df7-8a09-765794883524 --- UefiCpuPkg/CpuDxe/CpuMp.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/UefiCpuPkg/CpuDxe/CpuMp.c b/UefiCpuPkg/CpuDxe/CpuMp.c index c8189bccac..aa564c1f93 100644 --- a/UefiCpuPkg/CpuDxe/CpuMp.c +++ b/UefiCpuPkg/CpuDxe/CpuMp.c @@ -15,6 +15,19 @@ #include "CpuDxe.h" #include "CpuMp.h" +/** + Application Processor C code entry point. + +**/ +VOID +EFIAPI +ApEntryPointInC ( + VOID + ) +{ +} + + /** Initialize Multi-processor support. -- 2.39.2