]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg/CpuDxe: Add ApEntryPointInC
authorJordan Justen <jordan.l.justen@intel.com>
Thu, 13 Nov 2014 18:24:43 +0000 (18:24 +0000)
committerjljusten <jljusten@Edk2>
Thu, 13 Nov 2014 18:24:43 +0000 (18:24 +0000)
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 <jordan.l.justen@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16346 6f19259b-4bc3-4df7-8a09-765794883524

UefiCpuPkg/CpuDxe/CpuMp.c

index c8189bccac6537660039199002f718c3ac7e43fc..aa564c1f93cdaebf00c78bd39510855f78c49dd6 100644 (file)
 #include "CpuDxe.h"\r
 #include "CpuMp.h"\r
 \r
 #include "CpuDxe.h"\r
 #include "CpuMp.h"\r
 \r
+/**\r
+  Application Processor C code entry point.\r
+\r
+**/\r
+VOID\r
+EFIAPI\r
+ApEntryPointInC (\r
+  VOID\r
+  )\r
+{\r
+}\r
+\r
+\r
 /**\r
   Initialize Multi-processor support.\r
 \r
 /**\r
   Initialize Multi-processor support.\r
 \r