Please add function header as blew for all new functions introduced.

/**
   Brief and Detailed Descriptions.
 
   @param[in]      Arg1 Description of Arg1.
   @param[in]      Arg2 Description of Arg2, which is optional.
   @param[out]     Arg3 Description of Arg3.
   @param[in, out] Arg4 Description of Arg4.
 
   @retval EFI_SUCCESS   Description of what EFI_SUCCESS means.
   @retval !EFI_SUCCESS  Failure.
 
 **/

Thanks!
Jeff
-----Original Message-----
From: Chen Fan [mailto:[email protected]] 
Sent: Wednesday, September 10, 2014 6:22 PM
To: [email protected]
Cc: Jordan Justen; Fan, Jeff; Justen, Jordan L
Subject: [RFC v2 02/15] UefiCpuPkg/CpuDxe: Add ApEntryPointInC

From: Jordan Justen <[email protected]>

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 <[email protected]>
---
 UefiCpuPkg/CpuDxe/CpuMp.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/UefiCpuPkg/CpuDxe/CpuMp.c b/UefiCpuPkg/CpuDxe/CpuMp.c index 
f1dc1ac..53b2377 100644
--- a/UefiCpuPkg/CpuDxe/CpuMp.c
+++ b/UefiCpuPkg/CpuDxe/CpuMp.c
@@ -16,6 +16,15 @@
 #include "CpuMp.h"
 
 VOID
+EFIAPI
+ApEntryPointInC (
+  VOID
+  )
+{
+}
+
+
+VOID
 InitializeMpSupport (
   VOID
   )
--
1.9.3


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to