The processor jumps to this code in flat mode, but the processor's\r
stack is not initialized.\r
\r
- @param ApEntryPoint Pointer to the Entry Point routine\r
-\r
@retval EFI_SUCCESS The APs were started\r
- @retval EFI_OUT_OF_RESOURCES Cannot allocate memory to start APs\r
\r
**/\r
EFI_STATUS\r
StartApsStackless (\r
- IN STACKLESS_AP_ENTRY_POINT ApEntryPoint\r
+ VOID\r
);\r
\r
/**\r
IN CPU_DATA_BLOCK *CpuData\r
);\r
\r
+/**\r
+ Prepares Startup Code for APs.\r
+ This function prepares Startup Code for APs.\r
+\r
+ @retval EFI_SUCCESS The APs were started\r
+ @retval EFI_OUT_OF_RESOURCES Cannot allocate memory to start APs\r
+\r
+**/\r
+EFI_STATUS\r
+PrepareAPStartupCode (\r
+ VOID\r
+ );\r
+\r
+/**\r
+ Free the code buffer of startup AP.\r
+\r
+**/\r
+VOID\r
+FreeApStartupCode (\r
+ VOID\r
+ );\r
+\r
#endif // _CPU_MP_H_\r
\r