]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/CpuDxe/CpuMp.c
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)
commit1535c888c6f06bb35881e83cd7ee49fb8554942b
treed836137696933d4b09c2340d36364cb429a384c4
parent6022e28cf744a885c278dad256d50670741ea123
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 <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