Skip to content

Commit

Permalink
UefiCpuPkg/CpuDxe: Add ApEntryPointInC
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jljusten2 authored and jljusten committed Nov 13, 2014
1 parent 6022e28 commit 1535c88
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions UefiCpuPkg/CpuDxe/CpuMp.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@
#include "CpuDxe.h"
#include "CpuMp.h"

/**
Application Processor C code entry point.
**/
VOID
EFIAPI
ApEntryPointInC (
VOID
)
{
}


/**
Initialize Multi-processor support.
Expand Down

0 comments on commit 1535c88

Please sign in to comment.